Khamis, 5 Februari 2015

How To Format A Write Protected USB Flash Drive

Ads by Google
32GB of sweet USB flash drive storage space just sits in your office drawer, ironically taking up space. Why? Because you can’t put anything else on it. It’s write protected and you can’t format the stupid thing! Or can you? We get a lot of people asking about formatting write protected USB flash drives.
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 type cmd 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.
Ads by Google

open-cmd-as-administrator

You should now see the Command Line Utility, which looks like the following.
command-line-utility

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.
diskpart

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.
completed-diskpart-remove-readonly

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.
kingston-dt101-8gb-usb-flash-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.
apacer-usb-format

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.
apacer-usb-format-restore

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.
apacer-usb-format-success

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.
kingston-usb-format-utility

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.

Ads by Google

48 Comments - Write a Comment

Reply

Kushal R

April 2, 2014
And the question still remains unanswered…

Guy M

April 2, 2014
Yes and no. The question was if you could format a write-protected USB flash drive. That can be done. It raises the question though, of how to remove write-protection if you can’t do it through the normal methods.
I think if you’ve followed all the advice given in this article and it’s linked articles, there’s nothing left but to get a new USB flash drive. In terms of the cost of time, you’d have already spent enough to buy a few new ones.
Reply

jas

April 3, 2014
I find using Gparted from a USB Linux install works exceptionally well–say 100% in the last six years. It is odd the program isn’t mentioned. The HP format tool works almost as well.

Guy M

April 3, 2014
Hi Jas, thank you for the info! I tried to stick to methods that were most likely to be tried by an average computer user. Once we throw Linux in the mix, we’ve gone into territory that most users aren’t willing to tread upon.
I did try the HP format tool for this article, but it failed in my tests. I have heard positive comments like yours from other people though.
Reply

Kevin

April 3, 2014
USB was working fine and suddenly become read-only + when all these methods failed => we should try re-flashing the I/O chip.
Reply

Hans

April 3, 2014
What about a flash drive with a separate CD part onto it for fingerprints? How does one get rid of that part?

anonymous coward

April 3, 2014
Hans, depends on the manufacturer of your usb drive. Their might be software the removes it all together such as U3 Software from Sandisk.

Col. Panek

April 4, 2014
I had one that had a Partition formatted as a “CD drive” and had a catalog on it. GParted made short work of it. Why use the command line on Windows to do it when a Linux GUI app does it quicker? And yes, I am aware of the irony of that!
Reply

anonymous coward

April 3, 2014
This only works if the USB drive is not write protected at the controller level be it firmware related or due to having too many bad blocks.
Reply

JOELJOHN

April 22, 2014
i HAVE TRIED FOR YEARS TO UNPROTECT AND OLD FLASH DRIVE. THIS FINALLY WORKED. THANKS

Guy M

April 24, 2014
Glad to hear that. You’re very welcome!
Reply

Mahar Zohaib

April 24, 2014
I did try this but facing same problem write protracted :-(
Reply

sanu

April 24, 2014
Thank you Sir…
Reply

rishad

April 28, 2014
after everything failed at last ‘The Apacer USB 3.0 Repair tool’ worked. firstly the format function didn’t work. then i used restore fuction and the drive shows fat32 file system and i couldnt format the pendrive. after unpluging and repluging i managed to successfully format the Kingston data travelor 111. thanx a lot dear friend :) :)
Reply

raj

May 11, 2014
Thnx god and a great thnx to u buddy, its really work….
i tried almost every single method but i did nt get my pen drive..
but finally Apacer USB3.0 Repair Tool helps me…

LVL91

June 13, 2014
Yep! This post with the Apacer USB3.0 Repair Tool did the trick for my ICIDU 32GB USB3.0 usb stick! Thanks!!!! Finally after tons of searching with no luck from the normal Apacer tool, Windows, Partition Manager, HP format utility.
Reply

Anonymous

May 14, 2014
Worked Perfect using the Restore Method! I really appreciate it!
Reply

Guy M

June 13, 2014
All you folks who found this article helpful and commented on that – Thank You!
That 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.
Reply

Prashant Pardeshi

July 26, 2014
thank u sir !!!!! Apacer USB3.0 Repair Tool helped me…..
I 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.
Reply

