Monday, May 28, 2012

Remove virus from USB drives

Hello,

Today most of virus are spread using USB drives. So it is our first duty that we make it secure from virus by removing virus from it. Today i am describing manual way to do this. In general most of virus name autorun.inf, newfolder.exe, svchost.exe etc.
Follow below steps for removing virus
1. Plug your usb drive in PC.

2. Open command prompt. Type drive letter.
3. Now type "dir /w/a" (without "" ). This will display all files in that particular directory.
5. If your usb is infected by virus than you can see some suspicious files like above.
6. Now type attrib -h -r -a -s This will remove the Read Only, Archive, System and hidden file attribute from all the files. 
7. Now type del with file name for e.g del newfolder.exe
8. After removing scan your usb with antivirus.
9. Now unplug your usb and plug it again.
10. If your usb is infected by autorun.inf than all that exe will come back after some click of refresh. So for it disable autoplay option in your PC, if not than virus is gone.  

For disabling autoplay option see below link

How to disable Autorun option

Thats it!

 

No comments:

Post a Comment