You need to turn off autoplay..
You can turn it off for certain items or completely off for everything.
Having it completely off is the safest setting to use ...
Go to control panel and then to auto play and clear the Use AutoPlay for all media and devices check box. .
Source(s): http://windows.microsoft.com/en-CA/windows-vista/Change-AutoPlay-settings