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.
With this setting you can disable Autoplay on removable drives configured on any drive.
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 “NoDriveAutoRun” in the right panel. Right-click this value name and modify the data value with the decimal values given for corresponding disk drive below to enable the setting.
A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096, N: 8192, O: 16384, P: 32768, Q: 65536, R: 131072, S: 262144, T: 524288, U: 1048576, V: 2097152, W: 4194304, X: 8388608, Y: 16777216, Z: 33554432, ALL: 67108863
To disable all the drives set the value to “67108863”. If you want the devices to play automatically, either change the value to “0” or delete the added value.
The changes take effect after a restart or logoff.
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.