Disable Writing to USB Devices

Posted On 2008-07-26 by FortyPoundHead
Keywords:
Tags: Software Hack/Tweak Security Windows XP Vista
Views: 1642


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.


About the Author

has posted a total of 1974 articles.


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.81.71.219

Before you can post, you need to prove you are human. If you log in, this test goes away.


Code Links