
Note: If this tutorial worked for you (and it should work), please leave a comment below. Thanks.
So without wasting any more time, let see the method:
Registry Way To Prohibit AutoPlay
- 1. Press + R and put regedit in Run dialog box to open Registry Editor (if you’re not familiar with Registry Editor, then click here). Click OK.
- 2. Navigate here:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
- 3. In the right pane of this location, you’ll find a DWORD named NoDriveTypeAutoRun. Double click this DWORD in order to modify it, you’ll got this:
- 4. To disable AutoPlay for all drives, input 0xFF for the Value data section in above shown box. Aid to this, you can use following values for specifically disabling AutoPlay features :
- 0×1 or 0×80 - Disables AutoPlay On Drives Of Unknown Type
After inputting your desired value, click OK. Exit Registry Editor. Reboot and insert a new media to verify the results.
- 0×4 - Disables AutoPlay On Removable Drives
- 0×8 - Disables AutoPlay On Fixed Drives
- 0×10 - Disables AutoPlay On Network Drives
- 0×20 - Disables AutoPlay On CD-ROM Drives
- 0×40 - Disables AutoPlay On RAM Disks