Tricks

May 5, 2012

Remove virus from USB Drives.

Whenever you plug a USB drive in your system, a window will appear similar to the one shown below
USB....

Don’t click on Ok , just choose ‘Cancel’.

Open the Command Prompt by typing ‘cmd‘ in the run box.
In the command prompt  type the

drive letter:( ex - i,j,k..) 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

    * Autorun.inf
    * Ravmon.exe
    * New Folder.exe
    * svchost.exe
    * Heap41a
    * 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...

3 comments:

  1. Thanks for sharing this information i am suffering with same problem in my 4 gb pen drive

    ReplyDelete
  2. It is really hard if you have a virus on your usb. It may affect the system of your pc. Better to remove it before it spread.

    ReplyDelete
  3. i have found autorun.inf but it didnt delete it

    ReplyDelete

Designed By