Tricks and Tips

Add "INSERT" Option in CD Drive Context Menu !

by
published on
So guys!

Finally I got it working.
After a few minutes of R&D, I got an option "Insert" in my CD Drive context menu to close the open tray


What I did, I had a setup of a little utility on my HDD since ages, actually I got the utility from a CHIP CD (I think?). This utility just sits in the system try and lets u open/close the tray.

I just installed it bcoz some1 requested me to find out some way to add close cd option in the CD Drive context menu.


Then after some R&D, I got that a file cdeject.dll is installed by it and causes the open/close operation.

So I just copied the DLL file and then uninstalled the s/w. Now the Insert option was not available in CD drive context menu. And thats what I wanted!

Now I copied the DLL file to System32 folder, and added its entry in Registry.

And VOILLA, I got the Insert option back.....


So here is the step-by-step procedure:

1.) D/l the attached file, extract it and copy the DLL file to "%windir%System32" folder.
2.) Copy following code in notepad:

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOTCLSID{02A07E80-EFA2-11D4-8306-A7EBD4C50C7C}]
@="CDEject Context Menu Shell Extension"

[HKEY_CLASSES_ROOTCLSID{02A07E80-EFA2-11D4-8306-A7EBD4C50C7C}InprocServer32]
@="C:WINDOWSsystem32cdeject.dll"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOTDriveshellexContextMenuHandlers{02a07e80-efa2-11d4-8306-a7ebd4c50c7c}]
@="{02a07e80-efa2-11d4-8306-a7ebd4c50c7c}"
3.) Save the file with any name but the extension must be .REG
4.) Now run the file, it'll ask ur permission, accept it.
5.) Now u'll get an Insert option in the CD Drive context menu.
Attached Files
File Type: zipcdeject.zip (35.6 KB, 260 views)