Disable USB Autorun in Windows XP Vista 7 8

Posted on March 30, 2015 at 2:48 pm

Create a .reg file with this content:

Windows Registry Editor Version 5.00
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000ff
"NoAutorun"=dword:00000001

Save the file somewhere and run it.

The reg file will disable autorun on all kinds of drives and for all users.

This line disables Autorun on all kinds of drives:

"NoDriveTypeAutoRun"=dword:000000ff

This line disables the Autorun functionality completely:

"NoAutorun"=dword:00000001

Since we write to the HKEY_LOCAL_MACHINE root key it applies to all users.

You can find more information here:

How to disable the Autorun functionality in Windows

Updated on March 31, 2015 at 11:42 am

Other Posts

Updated Posts