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
Here are some ways to format pen drive which is write protected :
Step 1. Connect your USB flash drive or pen drive to PC, launch EaseUS partition tool. Select and right-click the device you want to format and choose "Format partition" by right clicking the mouse.
Step 2. Configurate the label you want in the Partition Label box.
Step 3. Select the file system type to be created from the "File System" drop-down list. (FAT/FAT32, NTFS, EXT2/EXT3). If the USB drive is larger than 4GB, you can only choose FAT32, NTFS or EXT2/EXT3; and if the partition is smaller than 4GB, you can choose FAT, FAT32, NTFS or EXT2/EXT3.
Step 4. Choose the Cluster Size (512 bytes, 1, 2, 4...64KB) from drop-down list and click "OK" to apply the format operation.
Step 5. Click "Apply" to confirm to format the write-protected USB flash drive or pen drive.