NOTE: This tutorial has been featured by Microsoft. AskVG.com was the first website posting this unique trick.
In Windows, if we right-click on CD/DVD drives, we get an option to "Eject" the tray but we don't get option to "Insert" the tray. In this tutorial, I'll tell you a trick to add "Insert" optionĀ in CD/DVD drives context menu.

Here is the step-by-step procedure:
1.) Download following zip file, extract it and copy the DLL file to "%windir%\System32" folder:
2.) Now run the .REG file present in the ZIP file and accept the confirmation.
That's it. Now you'll get an extra option "Insert" in CD/DVD drives context menu, which will make the life easier and you'll not have to press the insert buttonĀ at your CD/DVD drive each time.
This article was posted by VG in following section: Windows XP.
If you enjoyed this article, you can subscribe to our RSS feed or free newsletter to get all new articles directly in your Inbox. Also check out our most popular articles and archive to read other interesting articles. If you have some news or tip to share, please send us.
AJ
@Soulfinger: Yes, it worked for me. Here is what I did:
1. I did NOT execute the eject code that SpanishCrack included. This is because Vista already includes the Eject feature, so it was pointless.
2. Before copying the nircmd file into c:\windows\system32, I right clicked on the file and then went to the Properties. I then clicked "Unblock" to ensure I wouldn't have any problems.
A few things:
1. I did not have to reboot for this.
2. I did not use the associations control panel for this.
Soulfinger
Thanks for the reply AJ. I don't need to Unblock turned of that annoying vista feature early on.
I have went to to the registry (type "regedit" from run) and found the enties regarding the eject and load and changed them to the destaination of nircmd now when i click eject on the DVD rom a dos screen flashes up for a second and nothing happens? Any Idea?
AJ
@Soulfinger: Where is nircmd on your computer? Make sure it is at c:\windows\system32 so you don't have to specify a path in the registry - you can just type "nircmd.exe ..."
Also, try this:
1. Copy nircmd to c:\windows\system32
2. From a DOS prompt, go to c:\windows\system32 and then type:
nircmd.exe cdrom open d:
and see if it opens. If it doesn't open from here, then you will need to figure out why the program isn't working on your computer and then troubleshoot why the shortcut through the registry doesn't work.
Note that you don't need to add the Eject code because Vista already includes the Eject option. So, just add the Insert command.
Soulfinger
@AJ It's in the right place. I typed nircmd.exe cdrom open f from run and it opened my drive
making progress.
Did you use the original registry entry? and not SpanishCrack one?
AJ
Ok, so nircmd is correctly working on your computer - that's good.
No, I did not use VG's approach because I use Vista x64 which isn't compatible with VG's approach. I adapted SpanishCrack's approach. Here is an export of the registry entry I used:
=======================================
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell\loadtray]
@="Load Tray"
[HKEY_CLASSES_ROOT\Drive\shell\loadtray\command]
@="nircmd.exe cdrom close %L"
=======================================
Can you export the new registry branch you added and paste it here so we can take a look.
Soulfinger
I made a new registry.reg file that you mentioned but get the same Dos screen flash when i try to open or load a drive.
The thing is i already added Spanishcrack's one when the post arrived meaning i cant open the drive "Eject" as normal maybe i need to get that vista feature back to normal to then add your reg entry?
VG
Since I have not used this "nircmd" method, so I'll not discuss much about it. But I just want to share one thing, when you copy the registry code in notepad, delete the double-quotes manually and then re-type them. The blog theme doesnt show the double-quotes properly and it can cause problem. So it might be the reason behind your flashing DOS screen. :)
Soulfinger
(Update) the registry entry i added at the begining was spanishCrack's one
Soulfinger
I deleted them and retyped them still no joy!
Soulfinger
@ AJ cheers for helping with this. could you possible check your registry entry (type regedit in run) and goto
[HKEY_CLASSES_ROOT\Drive\shell\loadtray\command]
And see if under the Data colum it says C:\Windows\System32\nircmdc
It's goto be something with the registry?