July 25, 2007

Write Protected Pen Drive(Win XP)

Sometimes, some one comes to you and asks to exchange data from Pen Drive. You really cannot easily say NO to him/her due to virus infected Pen Drive. There is a trick from which you can Disable Pen Drive Writing easily and you don't need to say NO to any of them.

Go to Registry Editor and make "WriteProtect" dword value under following registry hive.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
\StorageDevicePolicies

... then set "WriteProtect" value 1(one-hexa) for Disable and 0(zero-hexa) for Enable Pen Drive Writing.

Remember if there is no "StorageDevicePolicies" key then just right click on "Control" key and add it easily.

OR

Simply copy-paste following text and save it with .reg extension then simply run/merge it.
  • For Disable Pen Drive Writing
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control \StorageDevicePolicies]
"WriteProtect"=dword:00000001

  • For Enable Pen Drive Writing
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control \StorageDevicePolicies]
"WriteProtect"=dword:00000000


See following error message of Pen Drive writing:


..

1 comment:

lokit said...

Nice post.. Keep writing THANKS!!!!!