Many of use pen drives for convenient transfer large data.But the biggest problem in pendrives is spread of viruses.Since there is no write protect mechanism one can’t stop this.Each of this spread by creating a file called “autorun.inf” which contains instructions for the virus file to execute.So always create a text file in the name “autorun.inf” in the pendrive and save.Due to this the virus wont be able create the autorun file necessary for it’s execution because already there exists a file named autorun.inf.This is jus a tip and not an alternative to any anti virus software.
USB drives have completely replaced CDs and floppies. Most of the users prefer to use USB drive as it is available at cheap price with high storage capacity. USB drives are also becoming medium of spreading of viruses and worms due to auto run functionally of Windows.
Also when you connect your clean USB drive to infect machine your USB drive may get infected and subsequently infecting all the machines on which this USB drive is used. One way to protect and prevent virus spreading via USB drive is by disabling USB drive write meaning making it “read only”.
By default Windows doesn’t provide any option to Write Protect USB drives and you need to edit Windows registry to achieve this. To make it easier for you here is third party freeware tool Thumbscrew.
Thumbscrew allows you to quickly enable or disable writing to all USB mass storage devices on your Windows system. In other ou can use it to make a USB flash drive, hard drive or IDE / SATA drive in an enclosure read only.