Thursday, February 26, 2009

How to disable Autorun?

Autorun is component feature by Microsoft Windows that dictate the action to execute automatically when the drive i.e. USB drive, CD, DVD etc. is mounted.

Autorun Attack is one of the most dangerous security threat and most listed in anti-malwares statistics.

How to disable ALL type of Autorun through Windows registry ?

Change the DWORD decimal value to 255 :

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDriveTypeAutoRun]

Create a NoAutorun.reg using Notepad and execute it to import into your registry:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
“NoDriveTypeAutoRun”=decimal:255"

How to disable CDROM Autorun through Windows registry ?

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom

Change the DWORD decimal value to “0” :

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom\Autorun]

Create a NoCDAutorun.reg using Notepad and execute it to import into your registry:

REGEDIT4

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]
“AutoRun”=decimal:0"

2 comments:

diamondfargo said...

To disable autorun.inf and autoplay just run disable.reg and add key to the registry.
Download disable.reg here: http://uploading.com/files/VXNCGZ34/disable.reg.html

:: 吖十のk2 :: said...

diamond, tried to download the file but it seem always full quota for my country. Anyway, I think it would be another method that add this registry key into Registry. Cheers.