How can I protect my PC from viruses in pen drives?

nitin October 16, 2011
Whatsapp Pinterest

I use pen drives frequently which have been connected to many sources like a friend’s PC, library PC, etc. How can I ensure that my PC doesn’t get infected with viruses???

  1. Samjohn1
    February 6, 2012 at 10:22 am

    i hav a antivirus on my pc.shud i install usb disk secure to scan my pendrive r the antivurs already ther is enough to scan it..
    i gt dis doubt coz wen 2 antiviruses r installed into pc da system will crash.. will this occur if i do dis????

  2. Antivirus Software
    October 21, 2011 at 9:07 am

    Disable Auto run and scan pen drive before opening. Use strong antivirus protection for your system. Some of the best antivirus software are Immunet, Avira, Avast, Avg, Norton..etc

  3. Jay
    October 17, 2011 at 6:28 am

    To disable autorun install update from windows :

    these links have have updates for different versions and guide to using gpedit.mcs to disable autorun

  4. Stivinn Aura
    October 17, 2011 at 6:24 am


    This question has bugged Windows users for eons, and sadly though, there is nothing that works 100% of the time.

    I'd briefly add to all mentioned suggestions that if staying immune to computer viruses REALLY matters that much to you, then you MUST download a Linux Live CD distribution.

    Eliminating unwanted files from your pen drive is effortless. A tiny (and fast) distribution like Puppy Linux ( ) or SliTaz ( ) is all you need. Head over to DistroWatch ( )
    or go through MakeUseOf's ever-growing archive to learn about more distributions.

    Pop in the Linux Live CD (or better still, make a bootable Linux pen-drive), boot from it and delete from your pen drive all-that-is-virus, e.g. autoruns, folders named 'Recycler' and stuff that you never put on your pen-drive in the first place.

    UNetBootin ( and LiLi ( // ) are the simplest tools to put Linux on your pen-drive so that you may boot from it.

    There is no 'best' Linux Distro, and it is in fact a matter of utility and personal preference. Once you get used to a Linux distribution, you will learn that there is much more to it apart from eliminating viruses from pen-drives. :)

    October 17, 2011 at 6:11 am

    Hello, as everybody else has told you, your best option is to turn autorun off.  Here is a link explaining how to do it.  Only thing though is that gpedit does not work with every edition of windows.  You must have at least the pro version.

    On the following article, there are three different ways of disabling autorun...just in case you can not used gpedit.  You can do it by using TweakUI, group policy editor (gpedit) or by registry:

    Also before opening the contents store on your usb drives, make sure to scan them with your antivirus/malware of choice.

  6. Jeff Fabish
    October 17, 2011 at 3:43 am

    Firstly, once you're done transfering data to or from your USB, remove it. That may not be enough, so (as Jay said) disable Autorun on your computer. You should have an anti-virus installed and configured to scan newly connected media devices automatically. Keep Windows up-to-date.

    Viruses that spread to your USB drives count on one of two things. One: That you have autorun enabled, which will allow the attacker to automatically execute his files without your knowledge. Two: You arbitrarily run files without knowing what they are.

    I always put my backup media in an encrypted container using Truecrypt. This is a pretty sure method, as if the virus overwrites the original container with its own data, the volume will be corrupt (and hashes won't match), or if it puts an extra file on the drive I'll know it's not mine, are in the container.

  7. Jay
    October 17, 2011 at 3:23 am

    Use usb disk security :

    I think even you know that you have to install an antivirus, and keep it updated.
    use antimalware to keep your pc safe.

    You can create an autorun.inf folder in your pendrive, so the autorun.inf virus cannot be copied to your pendrive.

    This is just for autorun virus, you can also disable autorun on your pc.

    • Cue
      October 17, 2011 at 5:12 am

      hi jay
      autorun.inf folder has to be kept empty??

      • Jay
        October 17, 2011 at 5:33 am

        keep it empty. but I don't think it matters.
        It works on this simple rule, that you cant make a folder or file with the same name.
        So if there is a infected autorun.inf on your pendrive, you will not able to create a folder named autorun.inf.
        If you can create the folder, it means the particular infected autorun.inf file is nothere, and it will not allow the file to be infected in the future also.
        but that is not it.
        you will have to use antivirus, and try the usb security disk as well.

Ads by Google