Sunday, September 7, 2008

Add an Insert option in your CD drive

We have always noticed that when a cd is in the cd drive an Eject option pops out when we right click on the CD Drive icon.It would have been great if Microsoft had provided us with an Insert option so we can directly insert the cd without pressing the button.But we can ourself add an Insert option using registry and some dll tweaks.Dont be scared,you can also peform this stunt even if your no knowledge of working with Windows Registry.Just follow these simple steps and have fun.
  • Download this file cdeject.zip,extract it and paste it in "%windir%\System32".
  • Copy the following code in notepad.

Windows Registry Editor Version 5.00

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

[HKEY_CLASSES_ROOT\CLSID\{02A07E80-EFA2-11D4-8306-A7EBD4C50C7C}\InprocServer32]
@="C:\\WINDOWS\\system32\\cdeject.dll"
"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\Drive\shellex\ContextMenuHandlers\{02a07e80-efa2-11d4-8306-a7ebd4c50c7c}]
@="{02a07e80-efa2-11d4-8306-a7ebd4c50c7c}"

  • Save the file with the name insert.reg.
  • Close notepad.
  • Now double click on insert.reg
  • It will ask your permission,grant it.
Now right click on your CD Drive,you should have the insert option there.

You can also directly download this insert.reg file to ease your process.
This trick will only work in Windows xP but Vista users may try this.

References
Tweaking with vishal
Digit forums and magazine

0 comments:

 
Copyright 2009 Droftware