How to remove Virus from USB Drives ? | JamiiForums | The Home of Great Thinkers

Dismiss Notice
You are browsing this site as a guest. It takes 2 minutes to CREATE AN ACCOUNT and less than 1 minute to LOGIN

How to remove Virus from USB Drives ?

Discussion in 'Tech, Gadgets & Science Forum' started by MziziMkavu, Apr 8, 2012.

  1. MziziMkavu

    MziziMkavu JF-Expert Member

    Apr 8, 2012
    Joined: Feb 3, 2009
    Messages: 39,607
    Likes Received: 4,600
    Trophy Points: 280
    One of the ways by which a virus can infect your PC is through USB/Pen drives. Common viruses such as etc are spreading through USB drives. Most anti virus programs are unable to detect them and even if they do, in most cases they are unable to delete the file, only quarantine it. Here are the things which you can do if you want to remove such viruses from your USB Drive

    Whenever you plug a USB drive in your system, a window will appears

    Open the Command Prompt by typing cmd in the run box. In the command prompt type the drive letter: and press enter . Now type dir /w/a and press enter.

    This will display a list of the files in the pen drive. Check whether the following files are there or not
    New Folder.exe
    or any other exe file which may be suspicious.

    If any of the above files are there, then probably the USB drive is infected. In command prompt type attrib -r -a -s -h *.* and press enter. This will remove the Read Only, Archive, System and hidden file attribute from all the files. Now just delete the files using the command del filename. example del Ravmon.exe. Delete all the files that are suspicious. To be on a safer side, just scan the USB drive with an anti virus program to check whether it is free of virus or not. Now remove the drive and plug it again. In most of the cases, the real culprit turns out to be the Autorun.inf❠file which mostly gets executed when someone clicks Ok in the dialog window which appears above. Thus the infections can spread

    Disable the Autoplay feature of USB drives. If you disable the Autoplay feature of USB drives, then there are lesser chances of the virus spreading. A tool which can perform such a function is Tweak UI. Download it from here install it.

    Run the program. Now you can disable the Autoplay feature of the removable drives as shown above. By following the above steps, you can keep your USB drives clean.

    Tweak UI is a freeware software you can download it here:

  2. g

    george817 Member

    Apr 9, 2012
    Joined: Apr 7, 2012
    Messages: 8
    Likes Received: 0
    Trophy Points: 0
    my computer has been affected by auto run.inf what can i do to remove it....? I need your help

    KISHOKA_ZUMBU Senior Member

    Apr 10, 2012
    Joined: Apr 4, 2012
    Messages: 163
    Likes Received: 36
    Trophy Points: 45
    Just follow the same procedure as given above, it will work