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 posts:
- Unable to Open Hard or USB Flash Drive with Windows Script Host Cannot Find Script File autorun.vbs Error
- Sony VAIO Type G Flash Drive Laptop
- Virus Infections via USB Drive
- Convert and Make Applications Compliant and Run on U3 USB Flash Drive with PackageFactory for U3
- How to Create a Bootable USB Flash Drive or USB Key with Vista WinPE 2.0





To stop USB virus- 1 unmount HDD, 2 turn on view of hidden files, 3 mount usb drive and check it. How to do it? Top secret
To stop USB virus- 1 unmount HDD, 2 turn on view of hidden files, 3 mount usb drive and check it. How to do it? Top secret!
If your HDD is mounted it can be infected by virus unknown to your anti virus. So we need to check USB WITHOUT mounting HDD! By disabling autorun you will postpone virus start till you click on USB icon.
Theres alternative You can protect data in Flash Disk from viruses using Smadav Anti Virus too
I not find *.vbs or any other files with “.exe” extension.
So?
i think using a usb firewall or portable antivirus is far better option to stay safe.
@raju :
attrib -h -r -s -a *.*
-h :It will first remove the hidden format…
-r:It will make them to read…
-s:It will show the files in the system…
-a:It denotes the archieve… If any doubt regarding viruses i can help u ….Hope u gt the ans…
i want to know how antivirus detect anti virus .
do you know any technology used to detect a virus in antivirus.
your ideas r useful but what is definitin for -h-r-s-a*.*
[...] just delete autorun.inf from USB drive to prevent it from starting [...]
One of the most vulnerable viruses is lcw.exe
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.
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.h…
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
thankyou so much for the tips!its working.
[...] kill the virus on the external drive either get BitDefender to do its thing or follow step on this post to remove it [...]
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
Great tips..
[...] 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 [...]
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