skip navigation

www.Hilands.com


Content:: Windows - Disable Autorun

regedit
Disable Windows Autorun - Open Registry Editor

Windows checks the file autorun.inf for data on what program to execute when a device is plugged in. This has been common for the Cdrom autoplay feature for years. Through the popularity of USB Thumb Drives malicious software has targeted the autorun features of this removable media type. Not only can the autorun feature be a nuisance but it can also be malicious.

This article will describe how to disable the Cdrom autorun features with all local users on your computer. It will also show you how to disable autorun features for the current user. Run the command regedit from start > run

AutoRun DWORD
Cdrom Autorun

Inside the registry editor find the Cdrom autorun REG_DWORD under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom

AutoRun DWORD Value
Change the Value data to 0 in the Edit DWORD Value window.

Set NoDriveTypeAutoRun to 0
Disable Autorun on All Drives (Per User)

Inside the registry editor find the NoDriveTypeAutoRun REG_DWORD under
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Edit DWORD Value
Change the Value data to ff in the Edit DWORD Value window.
Other Settings
ValueMeaning
0x1 or 0x80Disables AutoRun on drives of unknown type
0x4Disables AutoRun on removable drives
0x8Disables AutoRun on fixed drives
0x10Disables AutoRun on network drives
0x20Disables AutoRun on CD-ROM drives
0x40Disables AutoRun on RAM disks
0xFFDisables AutoRun on all kinds of drives

References :
http://support.microsoft.com/kb/895108
http://support.microsoft.com/kb/967715
Last Modified: 2011-01-27