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 removable drives like Floppy and ZIP selectively.
For this, go to Start > Run menu, enter “regedit” and navigate to the registry path listed below. You can create a DWORD value “NoDriveTypeAutoRun” in the right panel, if this value does not exist. Now, right-click and modify its value to “04” which can disable Autoplay on removable drives.
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 to revert to default value, 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 disable various drives are:
| Value | Meaning |
| 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 disks. |
| 80 | Disables Autoplay on drives of unknown type. |
| FF | Disables Autoplay on all types of drives. |
Remember: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.