This will prevent an autorun.inf installed
by a virus on your flash drive, from running —
so it can't pass on that virus to your computer.
Start -> Run
gpedit.msc
-> 'Administrative Templates'
-> 'System'
and double-click 'Turn Off Autoplay'
Note that this will also stop cds from automatically playing when you insert them. This is a good thing!
[ close window ]