Flash drives are used to transfer files from computer-to-computer. If you would like to disable write-protected flash drive use from your registry, you can do it with the regedit command on your Windows system. Once you run the disable command on your system, you will not be able to use the USB ports. You don't have to be a computer genius to remove the write protected flash drive from your USB ports. You can do it with a few keystrokes.
Click the "Start" button and then click on the "Search" icon.
Type "regedit" into the search bar and press the "Enter" button to launch the Registry Editor.
Click on the "HKEY_LOCAL_MACHINE" icon. Click on the "System" icon and then click on the "CurrentControlSet" icon.
Click on the "StartageDevicePolicies" icon.
Click the "WriteProtect" text and change the "dword:" value to "00000001."
Exit out of the Registry Editor to finish the modification.