To disable Autorun yourself on operating systems that do not include Gpedit.msc, follow these steps:
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate and then click the following entry in the registry:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer\NoDriveTypeAutorun
- Right-click NoDriveTypeAutoRun, and then click Modify.
- In the Value data box, type 0xFF to disable all types of drives. Or, to selectively disable specific drives, use a different value as described in the "How to selectively disable specific Autorun features" section.
- Click OK, and then exit Registry Editor.
- Restart the computer.
The following table shows the settings for the NoDriveTypeAutoRun registry entry.
Value | Meaning |
0x1 or 0x80 | Disables AutoRun on drives of unknown type |
0x4 | Disables AutoRun on removable drives |
0x8 | Disables AutoRun on fixed drives |
0x10 | Disables AutoRun on network drives |
0x20 | Disables AutoRun on CD-ROM drives |
0x40 | Disables AutoRun on RAM disks |
0xFF | Disables AutoRun on all kinds of drives |