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:

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: zip cdeject.zip (35.6 KB, 260 views)
SoftwareDeveloper, iot, CreativeTechnologist, MobileDev. Love building stuffs