Block writing to USB Removable Disk in your computer
1. Navigate the key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
2. Create the following DWORD with value=1
WriteProtect
You do not need to reboot the computer for changes to apply
Enable writing to USB Removable Disk in your computer
1. Navigate the key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
2.Locate the following DWORD and give it a value= 0
WriteProtect
You do not need to reboot the computer for changes to apply
Download a .REG file with this setting from here

