The Windows Club

Eject or close CD/DVD Tray using Hotkey, Shortcut or Freeware

While there is a button on CD/DVD tray to let you eject DVD or CD, many people prefer using keyboard or a simple click to eject the DVD. This may be because sometimes it is an inconvenience as the DVD door may not be on front and using the button might involve searching for the button. And then at times the physical button just may not work properly. Moreover, being able to control DVD tray using keyboard or mouse is faster.

Eject or close CD/DVD Tray

Some people a create custom VBScripts for a sequence of tasks. Calling a third party enables such people to eject DVD/CD tray without performing any manual task. Whatever be your reason, check out the following ways to eject DVD or close it using keyboard or mouse.

Using Door Control to open DVD Tray

Door Control is lightweight freeware that allows you to eject the DVD door/tray using a simple mouse click. When you install Door Control, you get an icon in the Windows System Tray. Whenever you wish to eject the DVD tray, simply click on the icon.

You can also configure hotkeys using Door Control if you prefer the keyboard over mouse. You can have both mouse and hotkeys. If you are using a mouse you can click the System Tray icon.When on keyboard gaming or doing anything else, you can simply press the hotkey.

To set up the hotkeys, right click on the Door Control icon. It will open a small window containing three keys: F11, Home, and F8 keys. You just need to select one of them and click OK, as shown in the image above. Once set, you can use it any time you wish. Just make sure you have selected the option to start Door Control with Windows. The software works well all versions of Windows, including Windows 10. You can download Door Control from the Digola website.

WinEject to eject or close DVD tray using Hotkeys and Mouse

Though WinEject claims to close DVD drive tray, I could not get it to work for closing the tray. It does eject DVD using keyboard and mouse click. The third party software works the same way as the above one. It ejects the DVD tray when you click its icon in the Windows System Tray. The application site says it also closes the door – both manually and automatically, but I could not get this function working on my computer.

You can also set up Hotkeys to use for opening the DVD door. Unlike Door Control that gives you option of selected keys only, you can select any hotkey of your choice in WinEject.

Open the Settings by right clicking on the System Tray icon of WinEject and then go to Hotkeys tab. There, place the cursor in the hotkey selection textbox, and press the key combination you wish to use for ejecting the DVD. Then click OK and close the Settings dialog. After setting up the Hotkey, you can use it to open the door. You can also set up auto close CD door under Settings -> General. You just have to specify the number of seconds to wait before the door auto closes. Download WinEject here.

NirCmd can add Open & Close CD/DVD Tray to Context Menu

You can use the NirCmd.exe program from Nirsoft for a number of tasks, including opening and closing the DVD tray/door. You will have to run a command line command each time you wish to open or close the CD door.

A better method is to download NirSoft NirCmd.exe and copy it to the Windows folder. Then create a shortcut that you can double click to run the commands. You can create a shortcut to eject DVD tray and a shortcut to close DVD door. To create a shortcut:

  1. Right click on the desktop
  2. Select New -> Shortcut
  3. In the text box that appears, type: C:\Windows\nircmd.exe cdrom open <CD drive letter:> and click Next. For instance, if your DVD is drive H, you will have to type C:\Windows\NirCmd.exe cdrom open H: and click Next
  4. Give a name to the shortcut and click OK to close the shortcut wizard
  5. Whenever you feel like opening the DVD door, press Windows Key + D to minimize all windows and then double click on the shortcut you created on the desktop

You can also create a shortcut to close the DVD door. The method is same as above. Just use cdrom close in the command line highlighted in step 3. You can download NirCmd.exe from the NirSoft website.

Wizmo, FGS CD Open Close and EjectCD are some other basic tools that will create a Open or Close shortcuts on your desktop for your CD/DVD Tray.

See this post if your Optical drive tray will not open. It offers tips on how to open a stuck CD, DVD, Optical Drive Tray of your computer, including using a third-party tool called Tray Control.