In this guide, I will walk you through the steps to edit the registry to enable the write protection feature in the Windows 10 operating system to prevent users from copying data onto an USB drive. This adds an extra layer of security to your Windows 10 machine.

Enabling USB Write Protection Using the Registry

Step 1: Use Windows key + R keyboard shortcut to open the RUN  command.

Step 2: Type regedit and click OK.

Step 3: Go to the following path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

Step 4: Right-click the Control (folder) key, select New, and click Key.

Step 5: Name the new key StorageDevicePolicies and press Enter.

Step 6: Select this new key, right-click on the right side, select New and click DWORD (32-bit) value.

Step 7: Name the new word as WriteProtect and press Enter.

Step 8: Double click the newly created DWORD and change its value from 0 to 1.

Step 9: Click OK and close the registry.

Write protect USB drives

Now anyone who connects a USB drive to your computer and tries to copy the data from your machine will be denied.

Unable to copy data to USB drive

How to Enable Write Protection for USB Devices on Windows 10
Avatar

Karim Buzdar

About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. He blogs at LinuxWays.

7 thoughts on “How to Enable Write Protection for USB Devices on Windows 10

  • Avatar
    August 19, 2017 at 4:19 pm
    Permalink

    Now Enable Write Protection for USB Devices on Windows 10 is Working Thanks alot

    Reply
    • Avatar
      December 5, 2019 at 5:00 am
      Permalink

      How to Enable Write Protection for USB Devices on Windows 10

      Reply
  • Avatar
    February 8, 2019 at 5:35 am
    Permalink

    Thanks a lot for your help. U r genius

    Reply
  • Avatar
    December 29, 2019 at 7:33 pm
    Permalink

    How to disable the same.

    Reply
    • Avatar
      December 30, 2019 at 10:02 am
      Permalink

      Try to use 0 instead of 1 for the DWord value or delete the whole WriteProtect key.

      Reply
  • Avatar
    January 27, 2020 at 5:24 am
    Permalink

    I am not able to copy data from hard disk to external disk by either setting 0 or 1, kindly suggest the solution for Win 10.

    Reply
  • Avatar
    June 4, 2020 at 1:52 pm
    Permalink

    This is no longer located in computer. verify the item’s location

    Reply

Leave a Reply

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

*