- Use the
+ R (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\ControlRight-click the Control (folder) key, select New, and click on Key.
Name the new key
StorageDevicePoliciesand press Enter.Select the newly created key, and right-click on the right side, select New, and click on DWORD (32-bit) Value.
Name the new DWORD
WriteProtectand press Enter.Double-click the newly created DWORD and change its value from
0to1.Click OK.
10.Close the Registry to complete the task.
To revert the changes follow steps 1-10 above, but on step 8 change the DWORD value from
1to0.
Fonte: Como ativar proteção contra gravação para dispositivos USB no Windows 10


