When an external media like CD/DVD or USB is plugged into your windows
computer it automatically suggests applications to open the
content.Before opening you should always scan the external media with
your antivirus to prevent Viruses and trojans.If Real Time protection is
not enabled in your antivirus and you open content using Autoplay then
your computer will be vulnerable to virus attacks
After this steps click on Turn off the Autoplay features .soo after clicking on it new tab will open after this step do as in given below diagram.
That’s it now when you will insert any USB or CD/DVD drive in your computer then it won’t be launch automatically.And your pc will virus free.
Window Xp user go to start /run and type gpedit.msc click on ok.
Window 7 user press window + R and gpedit.msc ten click on ok .
In pop up window select Administtrative Templates under computer configuration section from left window pane and double click on windows components in right window pane.And look for AutoPlay Policies double click on it .After this steps click on Turn off the Autoplay features .soo after clicking on it new tab will open after this step do as in given below diagram.