Help me please d- . -b

I have 16gb toshiba flashdrive 2.0, recently I used it as bootable USB then I am about to format it now but it says its write protected. I googled this situation of mine and then found solutions like:

1. regedit changing value 1-0 the writeprotect under storagedevicepolicies, and then restart it.

2. using HP usb tool for formatting.

3. trying it in other computer.

4. scanning it using my avast.

Unluckily none of them worked
 

someguynamedmatt

Distinguished
Have you tried diskpart from a command line?

Try this. It will obviously erase whatever happens to be on that flash drive.

Run > cmd
Type 'diskpart', hit enter
Type 'list disk', hit enter, find the entry that matches your flash drive. Make sure it's correct so you don't erase something important.
Type 'select disk #' where # is the number of your flash drive in that list.
Type 'clean', hit enter
Type 'create partition primary', hit enter
Type 'select partition 1', hit enter
Type 'format fs=fat32 quick', hit enter
Type 'assign', hit enter

...and that should give you a completely clean and formatted drive. If those still deny access, I'd say it's time to start looking for a new flash drive.