![](http://1.bp.blogspot.com/-p0kSGN5a9Rw/WCV6tiLWpTI/AAAAAAAAMDE/n3_Pl0ajZscn5oMu616quVPCxmPs78kzACLcB/s1600/windows-10-data-protection.jpg)
As an extra layer of security, you can use this article to enable write protection on windows 10 to prevent users from copying any kind of data to a USB drive from your Windows 10 PC. In this article, we'll show you how to edit the registry and enable the write protection feature in the Windows 10 to prevent users from saving data to a USB drive.
![](http://2.bp.blogspot.com/--oGSA2YjvnU/WCV3Ffci9OI/AAAAAAAAMCs/xwTEARR2ZUk78Hg_sdDrIxidnkuo4Sx4QCLcB/s640/windows10-write-protect-usb-devices-1.jpg)
How to enable USB write protection
Note: editing the registry is risky, and it can cause irreversible damage to your installation if you are not much expert or don't do it correctly. It's best practice to take a full backup of your PC before proceeding.
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type regedit, and click OK to open the registry.
- Browse the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
- Right-click the Control (folder) key, select New, and click on Key.
- Name the new key StorageDevicePolicies and press Enter.
![](http://2.bp.blogspot.com/-aw2xIURwkHU/WCV3FzkmrfI/AAAAAAAAMC0/pUhfJLaGJRoA_dubBC5vVijaXfi7542GwCLcB/s640/windows10-write-protect-usb-devices-2.jpg)
- Select the newly created key, and right-click on the right side, select New, and click on DWORD (32-bit) Value.
![](http://4.bp.blogspot.com/-PVf9x5ZLtfI/WCV3Fhe21VI/AAAAAAAAMCw/WF7SYsEGiBkeqHLPfFFtJOmCd4I1-nNpQCLcB/s640/windows10-write-protect-usb-devices-3.jpg)
- Name the new DWORD WriteProtect and press Enter.
- Double-click the newly created DWORD and change its value from 0 to 1.
- Click OK.
![](http://1.bp.blogspot.com/-hF4PPaZw4Jk/WCV3Gqi-Y4I/AAAAAAAAMC4/EZVE8Lbat3wnYR71nRnAadCQHN3ljwZuACLcB/s640/windows10-write-protect-usb-devices-4.jpg)
- Close the Registry to complete the task.
Once you completed the steps, anyone who connects a USB drive to your computer will be denied copy privileges, and they'll get a "This disk is write-protected" message. As a result, no one will be able to edit, delete, create, or rename files in the external storage.
At any time you can revert the changes by following the steps mentioned above, but on step 8, make sure to change the DWORD value from 1 to 0.