One big cause for your computer getting infected by viruses, worms, and other malware would be Window’s autorun “feature”. Plug in a hard disk, optical disk, memory card, etc and autorun launches and runs a program. Guess what that program usually is? Yup, malware.
So one of the easiest ways to protect your computer is to simply disable autorun. There are many ways to do it but by far, this procedure from annoyances.org works best for me:
- Click Start->Run…
- Type “regedit” and press Enter.
- Navigate the tree on the left pane to “My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies”
- Expand “policies”
- If there’s no “Explorer” folder, right-click “policy” and select New->Key. Type “Explorer” and press Enter.
- Open the “Explorer” folder.
- If there’s no “NoDriveTypeAutoRun” entry on the right pane, right-click on it and select New->DWORD Value. Type “NoDriveTypeAutoRun” and press Enter.
- Right click on “NoDriveTypeAutoRun” and select Modify
- Enter “ff” on the Value Data Field and select Hexadecimal for Base. Click OK
- Close Regedit
- As with anything you do in Windows, restart your computer.
Voila! No more autorun.