Wednesday, December 16, 2009

Disable USB Autorun

* Browse to the following key HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer
* Modify the value of NoDriveTypeAutoRun to ff (hexadecimal)

disable_autorun

Although I must warn you that playing with the registry can be harmful for your system and you might end up re-installing your OS. Before making any changes, I recommend reading How to backup your registry?

disable_autorun_reg

And if you don’t want to edit the registry then you can download this registry entry.

Download Disable_autorun.reg.

Right Click > Save it on your computer > Run it on your computer.

Press Yes when it asks for confirmation for adding the entry into the registry.

This will now prevent any virus from auto executing itself through a USB drive. In addition to this, you must have a good anti virus installed on the system as this method just stops the virus from infecting the system automatically.

No comments:

Post a Comment