Monday, February 7, 2011

Enable/Disable Writing to USB devices

To enable writing to USB devices:

Code:

[HKEY_LOCAL_MACHINE\system\CurrentControlSet\Control\StorageDevicePolicies]
?WriteProtect? =dword:00000000


To disable writing to USB devices:

Code:

[HKEY_LOCAL_MACHINE\system\CurrentControlSet\Control\StorageDevicePolicies]
?WriteProtect? =dword:00000001

No comments:

Post a Comment