Here's a simple fix, which will work for Vista, WinXP, etc.: Create a text file and paste the following:
REGEDIT4Save this as "noautorun.reg" or something similar, and then double-click to run it. Make sure that everything inside the square brackets [] is on a single line. This will stop your machine automatically running code when you insert a removable drive, CD, etc.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000ff
"DontSetAutoplayCheckbox"=dword:00000001
"NoAutorun"=dword:00000001
"HonorAutorunSetting"=dword:00000001
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000ff
"DontSetAutoplayCheckbox"=dword:00000001
"NoAutorun"=dword:00000001
"HonorAutorunSetting"=dword:00000001
REGEDIT4
ReplyDelete[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"
That's a bit extreme, because you are disabling the ability of the user to manually do an autorun.
ReplyDeleteSee this blog entry