Disable Writing to USB Devices

By | 2008-07-26

This registry hack works with both Windows XP (SP2 and greater), as well as Vista.

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

This does exactly what it looks like.  It marks the device as read-only, and forbids the user from putting files on the device.  

To make the hack effective, reboot after making the change.  Then ensure that no users have administrative rights on the machine, otherwise they could simply undo the hack.

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.