Customizing XP 'Autorun' & 'My Computer'

Status
Not open for further replies.

adit_sen

In the zone
Hi all...

Now when a CD/DVD/Media is inserted in winXP, a autorun pop's up. I want to know how to add my custom application in that autorun menu. Say for example, when I insert a DVD, I get options to play with WMP and so on. How do I add my own application there, say Media Player Classic? Or anything else for that matter? I'm sure it can be done via some registry hack, as some program installations do add themeselves into the autorun.

Another thing, in My Computer, certain programs such as like messenger add their custom links within my computer, for eg, 'My Shared Folders'. How to I add / remove links from there?

Cheers
Aditya
 

blueshift

Wise Old Crow
1. Use TweakUI for adding the application name.
2. Use XP Context tools to add menu to 'My Computer'
or in Registry editor,
goto HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\, You can add or remove items under it.
 

serendipiti

Journeyman
U cud use aprogram called Autoplay Repair which does a fantastic job of managing autoplay entries as well.
*www-stud.uni-essen.de/~sddabacz/files/Install_APR.exe
 

Vishal Gupta

Microsoft MVP
1.) Its a 2 step task:

a.) First u'll hv to add ur application.
b.) Then u'll hv to register it.

a.) Copy/paste following code in notepad and save the file with .REG extension and then run it:

Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Classes\My_AutoPlay_CustomHandler1\shell\open]
@="Play CD"
 
[HKEY_LOCAL_MACHINE\Software\Classes\My_AutoPlay_CustomHandler1\shell\open\command]
@="\"C:\\Program Files\\Winamp\\Winamp.exe %1\""
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\My_AutoPlay_CustomHandler1]
"Action"="Play CD"
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\My_AutoPlay_CustomHandler1]
"Provider"="Winamp"
 
[HKEY_LOCAL_MACHINE\Software\Classes\My_AutoPlay_CustomHandler1\shell\open\command]
@="\"C:\\Program Files\\Winamp\\Winamp.exe %1\""
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\My_CustomHandler1]
"DefaultIcon"="\"C:\\Program Files\\Winamp\\Winamp.exe,0\""
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\My_AutoPlay_CustomHandler1]
"InvokeProgID"="My_AutoPlay_CustomHandler1"
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\My_CustomHandler1]
"InvokeVerb"="open"
It'll add the application, u can change the path to ur desired one. :)

2.) Now to register the application, again Copy/paste following code in notepad and save the file with .REG extension and then run it:

Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\EventHandlers\PlayCDAudioOnArrival]
"My_AutoPlay_CustomHandler1"=""
U can do the same for "Music, Pictures, DVD, etc" section, which u'll get under the same key!

PS: U can add other applications in the same manner, just change the "My_AutoPlay_CustomHandler1" to something else, like "My_AutoPlay_CustomHandler2" or nething else. also change the action, provider, path, etc.

2.) For adding the desired folder into My Computer, u hv to register the CLASSID into Regitry. Just tell me the name and path of ur desired folder and i'll post the code :)
 
OP
adit_sen

adit_sen

In the zone
Thanks for all the replies. I must say TweakUI has gotten most of my work done for me. I've managed to add/remove autorun features with just a click of a button. I had also wanted to get rid of some of the application folders that pop up in my computer after a program installation, such as Live Messenger & Nero Scout. That too has been taken care of by TweakUI. Now the only problem is I could remove these from My Computer but not add new ones.

@Vishal Gupta: Insted of me giving you the path for each folder, if you could teach me (and everyone else reading this) how to add these folders, it'll be very helpful.

Cheers
Aditya
 

Vishal Gupta

Microsoft MVP
Its a long process, thats why I asked u to give me the name.

But now I searched and found this nice tutorial for creating customized folders in My computer:

Add Custom Folder to My Computer or the Desktop
 
Status
Not open for further replies.
Top Bottom