4
2
How to disable AutoRun for Windows XP Home by editing the registry?
4
2
How to disable AutoRun for Windows XP Home by editing the registry?
6
Open Notepad and copy/paste the following code:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"
Save the file as DisableAutorun.reg. (You have to be sure to change the "Save File as Type" to "All Files" before saving, or Windows will try to save it as a .txt even if you typed in .reg).
Locate the file you just saved and double-click the file to run it. You will receive a prompt asking if you want to add the data to the registry. Click yes to allow the modification.
The above method nulls any request for autorun.inf and works on XP Home or Pro, as well as Windows Vista/7.
Note: If you opt to disable autorun using any other method (e.g. the method John T. suggested), you will first need to install an autorun patch from Microsoft that allegedly resolves issues that cause autorun to run even after it's been disabled.
4As a side note: Pressing down your left shift key while inserting a media will supress autorun. – artifex – 2010-01-08T14:04:47.917
2
To Disable autorun on all devices:
Install this patch from Microsoft.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\NoDriveTypeAutorun
2
One can also grab TweakUI and use it to disable autorun on drives individually.
(By the way, it's got lots of other cool tweaking powers.)
0
There are different parts in the registry which can contain autorun entries.
I think your best bet is using a tool created for that task.
I can recommend Sysinternals Autoruns for that.
Once you started that and have the list of autorun entries, you can right click any specific one and "jump to entry", it will open regedit for you and navigate to the appropriate key.
1fretje, i think the question is rather about the Autorun feature in Windows for removable media, not autostart entries for programs/services/drivers. – None – 2010-01-08T12:00:13.657
@Molly: Well, that's definitely possible (actually realized that myself after posting), but not really clear from the question. I think the OP should clarify. – fretje – 2010-01-08T12:44:06.543
Related (and not duplicate): Disable Autoplay on Windows XP Home Edition
– galacticninja – 2016-07-28T08:37:01.367