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_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies]
“WriteProtect”=dword:00000001
Incoming search terms for the article:
- HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStorageDevicePolicies]WriteProtect=dword:00000001,windows 7 reg hack turn off updates
Related posts:
- How to hide drives in your PC
- [How To] Block programs in Windows 7 using Registry Editor
- Hide ur drives || Lock ur drives
- Stopping Unneeded Startup Services
- [How To] Permanently disable UAC in Windows 7 / Vista
- [HOW TO]Lock/hide your drives using Mountvol.exe
- How to Disable Autorun in Windows XP
- How to disable security alerts in Windows
- Add “copy to” and “move to” options in right click(XP)
- [HOW TO]Boot From USB|Make your pen drive bootable

where should i put this code:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
“WriteProtect”=dword:00000001
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
i have an xp sp2 after HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
I DO NOT GET Control\StorageDevicePolicies WHAT DO I DO??
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
Yupp, it’ll work
Just try it that way
hey thanks a lot man.
welcome mate
[...] 2.Registry Hack to Disable Writing to USB Drives [...]