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

Select “Turn off Autoplay” from right.

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


sir can u make any programme that we save in usb and any pc that was infacted didnt create autorun in usb ? if it possible so plz reply thank u
this only works for XP pro right? it can’t work for XP home.
umm can anybdy hlp me on how to turn off da autorun…….iv use da usb passwrd but it can stil open my usb by autorun….iv test it in my sis laptop….n it work….hlp plzzz
but this still invokes autorun if you double click the device from my computer?
i can’t believe that you still continue to double click your flash drive the fact that you know it still runs the autoplay. instead of double clickin’ your flash disk, why don’t you just right click on it then click on explore. basically the same but it won’t use the autorun function.
Is anybody know how to turn-off Autorun/Autoplay when double click on USB drive in Windows Explorer?
Thanks a lot i have been looking for a clean solution to this for long…
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
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.
hi,it took me only a minute to solve this problem the way you have shown.thanks a lot
thanks for sharing this to us!