It seems that you are new here. You may want to sign up for e-mail updates or subscribe to my RSS feeds. Thanks for visiting!
It happens with me many time that I had to copy some files from my pen drive to our college lab and the moment I plugged in my pen drive, it gets infected with dozens of viruses. Yes, its true that our college labs are too infected. Now before I can use the pen drive again, I need to make sure to clean it first so that the virus may not spread on more computers. I scan for my pen drive using NOD32 and no doubt it completely remove all traces of virus but it wastes my time as I always have over 2 GB of files that I carry with me all the time.
So I came to know of this trick of write protecting the drive so that I can safely copy things I want without the worry of virus being copied on my USB drive. Although you won’t be able to write any thing on your pen drive, its still very useful in case you want something to copy from your pen drive and don’t want to get infected. Before proceeding I must tell you that playing with the registry can be harmful for your Operating System (OS) and I advise you to take a backup of your registry in case anything goes wrong. Read how to Backup Windows Registry.
This trick works only on XP SP2 and you need to have administrator privileges.
- Open Registry Editor by Start > Run.
- Type in regedit.
- Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\

- Locate the sub-key StorageDevicePolicies. If it doesn’t exist then create it first. Create a new key under Control by right clicking on it so that you don’t create it elsewhere by mistake (as shown in the above screenshot).

- Right click in the blank area of the sub key you just created and create a new DWORD value by the name WriteProtect.

- Double-click it and set the value data as 1 (and 0 for disabling it).

- Click OK, close the Registry Editor and restart the PC.
The drawback of this trick is that you need to remember this trick by yourself and you need to restart the PC after applying this trick. Killing explorer.exe and restarting it will not do the job everytime. I am still looking for any other ways fo protecting your drives and I will post in on my blog if I found a better trick than this one. Share your thoughts in the comment.
[via Techtree.com]
Tags: make pen drive read only · protect pen drive from viruses · write protect usb drive6 Comments




6 responses so far ↓
Great tip man. Viruses are so common in hostels and College Labs. Stumbled
http://www.techtola.com/2008/01/ways-to-prevent-70-virus-malware.html
Check out software restriction policy in that post…
You can prevent many viruses
PLease PLease give me ur comments to improve that article
@Madhur
Thanks for the stumble buddy!
@Rajavanya
Post is short. It can be expanded much to an extent that it can serve a purpose. You are providing good information over there but there is a difference between a half glass of water and a glass full of water. Quench the thirst and then that guide will hold some authority.
Wow nice tips again. Waiting for other tips
@Ebook
You are welcome. Subscribe to my feeds so that you don’t miss any of them.
You can write protect a pen drive from viruses by this software:
http://penprotectorenglish.wordpress.com
It is great!
Bye