How To Enable USB Write Protection on Windows 10
Still remember the little switch on the floppy disk that once flipped on it prevents you from writing anything onto the disk? Now you can have the same on any of the USB storages, like having a soft write protection switch on them, when you plug them in your Windows 10 computer.
All you need is a simple registry tweak, thanks to Winaero for sharing this trick. Here is how you can do it.
1. Open Registry Editor (Press Win + R, type “Regedit,” and press Enter).
2. Navigate to the following registry location:
3. Create a new Key and name it as StorageDevicePolicies.
4. Create a new DWORD-32 value “WriteProtect” and set its value to 1.
That’s it. Next time when you plug in a USB flash drive and are trying to copy a file or folder onto it, you will be getting an error message saying that the disk is write-protected.
And you won’t even see the New, Delete, or Rename options from the context menu when you right-click anywhere on the flash drive.
To disable the Write Protection, set the WriteProtect value to 0 or simply remove it. And then unplug the USB drive and plug it back in.
Unfortunately, enabling the write protection on USB via registry tweak is the only option at the moment. I do hope this can be done through Group Policy with the restriction on execution as well.
Meanwhile, to have a better control of your USB ports and their behavior, please check out this free tool which enables not only the write protection but the restriction on execution as well.