Windows Client OS

Configure USB Disks to be Read-Only in Windows XP SP2

How can I configure USB Disks to be Read-Only in Windows XP SP2?

Since USB Disks-on-key and other external USB storage devices have appeared, the fact that users can transfer sensitive data from their corporate computers to their portable USB devices has caused great security concerns. Some 3rd-party software exists that can effectively block all USB storage devices throughout the corporate network, but sometimes a simpler approach is needed.

This tip only works with Service Pack 2 installed in Windows XP Pro.

Sponsored Content

Read the Best Personal and Business Tech without Ads

Staying updated on what is happening in the technology sector is important to your career and your personal life but ads can make reading news, distracting. With Thurrott Premium, you can enjoy the best coverage in tech without the annoying ads.

To prevent users from being able to write to USB disks follow these steps:

  1. Open Registry Editor.

  2. In Registry Editor, navigate to the following registry key:


Note: This key might not exist. In that case simply create it as a new key under the parent key.

  1. Create the following value (DWORD):


and give it a value of 1.

Note: As always, before making changes to your registry you should always make sure you have a valid backup. In cases where you’re supposed to delete or modify keys or values from the registry it is possible to first export that key or value(s) to a .REG file before performing the changes.

  1. Close Registry Editor.


Try to write something to any USB Disk and you’ll get the following error:

Related articles

You might also want to read the following related articles:


Rename or Delete Special Folders

Related Topics:

Download this eBook!

External Sharing and Guest User Access in Microsoft 365 and Teams

his eBook will dive into policy considerations you need to make when creating and managing guest user access to your Teams network, as well as the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure. The eBook will also outline some of the major decision points across four general-purpose guest access policy scenarios for how an organization can set this up with standard licensing.

Download Now

Sponsored By