Disable Autoplay on any disk drives (For All Users).

Click here to run a free scan for registry errors
This tweak lets you disable the selected disk drive to start automatically.
Level: Recommended For Experts Only
Description:
Autoplay makes the cds 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. 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. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.




Screenshots


First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type "regedit".
Go to <b> [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\]</b>, key and create a new key with the name "Explorer" under "Policies".
Now, right-click in the open area to create a DWORD Value with the name "NoDriveAutoRun" in "Explorer" key.
Next, right-click on "NoDriveAutoRun" and click on 'Modify'.
Finally, enter the drive value in the text box and click on 'OK'.


Registry Entries

- back to top

  • Path: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\]
  • Location: Local Machine
  • Value Name: Explorer
  • Data Type: Key
  • Action Type: Add an Entry
  • Path: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\]
  • Location: Local Machine
  • Value Name: NoDriveAutoRun
  • Data Type: DWORD (DWORD Value)
  • Action Type: Add an Entry