12/12/2007

How to prevent your pen drive from getting infected with Virus ?

Friends many of your PC/laptop's normally gets virus because of Pen Drives or USB devices (Even PC's who are not connected to network ). Some Virus like Ravmon Virus , Heap41a worm which are not detected by anti virus normally spreads mostly by the Pen Drives . In such a case what can you do to prevent your PC from getting infected with Virus that spreads through USB devices or Pen Drives ?

You can protect your PC by just following the simple steps below . It won't take much time.

  • Connect your Pen Drive or USB drive to your computer .
  • Now a dialogue window will popup asking you to choose among the options as shown in the figure.
  • Don't choose any of them , Just simply click Cancel .
  • Now go to Start--> Run and type cmd to open the Command Promt window .
  • Now go to My Computer and Check the Drive letter of your USB drive or Pen Drive. ( E.g. If it is written Kingston (I:) , then I: will be the drive letter .)
  • In the Command Window ( cmd ) , type the drive letter: and Hit Enter .
  • Now type dir/w/o/a/p and Hit Enter.
  • You will get a list of files . 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 files above , Run the command attrib -h -r -s -a *.* and Hit Enter.
  • Now Delete each File using the following Command del filename ( E.g del autorun.inf ) .
  • That's it . Now just scan your USB drive with the anti virus you have to ensure that you made your Pen Drive free of Virus .
Now Unplug your Pen Drive or USB device and Plug it again to your Laptop/PC . Before removing your Pen Drive from others Computer , Don't forget to search for .exe files using the Windows search and remove them .

Already your PC is infected with some worm spread from USB , the following solutions might help you .
Keep Checking Technova for more solutions by Subscribing to my feed or click here to get updates via email.

15 comments:

This comment has been removed because it linked to malicious content. Learn more.

Respected sir
The links which you have given here to prevent the pen drive and prevent the hard disk from the given viruses like autoplay, some chaineese language at right click are very use full to me. I am searching about those removers from long now its cleared to me. Thanks a lot to you.

My pendrive infected with virus. Even if I delete the autorun.inf and other hidden files, they are automatically created again.

Thanks to ur valuable guidance sir.is there some way to install antivirus in pendrives as we do in computer systems.

I have a problem with pendrive. it's has contain a autorun file and it not deleted showing the pendrive is write protected and tell remove write protection.

so i want to please tell me anyone that how to remove write protection form pendrive.

Email: mohd.ameen@ymail.com

thnxx the solution was very helpful
now there is no virus on my pendrive yipeeee

I have tried the above, but this is what iam getting

F:\>attrib -h -r -s -a *.*
F:\>del autorun.inf
F:\autorun.inf
The process cannot access the file because it is being used by another process.

Any solution please

> rename autorun.inf autorun.old
> echo "" > autorun.inf
> attrib +r autorun.inf

Remove the pen drive and plug it again...

> attrib -r -h -s -a autorun.old
> erase autorun.old

> attrib -r -h -s -a *.exe
> erase *.exe

> attirb -r -h -s -a *.bat
> erase *.bat

> attrib -r -h -s -a *.com
> erase *.com

My pendrive is not detecting.Whats the problem?can you suggest any solution for this

I can't rename or do anything to the autorun.inf

E:\>attrib -h -r -s -a *.*
E:\>del autorun.inf
E:\autorun.inf
The process cannot access the file because it is being used by another process.

E:\>rename autorun.inf autorun.old
The process cannot access the file because it is being used by another process.

How do I stop the process from accessing this file?

this one really helped me...thanx a lot....u r very genius

I think the best way to Protect Pendrive is to download the below software
http://www.itsgaurav.com/virusfreependrive.aspx
this software can Write-Protect Pendrive. It can create one undeletable and unwritable autorun.inf so that virus can not amend it. It can also monitor Pendrive from automatically executing files and it blocks them without executing. You can even change the background picture of pendrive.
Its extremely useful software with no malware.

A drug like Viagra is one of the most sought after product on the net. To stay ahead in the competition that involves many online Viagra UK vendors, different tools like keywords optimization, back links etc have been incorporated. blue pill is the key.

I can't rename or do anything to the autorun.inf

E:\>attrib -h -r -s -a *.*
E:\>del autorun.inf
E:\autorun.inf
The process cannot access the file because it is being used by another process.

E:\>rename autorun.inf autorun.old
The process cannot access the file because it is being used by another process.

How do I stop the process from accessing this file?
plz reply to kolappananish@gmail.com

i think using a firewall or a portable antivirus would be a better option to stay safe...check out here http://www.jasica.in/2011/04/bestever-tips-to-protect-your-usb-pen.html

Post a Comment