Learn How to protect your pen drive from Virus

Posted on 31 Jul, 2008 by Scott under General, Hardware, Tips & Tricks, Tutorials

Just insert your pen drive in the USB port, now a autorun window(usually it includes Open to view Files and
Take no action options) will open to choose the program that will run your pen drive but just ignore it by clicking the Cancel button right after the OK button ;)

Learn How to protect your pen drive from Virus

Now go to Start > Run and type cmd to open the Command Prompt window. Now go to My Computer and Check the Drive letter of your USB drive or Pen Drive.(If it is written Kingston(I:), then I: will be the drive letter)
In the Command Window(cmd), type the drive letter(as above is I:) and now hit enter. Then type the dir/w/o/a/p and Hit Enter

Now you will get a list of files that are in your pen drive. In the list, search if anyone of the following do 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.

If you find any one of the file names as above, Run the command attrib -h -r -s -a *.* and Hit Enter. Now Delete each File using the following Command del filename. Now just scan your USB drive with the anti virus you have to ensure that you made your Pen Drive free of Virus :D

If you enjoyed this article, please consider bookmarking it or subscribing to our RSS feeds!

8 people have said something (how about you?)

Vote for this article July 31, 2008

Learn How to protect your pen drive from Virus…

Just insert your pen drive in the USB port, now a autorun window(usually it includes Open to view Files and
Take no action options) will open to choose the program that will run your pen drive but just ignore it by clicking the Cancel button right afte…


Pavan Kumar August 1, 2008

Oh dude… you are popular… yesterday I got the same article as a forward mail without any link to your site. And today I saw your article.. good one… I too have worked much on such virus issues, but my articles are gui related than command line interfaced ones….

Pavan Kumar’s last blog post..Amazing set of Google doodles


Chetan August 2, 2008

Nice tips there Narendra.. Well explained but still happy that mac doesnt get affected with those viruses.

Chetan’s last blog post..Article Directory List – Submit your articles now!


Sunil Pathak August 5, 2008

How simple but very useful tip indeed
i useto get lots of Autorun.inf every time i plug it in some one’s PC
:oops:
but now my AVG is not finding any virus in my USB drive
leme try the steps you shared here may be i’ll find few with it

Sunil Pathak’s last blog post..4 Link Baiting Ideas That Works Like A Charm


computer dictionary September 10, 2008

Thanks for this valuable post. i was fed up of these pen drive viruses but after reading this post I can assure now pc is virus free. I would like to recommend a online resource to learn more about computers Do computer terms confuse you? You find yourself having difficulties describing computer terms? ComputerDictionaries.org brings you an abundance of Computer dictionaries containing thousands of computer related terms and jargons. Simply look up one of our computer dictionaries in a vast array of topics ranging from the most used computer abbreviations to the highly technical computer terminologies. Browse through computer dictionaries and learn about topics such as Digital Media, Computer Games, Computer Acronyms, Software, and more.


kanted November 29, 2008

good one, but how to protect it from future infection :roll:


Fox Racing Sunglasses December 5, 2008

I never thought that a thumb drive could get a virus. It does make sense now though, I wonder if it could then infect any computer that it touches. Would it even be a good idea to plug it into your computer to run commands on it? I tel you what though, I have a couple of thumb drives that I am gonna check right now. Thanks for this great tip!


Anand December 14, 2008

the reseting of arttibuts are denied…..

the suspicious files are
1.2u.com
2.autorun.inf
3.h3.bat

even if we del all three
they are once again generated……..

wat to do???

none of updated anti virus is detecting it as a virus…
but ther are problems……


Please leave a comment!