Turn off Autoplay

Turns 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 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 XP SP2, Autoplay is enabled for removable drives as well, including ZIP drives and some USB Mass Storage devices.

If you enable this setting, you can disable Autoplay on CD-ROM and removable media drives, or disable Autoplay on all drives.

This 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.

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

Supported on: At least Windows 2000

Turn off Autoplay on:


  1. CD-ROM and removable media drives
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Microsoft\Windows\CurrentVersion\Policies\Explorer
    Value NameNoDriveTypeAutoRun
    Value TypeREG_DWORD
    Value181
  2. All drives
    Registry HiveHKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    Registry PathSoftware\Microsoft\Windows\CurrentVersion\Policies\Explorer
    Value NameNoDriveTypeAutoRun
    Value TypeREG_DWORD
    Value255


autoplay.admx

Administrative Templates (Computers)

Administrative Templates (Users)