How To Format A Write Protected USB Flash Drive
First, make sure this is what you need to do. Are you sure you don’t just have a dead USB port? Maybe it’s just that your flash drive is corrupted?
We’re going to get to the bottom of this problem and either you’ll be stashing all your fresh Firefly fan fiction on that drive, so the boss doesn’t see it, or you’re going to be doing the Office Space dance on it in the parking lot. It’s one or the other today, baby! Let’s go.
First things first – can you remove the write protection? Let’s assume you’ve followed all the steps in our article on fixing write protection errors on a USB pen drive. There’s still one thing we can try that was the victim of oversight in that article.
Remove Write Protection With Diskpart Command Line Utility
Click on your Start Menu and typecmd
in the Search for programs and files field. It should show up at the top of your Start menu. Right-click on it and select Run as Administrator.
You should now see the Command Line Utility, which looks like the following.
Type in the command
DISKPART
and hit Enter.
Diskpart is a disk-partitioning tool that is built into Windows and is
accessible through the Command Line Utility. With it, we can change the
values associated with your USB drive.Now type LIST DISK and hit Enter. You should see a table something like the one below. It shows two disks being available: the Hard Disk Drive (HDD) as Disk 0, and the USB flash drive as Disk 1. We know that the USB flash drive is Disk 1 because it is much smaller than Disk 0 at only 7441 MB versus 298 GB. Be very careful from here on out! You can see that if you start working with the wrong disk, things can get ugly quicker than when the lights come on at last call.
At this point, type SELECT DISK 1 and hit Enter. You’ll be rewarded with the knowledge that Disk 1 is now the selected disk. Type in ATTRIBUTES DISK, and Diskpart will tell you what you want to know about your flash drive. Most important is the first line Current Read-only State: Yes. This lets us know that, indeed, the flash drive is write protected.
To remove the write protection with Diskpart, type the command ATTRIBUTES DISK CLEAR READONLY. If it works, that will be confirmed by the line Disk attributes cleared successfully.
Double-check this by trying to copy a small file to your USB drive. If it works, great. If you still get the write-protect error, it’s time to bring out the big guns. Software utilities.
Disk Formatting Test Method
The test bed for these utilities is a Windows 7 computer with a Kingston DataTraveler DT101 G2 8GB USB 2.0 drive.Before each test, the drive has a test file placed on it and the drive is write protected via the Diskpart tool. The USB drive is then removed from the computer and reinserted. This ensures that the computer is reading the most recent attributes. Skipping this step sometimes results in Windows Explorer not being able to see the drive.
The USB drive attributes are checked in Diskpart and an attempt is made to copy another test file to the USB drive. If the copy fails then it can be safely assumed that the write protection is working.
The formatting utility is then run on the test drive. If it ends with a success screen, then the USB drive is checked in Windows Explorer to see if the test file is still there. If the test file is gone, the utility is declared to have formatted the USB drive successful.
To see if the formatting removed the write protection, an attempt is made to copy the test file to the USB drive. If the file copies successfully, the write protection has been removed. If not, then the drive attributes are checked via the Diskpart tool to see if the drive is still write protected, and accessible by the computer.
We’ll only talk about the utilities that did work on this particular drive. Other formatting and USB drive utilities may work on your drive, especially if it is something provided by the maker of your drive. If the maker’s utility doesn’t work for you, consider going to the place where you bought it or contacting the maker. Many of them offer repair or replacement services.
USB Formatting Utilities
Apacer USB3.0 Repair Tool
The Apacer USB 3.0 Repair tool has two functions – format and and restore. It’s no-frills.As you can imagine, format is intended to format the USB drive and restore is meant to make your USB flash drive work again. How the restore function works is by performing a low level format. That completely wipes your USB drive and restores it back to its factory default values.
The format did work on the test drive, however the write protection was still intact. The restore function also formatted the flash drive and renamed it PUBLIC, but still the write protection was intact.
If neither of these functions works on your Apacer USB drive, Apacer does have a statement on their website asking you to contact, “…the authorized Apacer dealer or distributor that you original purchased the product to get replacement, if the flash drive still can not be repaired.”
Kingston Format Utility
As soon as the software was started, it identified the drive, and it’s current file system.Very quickly, it worked, but still left the flash drive write protected. Like the Apacer tool, it changed the name of the drive as well, but to Kingston instead of Public. It wasn’t terribly surprising that it worked, with the test drive being a Kingston product.
The Takeaway
These two programs were the only ones that worked on formatting test drive, so they very well may work on your drive. However, the programs did not remove the write protection, which was what we really wanted to happen.As was noted before, check the website of your USB flash drive manufacturer to see if they have a program that might help you, or a repair or replacement service. Remember to try all the steps mentioned in the fixing write protection errors on a USB pen drive article as well as the instructions for changing attributes in Diskpart. If all of that doesn’t work, you might want to put on your stomping boots, do the Office Space dance on it, and head down to your local retailer to get a new one.
If you’ve found another way to format a write protected flash drive and remove the write protection, we’d love to read about it in the comments. After all, we’re all in this together.
Image Credits: Kingston Flash Drive via Amazon, Protected Shield, via Shutterstock, Hubble Image, via Wikimedia.
48 Comments - Write a Comment
Kushal R
April 2, 2014jas
April 3, 2014Kevin
April 3, 2014Hans
April 3, 2014anonymous coward
April 3, 2014JOELJOHN
April 22, 2014Mahar Zohaib
April 24, 2014sanu
April 24, 2014rishad
April 28, 2014raj
May 11, 2014i tried almost every single method but i did nt get my pen drive..
but finally Apacer USB3.0 Repair Tool helps me…
Anonymous
May 14, 2014Guy M
June 13, 2014That is the best payment I could receive. I love it when something I do helps others. That’s why I write – so you don’t have to have the frustration I’ve had with a problem.
Prashant Pardeshi
July 26, 2014I recovered my flash drive which was write protected. I used gparted partition software(Ubuntu), Minitool Partition Wizard, TestDisk software, and also edited registry. Done everything but didnt worked. Thnx to you I solved my problem.
Guy M
July 27, 2014Anonymous
August 8, 2014Guy M
August 12, 2014Stan
September 17, 2014I too had this problem just the other day and nothing mentioned all over the Web worked, until I came across this article! The Apacer USB 3.0 Repair Tool did the trick, after two days of endless searching. The drive had no write-protect switch, no Windows or Linux utility worked (trust me, I used them all!). The format option of the Apacer tool did not work either, but the restore option did! I was just about to trash the drive and get a replacement and had sworn this was gonna be the last tutorial I’ll look at. Thanks to you, my drive is okay and working like new again :)
Guy M
September 17, 2014Aryan
September 21, 2014Guy M
September 22, 2014RAI
December 18, 2014Anon
December 21, 2014Shehzad
December 24, 2014Alhamd-O-Lillah all my data was SAVED.
Thank you Guy M.
I used “Apacer USB3.0 Repair Tool”.
First I copied all the stuff from my “read-only” pen drive to PC.
Then;
Pressing “FORMAT”, didn’t work. (format failed)
But,
Pressing “Restore”, well! it did the work.
It was restored to “Factory Default”. I copied All my data back and; YEEEEAH :)
Guy
December 24, 2014I’m really glad my article could help you. Thank you for letting me know something helped you. That’s what I do this for. It also helps all our fellow readers see what might work for them too!
Cheers!
Aswin Joseph
December 25, 2014Guy
December 29, 2014Check out their JetFlash Online Recovery tool.
Joseph
December 30, 2014Gulrez
January 1, 2015Amit tyagi
January 2, 2015Arash
January 2, 2015vishal
January 2, 2015it shows disk attributies cleared sucessfully.
but when i formet it .
it show the same your drive write is proteceted.
Arun kumar
January 5, 2015tell all the methods to solve this problem plessss….
Arun kumar
January 5, 2015so i cant format it
but our system read it
can u say other best method
my pendrive is sandisk cruser switch 32gp
Ken M
January 26, 2015Imran Ahmad
January 28, 2015Mandy Sidhu
January 31, 2015aghna shamsi
February 3, 2015when i have typed list disk
disk 1 size is 3781 mb
then
ATTRIBUTES Disk
READ ONLY MEMORY : YES INSTEAD OF NO……….