Disable Writing to USB Drives in Windows XP and Windows Vista
By default users can insert a USB disk in the system and read from, or write to it without limitation. Windows XP Service Pack 2 introduces a new setting which helps system administrators to restrict the ability of users to write to USB storage devices.
Disable writing to USB drives - Windows Vista / XP (SP2 and higher)
1. Launch Regedit.exe and navigate to:
(If the StorageDevicePolicies key does not exist already, you need to create it.)
2. Create a new DWORD value named WriteProtect
3. Double-click WriteProtect set its Value data to 1
4. Exit the Registry Editor.
Registry Fix
To automate the above setting, download usbwriteprotect.zip and save it to the desktop. Unzip and extract the files to a folder. Double-click usbwriteprotect.reg to implement the above setting. To reverse the changes, run undo.reg.
With this setting enabled, users will see the error The disk is write-protected. when trying to write to USB disks.

Administrators can implement this setting as part of a security strategy to prevent data theft using USB devices. This setting works fine in Windows XP Service Pack 2 and higher, and in Windows Vista systems as well. For more information, see section StorageDevicePolicies in the Microsoft TechNet site.
Copyright © 2008 Ramesh Srinivasan. All rights reserved.
RELATED POSTS
- You can defrag individual drives in Vista SP1
- Create Shortcuts to Eject and Close CD/DVD Drive
- How to Enable or Disable Aero in Windows Vista
- How to disable Windows Parental Controls reminder
- Search… context menu option removed in Vista Service Pack 1
- Speed up the Send To menu in Windows
- Mapped drives are not seen from elevated Command Prompt in Vista
- Remove, Disable and Enable buttons are grayed out in Windows Defender
- Enable or Disable Thumbnail Preview for PDF Files
- How to disable the splash screen in Windows Mail
BOOKMARK THIS PAGE
BlinkList | del.icio.us | Digg it | Furl | ma.gnolia | Newsvine | reddit | Spurl | Wink |



If you enjoyed this post, make sure you
Prefer an E-mail subscription?