Wednesday, December 16, 2009

TRICK TO PROTECT PENDRIVE FROM VIRUS

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\
      usb_write_protect_1
    * 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 .
     
    * 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).
      usb_write_protect_4
    * 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.

No comments:

Post a Comment