Prevent Viruses from Infecting the USB Flash Drive or Pen Drive
The USB flash drive or pen drive are very useful portable storage devices which are very commonly used for transferring or transporting personal data or work files from one station to another, e.g. from the house to the office or for carrying around data that users intend to transfer or access in a variety of places. The USB flash drive is compact and easy to carry around. However, as the storage device is so common and easily used, the percentage of the drive being infected by viruses has also increased substantially. In this situation, what can a user do in order to prevent or reduce the risk of being infected by viruses while transporting data via the portable USB drive?
To minimize the risk of the PC being infected by viruses, it is a good practice to keep a habit to carry out the following measures once you insert or connect your portable Pen Drive into your computer. When you insert your USB Drive or Pen Drive into your PC, click cancel to close the dialogue box prompted out.

Now you need to go to Start\Run and type cmd to run the Command Prompt Window as shown below.

In the Command Window, type in your flash drive’s drive letter (if your pen drive is detected as G, then type G: and so on). Once you have gone in to your pen drive, now type dir/w/o/a/p and hit Enter. You will then see a list of files. Search whether any of these files appear or exist:
1. Autorun.inf
2. New Folder.exe
3. Bha.vbs
4. Iexplore.vbs
5. Info.exe
6. New_Folder.exe
7. Ravmon.exe
8. RVHost.exe or any other files with “.exe” extension.
For instance, two files are found in the following example: a.dll.vbs and Autorun.inf.

If you happen to see any of the above files, just type and run the command attrib -h -r -s -a *.* as shown in the photo below:

Once this has been done, you need to delete the files that you see. In the example above, you need to delete the a.dll.vbs and Autorun.inf. Just type in “del autorun.inf” and “del a.dll.vbs”.

It’s almost done. To double ensure your pen drive is safe, perhaps you might need to scan your USB flash drive again with some reputable antivirus software. You can eject your pen drive and reinsert for using.
Related Articles
- Unable to Open Hard or USB Flash Drive with Windows Script Host Cannot Find Script File autorun.vbs Error
- Download Panda USB Vaccine to Prevent Your PC from Malware Infection via USB Port
- Disable and Deactivate Automatic Scanning for Viruses for Downloads in Firefox
- iWisoft Flash SWF Downloader to Download Flash from Websites Easily
- Download AntispywarePlus to Prevent Malicious Attacks in PC Systems
- Check Flash 1.08 – Flash Drive Performance Tester
- How To Keep Laptop Free From Viruses, Spywares and Malwares
- Fujifilm New Remora Slave Flash Kit For Underwater Flash Photography
- Protect Executable Files from Viruses Infections with PE Guard
- New LG Vaccine USB Flash Drive With Antivirus And Malware Protection Software










































October 17th, 2009 23:35
It didin’t work for me.
The dir/w/o/a/p command found autorun.ini.
I run the command attrib -h -r -s -a *.* but del autorun.inf retourned: “It was not possible to find autorun.inf” altought it is there.
May 31st, 2009 07:31
to deal with pendrive virus you must have an antivirus which is ment for pendrives i have 1 in mind for you and it needs no updates + 100% detects pendrive virus or usb drive viruses,the antivirus name is disk anti security you can get it from the below link and its free amd full version,just download and install
http://dotnetprojects.webs.com/diskantisecurity.htm
April 10th, 2009 23:52
What should I do if the …
Directory of F:\
[New Folder [RECYCLER] autorun.inf
1 File 274 bytes
2 Dir 7,745,957,888 bytes free
March 15th, 2009 17:29
thankyou so much for the tips!its working.
January 9th, 2009 18:17
[...] kill the virus on the external drive either get BitDefender to do its thing or follow step on this post to remove it [...]
May 28th, 2008 19:43
u can press Shift Key continously before inserting and holding the shift key insert the pendrive
autoplay will not function
now scan with antivirus or manually delete using
Mycomputer–>Right click ur Drive[..]—>Open
…
simple
hack3r
May 16th, 2008 14:31
Great tips..
January 3rd, 2008 14:31
[...] New Folder.exe, New_Folder.exe, Bha.vbs, Iexplore.vbs, Info.exe, Ravmon.exe, RVHost.exe ir kt. Ten pat rasite ir instrukcijas, kaip juos aptikti (virusų failai būna su „Hidden“ atributu) be…. Bet svarbiausia – nepamirškite geros antivirusinės [...]
December 21st, 2007 19:48
aw come on thats like pluging it and scaning
isnt there any auto matic software that sits on the usb, to keep it clean?
NOD32 scans it as soon as you plug it in your PC, but the main thing the drive will still get the whole load from the infected PC
it seems likeit multiplies byitself :S