This is a good proactive setting to defend against script viruses.
Start -> Run -> gpedit.msc
For both Computer Configuration and User Configuration,
Go to “Administrative Templates” -> “System”. Next, doubleclick “Turn off Autoplay”, check “Enabled” and select “All drives”.