skip navigation

Content:: Windows - Disable Autorun

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

Cdrom Autorun

Inside the registry editor find the Cdrom autorun REG_DWORD under

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

Edit DWORD Value
Change the Value data to ff in the Edit DWORD Value window.
Other Settings
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 :
Last Modified: 2011-01-27