How to remove write protection from usb

Advice on how to remove write protection from my USB

Format the Drive, or use regedit to change dword value.

1.Enable and Disabling of USB write protect using regedit

Enabling USB write protect

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]

“WriteProtect”=dword:00000000

Disabling

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]

“WriteProtect”=dword:00000001