Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

November 05, 2004 12:00 AM

Q. How can I mark my USB storage devices as read-only?

Windows IT Pro
InstantDoc ID #44380
Rating: (7)

A. Windows XP Service Pack 2 (SP2) introduces a new registry subkey that lets you mark USB-based storage devices such as memory sticks as read-only devices. This is a useful security capability that can prevent users from copying data from their systems and taking that data offsite via a USB device. To enable the USB write protection, perform the following steps:

  1. Start the registry editor (regedit.exe).
  2. Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies subkey. (Create the StorageDevicePolicies subkey if it doesn't already exist.)
  3. From the Edit menu, select New, DWORD Value.
  4. Type the name WriteProtect and press Enter.
  5. Double-click the new value and set it to 1. Click OK.
  6. Close the registry editor.
  7. Restart the computer.

To disable this change, you can either set WriteProtect to 0 or delete it.

Related Content:

ARTICLE TOOLS

Comments
  • Caroline
    4 years ago
    Mar 17, 2008

    @MPASupport....and any others who were curious--John created a new FAQ that details how to use Group Policy to make a USB drive read-only.
    Please go to InstantDoc ID 98588 or here's the article URL:

    http://windowsitpro.com/article/articleid/98588/q-how-can-i-set-usb-devices-to-read-only-via-group-policy.html

  • Caroline
    4 years ago
    Mar 14, 2008

    MPASupport--we've passed your question along to John.

    In the meantime....we just ran an article by Alex K. Angelopoulos that involves scripting that might be informative: “Controlling Removable Storage Access: Configuration for Vista and pre-Vista systems” at http://windowsitpro.com/article/articleid/98485/controlling-removable-storage-access.html

    Also, I saw a Microsoft article you might want to check out: “Step-By-Step Guide to Controlling Device Installation and Usage with Group Policy”

    http://www.microsoft.com/technet/windowsvista/library/9fe5bf05-a4a9-44e2-a0c3-b4b4eaaa37f3.mspx

    Best wishes, Caroline

  • Michael
    4 years ago
    Mar 11, 2008

    Can this be applied using AD group policy?

  • MANUEL
    7 years ago
    Jan 06, 2005

    Could this be applied as an administrative template in active directory and if so what would be the scripting/coding?

  • Anonymous User
    8 years ago
    Nov 05, 2004

    Very useful tip, especially for out high security areas.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.