If your pen drive is write-protected, you may not have the ability to modify files or format your drive due to restrictions associated with permissions and sharing. You can format a write-protected pen drive in Windows using Command Prompt.
Using Diskpart in Command Prompt (Windows)

Insert your write-protected pen drive into an open USB slot on your Windows computer.

2
Click on “Start” and type “cmd.exe” into the search field.
-
3Double-click on Command Prompt to launch the program.
-
4Type “diskpart,” then press Enter on your keyboard.
-
5Type “list disk,” then press Enter.
-
6Type “select disk x” — with x being the number of your pen drive as listed in Command Prompt — then press Enter. If unsure which number is associated with your pen drive, refer to the disk size listed. For example, if your pen drive is 2 GB, select the disk number next to the drive with 2 GB specified as the disk size.
-
7Type “attributes disk clear readonly,” then press Enter.
-
8Type “clean,” then press Enter.
-
9Type “create partition primary,” then press Enter.
-
10Type “format fs=fat32,” then press Enter. Alternately, you can replace “fat32” with “ntfs” if you plan on only using your pen drive with Windows devices.
-
11Type “exit,” then press Enter. Your pen drive will now be formatted, and will no longer be write-protected.
Penuel, I heard so many people saying like you. You can’t imagine how many Drives ended up in the garbage just because of lack of information.
Hi Onesphore, Thanks for sharing with us, your post came on time.
You are giving clear instructions and easy to follow.
Hi Beatrice, Thanks. for sure we ready to post different helpful contents in order to help our site visitors!!! much more contents are coming!!!
Could you please let me know how to make my usb flash bootable???
Next post is coming soon!!
Hey bro, this post helped me to format my drive, i was about throw it away.
Okey, we are here to provide differents tricks and technics to help the community.