How to protect pendrives from virus attack?

Protect USB drive from Viruses


Are you frustrated with viruses on your windows PC. There are many sources by which a PC virus can enter you system.It can be through internet,optical compact disk, HDD and the most frequently used USB drives. So what we can do to avoid USB virus getting into our system? ,well this tutorial is all about that.

You can avoid this by making your USB drive write-protected, preventing viruses from writing malicious codes into your USB. This might not be necessary if your computer is protected by an Antivirus.However if you don't have an antivirus installed on your PC or Laptop then go ahead and follow the steps.
This would be highly helpful in protecting their computers from viruses. The following steps will help you in making your USB drive write protected.




Steps : (click on the picture to enlarge)

Plug in your USB drive .

Go to run( type the command diskpart ),press OK

CMD will open, type list disk (this will list the disk or the available storage devices on your PC)
Now note the disk number of your USB storage (Size of the disk which is in megabyte(MB) ).


Then, type the command  select disk #  (where # is the disk number). Press Enter



Few more command-
attributes disk set readonly    
Press Enter



Confirmation text is shown: disk attributes set successfully

Now all is done, you cannot copy file to you usb drive but only can copy the content from usb to your PC,this sets the protection ,not allowing viruses to write extra miscellaneous codes on you drive .
your usb drive is made read only i.e write protected. You will be able to read files from your usb drive but cannot write anything into it. This way your usb drive is protected from viruses.


Now if you want to revert the settings back to normal:

follow the same method and at the end instead of attributes disk set readonly
type the command : attributes disk clear readonly  

Enjoy!!

Note: This only one way of protecting PC from virus but if you want to be more secure install a good Antivirus.

Vishal Mahato

Vishal Kumar is 21,young blogger and designer with strong passion.He usually hangs out in twitter tweeting his blog post realted links. If you use Facebook actively he can be great friend there and don't forget add to Google+ too.If you have any question feel free to write and him to Gtalk. It is beautiful way to get contact directly!

No comments :