Tech Xpress

Best way to Disable USB Autorun in Windows

Autorun is one "feature" or bug in Windows that must be disabled quickly. Whenever you plug in a USB drive, CD or DVD, Windows automatically executes the instructions in the Autorun.inf file that may be present in any of those removable devices. This is how most computers get infected with viruses, trojan, malware etc when a USB drive is plugged in. So it is highly recommended to turn off Autorun in Windows. After looking around quite a bit, here is the best way I found to disable it in Windows.

Disable Autorun in Windows Vista and XP
The below tip involves editing the Windows Registry. Please take a backup of the registry before proceeding.

1. Open the Windows Registry Editor. Go to Start - Run. Type Regedit and press Enter. In Vista, you can just type it in the box above the Windows button.

2. In the registry editor, navigate to
HKEY_LOCAL_MACHINE\ SOFTWARE\
Microsoft\WindowsNT\CurrentVersion\IniFileMapping

3. Right-click IniFileMapping key select New - Key. Name the new key as Autorun.inf


 
 4. Right-click the value of the newly created key and hit Modify.



5. Enter @SYS:DoesNotExist in the Value data box. Click Ok.



6. Now Navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2



7. Delete the MountPoints2 key.

That's all. This will prevent the auto execution of malicious programs when a USB stick or DVD is inserted.
Note: Your computer can still be infected if you manually click the virus program. But this tip will atleast give you a first level of protection. Cheers!

[Source: Thanks to Nick Brown]

Home
posted by Vijeesh Ravindran, Sunday, October 04, 2009


0 Comments: