Write Protect your USB Pen Drive to prevent virus

Sometimes, you may need to use your pen drive to virus infected computer or PCs like cyber cafe or your friends computer for transferring some data, then you will need to Write Protect your pen drive, so that your pen drive or memory card may not be infected by virus and feel free to transfer the files from one computer to another. 

You have to keep in mind some points before doing this :

•    This trick will write protect your pen drive / memory card, and you will not be able to transfer anymore data until you disable it again (but, it will work if you only wish to copy or read something from the drive then its does not matter).
•    You need Administrator privilege to change in the Registry of computer.
Steps to make your drive Write Protected:

1.    Open Registry Editor by typing regedit in Run dialog box.
2. Navigate to the following key 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
3.    Find a sub key inside it named “StorageDevicePolicies”. If it does not exist there then we need to make it. Right click on “Control” key and select New. Now select Key and name it “StorageDevicePolicies” without quotes.
4.    Now right click on this newly created key and then click New and DWORD value and name it as “WriteProtect”.
5.    Modify this key and give it a value 1 to do it write protect.
6.    Click OK, and remember to restart the PC to take affect this policy.
Now no more data can be transferred to the drive but to start using the drive again just give the “WriteProtect” key a value of 0 instead of 1 and restart the PC. Now transfter your data from one computer to another without fear of virus and enjoy.

0 comments:

Post a Comment

Share