How to Add "Eject/Close CD/DVD Tray" to the Context Menu in Windows
Information
This will show you how to add Eject/Close CD/DVD Tray to the desktop context menu in Windows 7 and Vista.
When used by a user, it will toggle the default CD/DVD drive's tray to eject (open) or close.
Note
You must be logged in as an administrator to be able to add this to the desktop context menu, but all users on the computer will be able to use it after it has been added.
If you need this to work for a specific CD/DVD drive letter instead, then please post and let me know. I'll be happy to modify the .bat and .reg files below for the drive letter you wanted instead.
EXAMPLE: "Eject/Close CD/DVD Tray" added to Desktop Context Menu
Here's How:
1. Do either step 2 or 3 below for what you would like to do.
2. To Add "Eject/Close CD/DVD Tray" to Context Menu
A) Download the 32-bit or 64-bit version of NirCmd that is the same as your 32-bit or 64-bit Windows at the bottom of the website below, and save the ZIP file to your desktop.
E) Move both the unblocked nircmd.exe file and unblocked .bat file into your C:\Windows\System32 folder, and approve (Continue-Yes).
F) Click on the Download button below to download the .reg file below, and save the .reg file to your desktop.
Add_Eject-Close_CD-DVD_Tray_to_Context_Menu.reg
G) Double click on the REG file to merge it, then click on Run, Yes (UAC-Windows 7) or Continue (UAC-Vista), Yes, and OK when prompted to approve the merge.
3. To Remove "Eject/Close CD/DVD Tray" from Context Menu
A) Click on the Download button below to download the file below.
Getting to the "Open/Close" tray button is an awkward manoeuvre in my set up, but dropping in the disc is easy enough, so this is great, thanks for the work.
System Manufacturer/Model Number Medion MS-7728 OS Dual Boot, Win7 Home Pre64bit, Win 8 Pre, CPU i7-26600 CPU @ 3.40GHz Memory 8.00GB Graphics Card NVIDIA GeForce GT545 Monitor(s) Displays Dell U2312HM DVI Screen Resolution 1920X1080
Keyboard Standard PS/2 Mouse HID Compliant Hard Drives 1396 GB
Brink...you've helped me before, so I had faith to try this. This is about the 4th "close tray" app I've tried, none work, incl this one. Using Windows 7/64 Home Prem, 2 LG CD/DVD reader/burners.
Everything seemed to go smoothly. D/L Nircmd-64.zip, came with 3 files, I pulled out nircmd.exe. Put it and .bat (both unlocked) in Sys32. Ran the REG file, did a restart.
But nothing added to context menu. Zip! I'm beginning to suspect the LGs, that's the only common thread to the all these "close tray" apps that don't work.
The REG file is what adds Eject/Close CD/DVD Tray to the context menu of the desktop. When you right click on the desktop and click on Eject/Close CD/DVD Tray, it runs the BAT file that has a command that runs using the nircmd.exe file.
What happens when you merge the REG file? Are you getting prompted to click on Run, Yes (UAC-Windows 7), Yes, and OK after merging it? You might also see if right clicking on the REG file and clicking on Merge will work to see if there may be a issue with your reg file associations.
Brink......whoops, my bad. The entry is on the DESKTOP context menu, not the drive's context menu! So it works.
I have two CD/DVD trays. The entry appears to be controlling my D: drive correctly. Drive E: is apparently not being controlled at all, but I can live with that. Thnx.
OS Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1 CPU Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz Motherboard ASUSTeK Computer INC. P8Z68-V PRO Memory 16.00 GB Graphics Card (1) Intel(R) HD Graphics Family (2) AMD Radeon HD 6900 Se Sound Card (1) AMD High Definition Audio Device (2) Webcam 250 (3) Screen Resolution 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz
PSU Corsair HX 650 Hard Drives (1) M4-CT064M4SSD2 ATA Device (2) M4-CT128M4SSD2 ATA Device (3) SAMSUNG HD103SJ ATA Device (4) WDC WD20EARX-00PASB0 ATA Device (5) WDC WD20EARX-00PASB0 ATA Device (6) WDC WD20 EARS-00MVWB0 SCSI Disk Device (7) Generic USB CF Reader USB De
OS Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1 CPU Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz Motherboard ASUSTeK Computer INC. P8Z68-V PRO Memory 16.00 GB Graphics Card (1) Intel(R) HD Graphics Family (2) AMD Radeon HD 6900 Se Sound Card (1) AMD High Definition Audio Device (2) Webcam 250 (3) Screen Resolution 1920 x 1080 x 32 bits (4294967296 colors) @ 60 Hz
PSU Corsair HX 650 Hard Drives (1) M4-CT064M4SSD2 ATA Device (2) M4-CT128M4SSD2 ATA Device (3) SAMSUNG HD103SJ ATA Device (4) WDC WD20EARX-00PASB0 ATA Device (5) WDC WD20EARX-00PASB0 ATA Device (6) WDC WD20 EARS-00MVWB0 SCSI Disk Device (7) Generic USB CF Reader USB De