This is very simple JavaFX program which enable you switch HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies WriteProtect to 1 and 0 without problems. Which means that USB drivers will be loaded with ReadOnly parameter, which is very good for Digital Forensinc.