Wednesday, August 13, 2008

Disable Execution of AUTORUN.INF

Besides the ways that one can disable AutoPlay feature in Windows XP:


1.Registry Hack:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000ff


2.Group Policy Edit:

Run\gpedit.msc >>Computer Configuration\Adminitrative Templates\System >> Turn off Autoplay >> Properties >> Enabled >> All Drives

3.Using TweakUI:

TweakUI.exe>>My Computer\AutoPlay\Types>>[Uncheck Boxes]


*************************************************************************************


You can also wholly disable all autorun.inf files from execution:

(No CD/DVD & Removable Drives show Autoplay context menu for the drive, nor they run it by themselves)


*Registry Hack:


REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"


Note: To use the registry hack,  copy all of the blue text above in a file with .reg extension (e.g. NoAutorun.inf.reg) and run it.


(the last method credited to: Raymond [I edited the begining and the ending quotes to the correct ones])

No comments: