Showing posts with label Registry. Show all posts
Showing posts with label Registry. Show all posts

Sunday, November 14, 2010

How to Disable Autorun 2 for XP

Last Post : How to Disable Autorun, here’s the updated one.

Create a NoAutorun.reg by adding the following keys using Notepad and execute it to import into your registry:

To disable to AutoRun for all Drives

REGEDIT 4

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

To disable & block the execution of Autorun.inf

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

To remove the cache of all mounted drives

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2]

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"