Windows autoplay actually was created to simplify the use of peripheral devices like USB storage devices, memory cards, and MP3 players by running the software needed to access and view the content on these devices automatically.
To prevent virus accessing your computer from USB devices you can stop the autoplay feature by following these steps :
- Open up windows Run and type
- Now choose administrative templates then system on the viewtree.
- Look to windows column on the right and search for
Turn off autoplay, double click it.
- A new windows will appear, click the
enable radio buttonand
select all drives.
And thats it, you are one step more protected from viruses.