I am using a HP V220W 32 GB pen drive. It shows "the device is write protected" error/message when I attempt to format it. I have tried both, command prompt as well as regedit method but the problem is still the same. I also tried downloading U-fix II/III but that is also not working.
again and right click control folder
step 2: select new, then click key and rename the new key #1 folder into StorageDevicePolicies
step 3: right click StorageDevicePolicies folder and select new DWORD(32-bit) Value for 32-bit Operating System and select new DWORD(64-bit) Value for 64-bit Operating System
step 4: rename dword newer folder into WriteProtect, then double click WriteProtect and change the value data into 0 with hexadecimal base, Then close regedit
step 5: open my computer and refresh it 5 times without do anything to your usb, and properly eject your flash drive
step 6: plug in your usb again into your computer and format it using exfat instead of fat32