Turn off autorun on USB Drives

One way to prevent the autorun USB viruses in XP is to turn off the auto insert notification for all drives, so that the virus/trojan will not be executed when the USB is plugged in. Please see to it that you go to My Computer , right click and select “Open” or “Explore” and not “Autoplay”.

Go to Start Menu > Run and type gpedit.mscĀ  [Group Policy Edit]

Select Administrative Templates > System

1.jpg

Select “Turn off Autoplay” from right.

2.jpg

Set the radio button to Enabled, and change the “Turn off Autoplay on” to All Drives.


Search the Web with Google

6 Responses to “Turn off autorun on USB Drives”


  1. 1 pipi

    thanks for sharing this to us!

    1
  2. 2 shyam

    hi,it took me only a minute to solve this problem the way you have shown.thanks a lot

    2
  3. 3 Danny

    Oh thank you for this. The last solution to turning off autorun (for cds) that I found involved editing the registry by hand. This solves that too and was much easier (and safer).

    Thank you.

    3
  4. 4 thinkdj

    This is actually very useful. It completely eliminates the chances of autorun viruses infecting your PC ..
    But most of the autorun viruses run when you double click the Drive icon from Windows Explorer or even right click and select Explore.
    There is a workaround for that. Turn off all autoruns as mentioned in the post. Insert the USB drive and do NOT open it from My Computer.
    Instead, hit WINKEY+E to start explorer.exe. Then click on the USB drive from the left hand Tree. This will not run the virus mentioned in the autorun.inf, but directly displays the content of the drive.
    If you have your windows settings turned to “Show hidden files”, you can see the hidden infected files and delete them along with the autorun.inf

    4
  5. 5 corrado

    Thanks a lot i have been looking for a clean solution to this for long…

    5
  6. 6 wplay12

    Is anybody know how to turn-off Autorun/Autoplay when double click on USB drive in Windows Explorer?

    6

Leave a Reply