How to Delete Virus from USB Drive Manually

Viruses can easily spread through USB or Pen Drives. Most viruses like ’Ravmon’ , ‘New Folder.exe’, etc are spreading through these Flash Drives. These Viruses are hard to delete even for the Best anti virus applications. So only option is to remove Virus from USB drives Manually , Here is the procedure you have to follow..


  • Never Open the USB drive directly through the Auto Play Feature. Scan the USB drive for viruses by using your anti virus application. If you find any viruses in that scan, Eliminate them.


  • After that, 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.


Check whether the list displayed contains the below given files.

  • Autorun.inf, Ravmon.exe, New Folder.exe, svchost.exe, Heap41a or any other exe file which may be suspicious.


If you encounter any of the above files, then probably the USB drive is infected. Now to delete the virus files manually..

  1. Go to 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.
  2. Now just delete the files using the command del filename. example del Ravmon.exe.
  3. Delete all the files that are suspicious.
  4. 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.
  5. 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 in Auto Play.


Note : To protect yourself from Virus, 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 in your computer. A tool which can perform such a function is Tweak UI.  Download it here


[via WhoisMadhur]

Filed under: How To's
Tags: , , ,
December 15, 2008 by: Prasanth Chandra


Leave a Reply