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.
For this, go to Start > Run menu, enter “regedit” and navigate to the registry path listed below. If the subkey “\Explorer” does not exist, create it as explained below. Then, create the DWORD value “NoDriveTypeAutoRun” in the right panel. Right-click this value name and modify the value data with “20” to enable the setting.NOTE:
Any of these values or a combination of two or more values can be put in as new value. Say, if you want both Network drives and CD-Rom drives disabled to Autoplay, the new value will be (20+10) = 30.
However, if you want the default value back, change the value data to “95”. This is the sum of 1-Unknown types, 80-Unknown types, 4-Removable drives, and 10-Network drives.
The changes take effect after a restart or logoff.
The values assigned to various drives:
|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.|
Autoplay is also disabled on any drive if it is disabled by the value of “NoDriveAutoRun” or “NoDriveTypeAutoRun” in HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER. But if either of the value name “NoDriveAutoRun” or “NoDriveTypeAutoRun” appears in HKEY_LOCAL_MACHINE, the corresponding entry in HKEY_CURRENT_USER is ignored.