With time, CD/DVD rom’s /writer’s tray gets worn out and they stop opening smoothly. Sometimes it so happens that you need to urgently load/unload a CD/DVD and the tray simply refuses to come out. So what to do in that case? See the solution below.
Most of the CD/DVD roms/writers have a pin hole on the front panel, as shown in the image below. So if the tray is not opening, simply use an all pin (or a safety pin). Press the eject button and insert the pin in the pin hole and gently push it. This makes the tray to come out.
Please Note: This is only a temporary solution to use in case of urgency. For a reliable service, get the CD/DVD rom repaired or replaced.