Registry Hack to Disable Writing to USB Drives

Sponsored Links

A common security concern at organizations is allowing users to plug in a usb flash drive, because they could so easily copy corporate data.

Since Windows XP SP2, you can disable writing to USB devices altogether using a simple registry hack. Here it is:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]

“WriteProtect”=dword:00000001

Incoming search terms for the article:

8 Replies to “Registry Hack to Disable Writing to USB Drives”

  1. Even if I make one file by the name of StorageDevicePoliciesin control and define its value to 0 or 1 by using d-word value it still works. Awating reply ASAP

  2. i have an xp sp2 after HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    I DO NOT GET Control\StorageDevicePolicies WHAT DO I DO??

  3. Navigate to the Key given here by using Registry Editor and in the right side pane create new Dword. Name it as WriteProtect and keep the dword value 1.
    To re-enable USB writing make dword value 0

  4. where should i put this code:
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
    “WriteProtect”=dword:00000001

Comments are closed.