NoDriveTypeAutoRun

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Data type

Range

Default value

REG_DWORD

0x0–0xFF

0x95

Description

Disables the Autoplay feature on all drives of the type specified.

Autoplay begins reading from a drive as soon as media is inserted in the drive. As a result, the setup file of a program or the sound on audio media starts immediately.

This entry stores the setting of the Disable Autoplay Group Policy. Group Policy adds this entry to the registry when you enable the policy. If you disable the policy or set it to Not configured, Group Policy deletes this entry from the registry, and the system behaves as though the value is 0x95.

This entry is a bitmapped value. To disable Autoplay on a particular type of drive, set the bit representing that type of drive to 1. To disable more than one type of drive, either set the bits representing each type to 1 or sum the hexadecimal values of the representative bits.

Value

Meaning

0x1

Disables Autoplay on drives of unknown type.

0x4

Disables Autoplay on removable drives.

0x8

Disables Autoplay on fixed drives.

0x10

Disables Autoplay on network drives.

0x20

Disables Autoplay on CD-ROM drives.

0x40

Disables Autoplay on RAM drives.

0x80

Disables Autoplay on drives of unknown type.

0xFF

Disables Autoplay on all types of drives.

By default, Autoplay is disabled on network drives and on removable drives, such as the floppy disk drive (but not the CD-ROM drive). The default value 0x95 (149) is the sum of 0x1 (unknown types), 0x80 (unknown types), 0x4 (floppy drives), and 0x10 (network drives).

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Disable Autoplay Group Policy (User Configuration\Administrative Templates\System).

Note Image Note

Autoplay is triggered by a Media Change Notification (MCN) message from the CD-ROM driver. If the Windows 2000 interface does not receive this message, Autoplay does not operate, regardless of the value of this entry. Entries that suppress the MCN message, such as Autorun and AutorunAlwaysDisable also disable Autoplay.

Autoplay is disabled on any drive if the value of NoDriveAutoRun (in HKLM or HKCU) or NoDriveTypeAutoRun (in HKLM or HKCU) is set to disable it. But if NoDriveAutoRun or NoDriveTypeAutoRun appear in HKEY_LOCAL_MACHINE, the corresponding entries in HKEY_CURRENT_USER are ignored.

You can use the Disable Autoplay Group Policy to add CD-ROM drives to the list of drive types already disabled (removable drives, network drives, and unknown drives) or to disable Autoplay on all drives. You must edit the registry to set any other value.

Tip Image Tip

For detailed information about particular Group Policy settings, see the Windows 2000 Resource Kit Group Policy Reference.

For general information about Group Policy, see Windows 2000 Server Help or Windows 2000 Professional Help.

To see a table associating policies with their corresponding registry entries, see the Group Policy Registry Table .

Related Entries

Page Image

Autorun

Page Image

AutoRunAlwaysDisable

Page Image

NoDriveAutoRun (in HKLM)

Page Image

NoDriveAutoRun (in HKCU)

Page Image

NoDriveTypeAutoRun (in HKLM)