Autoplay makes the CD’s or other devices to play automatically or run a program when a disc is inserted into the drive. This setting disables the Autoplay feature of the drives of the type specified. By default, the Autoplay is disabled on removable drives, such as the floppy disk drive and network drives but not the CD-ROM drive.
If this setting is enabled, you can also disable Autoplay on CD-ROM drives selectively or disable Autoplay on all drives. The default value is 0x95, which is the sum of 0x1 (unknown types), 0x80 (unknown types), 0x4 (floppy drives), and 0x10 (network drives). The default value can be modified to any of these:
|1||Disables Autoplay on drives of unknown type.|
|4||Disables Autoplay on removable drives.|
|8||Disables Autoplay on fixed drives.|
|10||Disables Autoplay on network drives.|
|20||Disables Autoplay on CD-ROM drives.|
|40||Disables Autoplay on RAM drives.|
|80||Disables Autoplay on drives of unknown type.|
|FF||Disables Autoplay on all types of drives.|
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.
For this, go to Start > Run menu, enter “regedit” and navigate to the registry path listed below. Now, create the DWORD value name, “NoDriveTypeAutoRun” in the right panel, if this value does not exist. Right-click this value name and modify the value data with “20” or add “20” to the existing value to enable the setting.
Click “OK” and close the registry editor.
Restart the system or logoff to see the changes taking effect.
1. This setting does not prevent Autoplay for music CDs.
2. 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 it appears in HKEY_LOCAL_MACHINE, the corresponding entries in HKEY_CURRENT_USER are ignored.