GPO tool

Group Policy made searchable

A free ADMX browser or comparison tool for IT administrators. Search policies, find registry keys, and see exactly what each setting writes to the Windows Registry. Or compare two GPO backups to see exactly what has changed between them.

Select a product
  • Select a category.

Turn off Autoplay

This policy setting allows you to turn off the Autoplay feature.

Autoplay begins reading from a drive as soon as you insert media in the drive. As a result, the setup file of programs and the music on audio media start immediately.

Prior to Windows XP SP2, Autoplay is disabled by default on removable drives, such as the floppy disk drive (but not the CD-ROM drive), and on network drives.

Starting with Windows XP SP2, Autoplay is enabled for removable drives as well, including Zip drives and some USB mass storage devices.

If you enable this policy setting, Autoplay is disabled on CD-ROM and removable media drives, or disabled on all drives.

This policy setting disables Autoplay on additional types of drives. You cannot use this setting to enable Autoplay on drives on which it is disabled by default.

If you disable or do not configure this policy setting, AutoPlay is enabled.

Note: This policy setting appears in both the Computer Configuration and User Configuration folders. If the policy settings conflict, the policy setting in Computer Configuration takes precedence over the policy setting in User Configuration.

Registry Information

VendorMicrosoft
ProductAuto Play
CategoryAutoPlay Policies
Applies toComputer & User Configuration
Supported onWin2k
Registry Key[HKLM|HKCU]SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer

Policy Settings

Turn off Autoplay on:

Registry Key[HKLM|HKCU]SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
Value NameNoDriveTypeAutoRun
TypeREG_DWORD
Values
  • CD-ROM and removable media drives (181)
  • All drives (255)