Guy M

July 27, 2014
Glad I could help!
Reply

Anonymous

August 8, 2014
I have never seen this Apacer tool but it works great! It was the only tool that recovered my drive after a loooong search and many other apps. Thanks very much!
Reply

Guy M

August 12, 2014
Glad we could help!
Reply

Stan

September 17, 2014
Thank you so much!
I 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 :)
Reply

Guy M

September 17, 2014
You’re very welcome! Glad we could help.
Reply

Aryan

September 21, 2014
i have moserbaer 16gb pendrive which is unable to format i try many method but i cant do format it show window unable to complete format plz help me
Reply

Guy M

September 22, 2014
I don’t have any other ideas, beyond what’s suggested in this article and elsewhere on MakeUseOf.com. It might be time to get another pen drive.
Reply

RAI

December 18, 2014
EVERYTHING IS FAILED FOR ME EVEN THIS … PLZZ DO HELP SIR

Guy

December 24, 2014
Hey Rai,
If you can give more details, maybe I, or one of our fellow readers, could help you out.
Error messages?
Drive make and model?
Details of what you’ve tried?
Details of the computer you’re using it on?
Those sorts of things.
Reply

Anon

December 21, 2014
i have a 256gb USB drive, no clue where it came from, but i doubt i coudl get another one. nothign works, i would really like to be able to use this…

Guy

December 24, 2014
Thumb drive? Can’t say I’ve seen one with that capacity. I have a feeling that the sheer capacity of it might be causing problems. Certain file systems don’t play well with larger capacities. Maybe try formatting as NTFS if you only use it on Windows systems?
I really don’t know what to suggest. Sorry.
Reply

Shehzad

December 24, 2014
Hey… it worked…
Alhamd-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 :)

bill

January 2, 2015
the ONLY thing works…i tried everything!!! Thanx
Reply

Guy

December 24, 2014
Hey Shehzad,
I’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!
Reply

Aswin Joseph

December 25, 2014
Hey i have a transcend 16 gigs pen drive and i tried all the options u gave. when i do restore option with Apacher it says device not found.. can u help me out of it
Reply

Guy

December 29, 2014
Transcend has a tool that may help.
Check out their JetFlash Online Recovery tool.
Reply

Joseph

December 30, 2014
Me Apply all the process what u give, but could not format USB write protected pen drive. Can you give a solution please?

Guy

December 30, 2014
Joseph, I’d need a lot more details.
Reply

Gulrez

January 1, 2015
Thanks a lot pal.. the apacer USB3.0 Repair tool worked like a charm.
Reply

Amit tyagi

January 2, 2015
No solution problem write protected pen drive no format
Reply

Arash

January 2, 2015
I used the DISKPART method. On the attributes list the “readonly” attribute was disabled (Readonly = No) by default. But still I couldn’t write / copy any file on my USB Flash drive.

Guy

January 2, 2015
Did you try any of the other methods? Maybe look into the manufacturer’s site to see if they have a tool that would help?
Reply

vishal

January 2, 2015
it didnt work on my hp v112b .
it shows disk attributies cleared sucessfully.
but when i formet it .
it show the same your drive write is proteceted.
Reply

Arun kumar

January 5, 2015
my sandisk cruser switch 32gp new pendrive is write protected .
tell all the methods to solve this problem plessss….
Reply

Arun kumar

January 5, 2015
I use these methods but pentdrive is not detect in the utility
so i cant format it
but our system read it
can u say other best method
my pendrive is sandisk cruser switch 32gp
Reply

Ken M

January 26, 2015
apacer did the trick–thanks!
Reply

Imran Ahmad

January 28, 2015
Had tried everything but only Apacer USB3.0 Repair Tool could work, but i used ‘Restore’ option. Thanks.
Reply

Mandy Sidhu

January 31, 2015
Thanku so much man !!! You r the best.. i tried everything , searched hours on google.. but nothing worked,… finally ur tool worked… thanku thanku thanku…
Reply

aghna shamsi

February 3, 2015
i have tried but its not plzz help me out
when i have typed list disk
disk 1 size is 3781 mb
then
ATTRIBUTES Disk
READ ONLY MEMORY : YES INSTEAD OF NO……….

Your comment


Tiada ulasan:

Catat Ulasan