Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Help! USB flash drive suddenly became write-protected

May 10, 2013 8:45AM PDT
Question:

Help! USB flash drive suddenly became write-protected


I have a 64GB USB flash drive that suddenly went "write-protected" (read only). It has no tiny little switch to unprotect it, but seeing as there really wasn't anything critical to be lost, I decided that a simple reformat would fix it up. Unfortunately, W7 can't format it because it's write-protected. The error message says to undo the write protection before formatting (starting to look like an old "Catch-22" scenario). I bought it on eBay from China and can't identify the manufacturer, so there is no help there.

I scoured the Internet to find what I was sure would be a simple solution. I've tried virtually every suggestion and freeware tool that numerous Google searches have proffered. My drive is still unusable and to my surprise, it turns out that there are quite a lot of us out there getting increasingly frustrated with the same problem. Short of smashing the drive with a hammer, I don't see how else to end this dilemma.

Frankly, you are my last resort. Unless some genius out there has a solution that actually works, I'll definitely resort to using a hammer. If it comes to that, I bet I will even smash it with relish. That's how frustrating this seemingly simple problem has become for me.

Anyhow, thanks in advance for any help you can hook me up with.

-- Submitted by: Norm B.

Discussion is locked

- Collapse -
Write protected USB drive
May 25, 2013 12:57AM PDT

Hi Norm, save yourself a lot of headaches and go buy a new USB drive. Nowadays they're relatively cheap. Then put your OLD drive in your computer and copy the contents to a new folder on your computer. Then copy the contents of that folder to your new USB drive and save the cost of going to a psychologist that you'll no doubt have to see to get the old one to ever work again!.

- Collapse -
Write protected USB drive
May 26, 2013 6:22AM PDT

Hmmmm.... I never thought about asking a psychologist how I could fix my drive.

- Collapse -
I Just Went Through This
May 25, 2013 12:59AM PDT

I just had the same problem with the SD card in my phone. I had apparently removed it without ejecting/unmounting, and tried all manner of hacks and utilities to no avail. I'd finally consigned myself to replacing the card, and stuck it in my PC to back up the contents. I was greeted with a dialog saying that it has been removed without ejecting, and offered options to continue or scan and fix the problem. I told it to scan and fix, such it back in my phone, and voila! Problem solved.

- Collapse -
Write protected USB drive
May 26, 2013 6:19AM PDT

Nice story.................. it helps me how????

- Collapse -
I Just Went Through This
May 27, 2013 3:12AM PDT

I helps you by pointing out that running CHKDSK or selecting "Check for errors" on the Tools section of the drive's properties (right-click on drive in computer browser window, properties, tools, check for errors) may fix your problem the same way it fixed my SD card. SD card readers are USB devices even when they are mounted to the case as an internal drive and as far as Windows is concerned, there is no difference between the SD card and your USB stick.

- Collapse -
USB Flash locked issue
May 25, 2013 1:16AM PDT

Just picked up this thread, so I'm at a disadvantage here . Is this a Linux formated device? I ask cause I see someone giving you that route.
If it is a DOS (YES windows any flavor is still DOS) I have bypassed the "lock" situation (if the drive is not defective)
by using DOS command tools:
Open a Command Prompt with administrative privileges (Right-click > Run as Administrator).
Type diskpart and press Enter.
List the disks by typing: list disk <enter>
Select the external USB disk by typing

Select disk X (X being the external drive)

List the disks by typing: list volume

Select the volume by typing (in my example the external disk was using volume 4):

select volume X (X= volume of the external disk)
You will get confirmation that the USB drive has been selected

Set the read-only attributes for the disk and volume to be off:
Now the disk and Volume are selected
Set the read-only attributes for the disk AND volume to be off:

attr disk clear readonly

attr volume clear readonly

To confirm:
Display the disk details: detail disk
Display the volume details: detail volume

Most likely either the disk readonly or Volume readonly attrib was on

This has happened to me on drives that I change from PC to PC on a regular basis at at some point the disk ownership was taken by a rogue machine.

This is NOT MY original solution , but I forgot where I found it. The key to ME is drill to cmd (Dos) with Administrators rights. You'd be amazed as to how handy that DOS prompt still is. Happy

- Collapse -
Using Diskpart
May 25, 2013 3:01AM PDT

I get as far as "attr volume clear readonly" and then the response is "the operation is not supported on removable media".

So thanks anyhow but still no joy :-}

Cheers.

- Collapse -
Weird it has worked for me in a few ocassions
May 26, 2013 11:41PM PDT

Must be a PAIN. going to all the "suggestions" . You have the patience of a saint. The message as far as "operation is not supported on removable media" has me baffled . There is a way to set attributes so the drive appears as fixed drive to enhanced performance.
The link below is more or less what I sent first but does give you a path to change removable to fixed.
http://windows7themes.net/solution-to-media-is-write-protected-error-cannot-write-to-disk-remove-read-only.html
IT IS dangerous because you're in the register tweaking a system wide branch as far as storage is concerned but it will make your USB fixed for the time being. Before I send this I took a risk on my own and tweaked the register and 2 USB drives I have (1 -1TB & 1 thumb drive) performed as fixed devices..
I've been telling clients to try to avoid the USB shuffled but their answer is very valid .."So wasn't THAT the advantage?) well it is but as you can see if you have more that 1 USB port people are not diligent as to what port the drive gets plugged in or if the drive has the same letter as it did on a previous PC. If you still have the energy .. check the URL .. sometime may crack open .. GOOD LUCK.

- Collapse -
This is how they were designed
May 25, 2013 1:53AM PDT

Actually your USB drive is working correctly. This is how it was designed.
Let me explain - Flash wears out, as time goes on errors occur.When the errors increase to a certain amount spare blocks of memory are used, but when there are no more spare blocks and high error count, the controller must switch to read only, since any more writes will cause data loss.
If you buy cheap USB flash sticks, they use lower grade Flash chips that will wear out quicker (like those used in many cheap Chinese flash parts USB and SD), sometimes only being able to be rewritten a few times. Even USB sticks using higher quality flash will eventually wear out f you write many times.
You will see this explained by Endurance of the Flash.
So your controller has switched to Write protect to stop you losing data. The little switch on the side only tells the controller to enter write protect.It is not a hard wired block to the memory.

- Collapse -
This is how they were designed
May 26, 2013 3:22AM PDT

Thanks............. i guess. So you're voting for me to smash it then right?

- Collapse -
I'd like to know when you do it!
May 26, 2013 6:13AM PDT

You'll feel so much better!

- Collapse -
Ah, exuse me ...
May 26, 2013 12:26PM PDT

This is NOT how they are designed - to fail in a few months. Even the cheapest memory should be good for around 10,000 writes. The better memory rates around 100,000+ ... Try this: go to the store and purchase a bulk model 1GB drive. Then, write a little app that will fill then delete the drive repeatedly until the drive fails. Be sure to include a counter mechanism so you can report back with the results of how many times and how long it took you to wear it out running this little proggie 24/7.

- Collapse -
question is their a password box if so. typy in manfacture
May 25, 2013 2:02AM PDT

question is their a password box if so. typy in manfacture name

- Collapse -
Password Box
May 26, 2013 3:21AM PDT

Password box???? What Password box? Manufacturer? Did you read my original post?

- Collapse -
IsoBuster
May 25, 2013 3:14AM PDT

A few years back, a CD with my prior year's TurboTax info became unreadable and would not import to the current TurboTax. It would have taken me several long days to pull all of the info from the paper forms because I also do the taxes for all of my daughters' families.

After listening to my anxiety attack, pity party, ranting about the end of the world, and seeing me break out the good whiskey - my wife calmly called Nate (my nephew & a computer god). He instantly recommended IsoBuster Pro. It worked like a charm. Since then I've used IsoBuster to recover data from locked or "unreadable" CDs, DVDs, flask drives, and even an old hard drive. I highly endorse it. Please note - I married a wonderful woman way above my pay grade who has the patience of Job and teaches special needs children. That's probably why she does so well with me.

While possibly overkill, since the tax issue I triple backup all critical data, pictures, and music. Everything else gets at least 2 backups.

- Collapse -
IsoBuster
May 26, 2013 4:27AM PDT

Interesting but.........., I'm not trying to recover any important data. I have double backups of all my important files. All I'm trying to do here is to fix the drive and make it usable again. Thanks anyways for your interest.

- Collapse -
Rights and Ownership of USB
May 25, 2013 3:21AM PDT

Hello Norm, et. al.,

I have run into this situation not with USB devices, but with Folders and Files on my drive in Win 7. Microsoft in their far reaching wisdom, well beyond that of normal mankind, frequently likes to decide that you have no business using/deleting/modifying files and directories and will deny you access to them, telling you they are write protected and/or you don't have any business playing with them. To resolve this issue, you have to take ownership of the files/directories and then assign rights to allow you to access them. I don't KNOW this is the case with your drive, but I suggest trying it.

Unfortunately, I don't have a windows machine to verify these steps exactly, but you should be able to figure it out from what I provide here:

Insert the drive into the computer.
Right-click on it in Windows Explorer and choose Properties.
On the Properties page, find the tab marked Security and click that.
Here you want to choose Advanced as I recall. On the next page displayed, there will be another Advanced button I think, choose that again. On the window that comes up here, choose the "Owner" tab.
Choose Edit and on the next page, select your user account in the window and then Take Ownership, being certain to apply it to all subcontainers/folders/files.

Close all the Windows.

Now, again, right-click on the drive, choose Properties, and then the security tab. I beleive you again need to select the Advanced tab, but I cant remember. What you are looking for is the page which lists all the user/groups and their rights.
Choose the option to edit the rights and on the next page, be sure to select your user name. If it isn't in the list provided, then you will need to add it using the search function. Once you have your user selected, select "Full Control" from the list and make certain that the box to inherit parent permissions is NOT selected and to apply it to all subcontainers and files. Hit apply. If I have divined the correct cause of the problem, you should now have full access to your drive again.

- Collapse -
USB drive(s) become write-protected
May 25, 2013 4:16AM PDT

Yes, I concur that this problem happened to me some months ago and I was unable to save a document. On that occasion I put another memory stick into the computer in another USB port and the document was saved on that.
However, I have since been unable to "unlock" the affected memory stick and save anything to it using any means to do so even though when I go to "Properties" it shows 383MB of free space. I can still access all the information stored on it, be it documents, family pictures, pdf files, etc. So I have not wanted to do anything drastic that might delete information.
I use the Vista OS.
I have now discovered a method that allows me to save to the USB drive:
Go to the "Computer" page right click the device (your USB stick) and select Properties,
Select "Hardware" - which is the third tab across the top in my case
Under the heading "All disk drives:" highlight your USB stick by selecting it with your mouse
Now select the Properties button at bottom right of this page
The new page will say "Device is working properly" but select the Policies tab at the top (second along in my case)
Now select "Optimize" for Performance (Rather than the default "Optimize for quick removal")
... and you will find that you can save to the drive again (at least- I can - so I hope you can too!)

- Collapse -
Optimize for Performance or Quick Removal
May 25, 2013 5:09AM PDT

If you optimize for performance, you will be enabling write-back caching, which is something you probably don't want. What that does is stores the data to be written in cache so that it is written over time while the machine is doing other things instead of being busy writing the data to the drive, it speeds things up. The problem with this is that if you remove the drive before it is done writing, or if you lose power, you will lose data. In addition, I have my suspicions that this type of event could be the very cause of the issue - Windows is in the process of writing something and it takes "ownership" while engaged. If power is lost or the drive pulled out before the action is done, I suspect it may be being left in a locked state where it can't be written to by another process - it thinks it is in use but it isn't. I could be completely wrong, but I believe that something like this is the cause, that Windows changes rights/ownerships while doing its thing and if the process is interrupted for any reason and Windows isn't able to set the rights back to what they should be, you are left without write access.

- Collapse -
Optimize for performance issue
May 25, 2013 7:11AM PDT

Your cautionary remarks are fitting, tumbleweed and you make a sensible contribution.
My purpose is to identify how the problem of not being able to Save to the drive can be overcome. This should help us to focus attention on the prime cause I trust - in other words, I have managed to establish that the USB memory stick itself has not been rendered defective, hence this can now be ruled out. (So don't despair folks and don't put a hammer to your memory stick - it is innocent!) The fault obviously lies within the computer (yet is not specific to that computer or OS it seems).
On my particular memory stick are some files which are security sensitive and which are protected with a password. The program involved is a non-Windows or Microsoft one but it is made by a large well known company and I was wondering if this has a significance - yet it is highly unlikely that there are many who have to employ security safeguards to this extent I presume? Nevertheless, perhaps password use or even encryption use that stems from Freeware for example, could lead to the problem. Ideally, each possibility needs to be ruled out.
It also helps to know that the problem is not applied generally to all memory sticks - so it has to be caused by either something triggered on the particular memory stick or the manner in which the computer handles the particular device, which is always allocated the same letter notwithstanding which USB port is employed.

- Collapse -
Optimize for Performance or Quick Removal
May 26, 2013 4:08AM PDT

I think you may have hit the nail on the head. The drive became write protected after I had pulled it from a high def signal tv receiver. The receiver can be used as a PVR so long as you have a minimum 50 Gb drive plugged into it. When I pulled the flash I think the receiver was still on which according to you could explain how it got write protected.

So, I plugged it back to the receiver. It asked if I wanted to format. I said yes. Once done, the receiver shut itself off. I then unplugged the drive. I turned on receiver back on to confirm that it was ok. Then I plugged the drive back into my PC and after all that............... still no joy.... it's still write protected :-{

Any other "new" ideas (like this one) would be most welcome.

Cheers.

- Collapse -
Important information
May 26, 2013 8:28AM PDT

I think the fact it became write protected after being removed from a PVR is important information not in your original post. These types of video appliances typically run some form of Linux operating system.

Are you able to write to it using the PVR after the reformat?? At least there would still be a use for it.

Maybe you should explore the Linux option further. If you use a Linux live on CD distribution (there are a number of them now including Knoppix) and run the "fdisk" command I think that utility supports almost every known file system. If you run "man fdisk" at a command prompt it should give you more information than you ever wanted to know, about deleting partitions, etc. Nothing lost with the stick if you're already willing to smash it, but you should definitely back up the entire computer you attempt this on lest you accidentally delete a partition on your hard drive.

- Collapse -
Important information
May 26, 2013 12:49PM PDT

I've made note of your suggestion and will give it a shot as the last thing I try before smashing it. Thanks.

- Collapse -
But...
May 26, 2013 11:59PM PDT

Will the high def. receiver, PVR, or whatever you want to call it, write to the stick as it's supposed to? I think that's the crux of your problem. If yes, it's still useful for saving files from the receiver and playing them on something else like a PC (if that's what it does when it's acting like a PVR). If not, it's probably permanently hosed and not good for anything.

The receiver putting a proprietary file system on the device is a reasonable explanation for everything you've reported. It could also be an imperfectly implemented exFAT file system. Reading up on exFAT in Wikipedia, it's fairly new (no doubt in response to the relatively new large sized USB drives) and a proprietary Microsoft thing. They don't release certain details apparently--as was the case for NTFS.

Until recently USB sticks typically came formatted FAT32. It is unsuitable, however, for file sizes larger than about 4GB, which single files of HD video greater than an hour in length typically are. So the receiver might be perfectly willing to reformat the USB but in a way the read-only attribute cannot be reset by a Microsoft OS.

I take it you've already looked for a place where you can set or unset write protection in the receiver. If you haven't, it would probably be in an on-screen menu somewhere.

- Collapse -
Also,
May 27, 2013 5:10AM PDT

I've tried in the past to format a flash drive with NTFS, but Windows wouldn't do it--perhaps because NTFS would quickly exhaust the maximum read-write cycles of a flash, which brings us back around to some of the original diagnoses.

Since flash drives more than 50GB in size used to be rare, it's possible the receiver used that criterion just to check whether it's a flash drive, then did something it shouldn't have to the flash. It wouldn't be the worst, most short-sighted thing a programmer has done, by a long shot. Or it's possible it got hosed just by being pulled out without being properly un-mounted.

I usually do un-mount them in Windows or Linux before pulling, unless I'm told another program is using it and I can't figure out what. I've only gotten in trouble once or twice doing that. I think it just deleted all the files, or at least made them unreadable. But your mileage may vary.

You never said whether, when you told the receiver to re-format it and it shut itself down, the original files were gone, indicating it really did format. Nor have you said yet whether you've tried writing to it with the receiver.

I understand where you're coming from, not wanting to let this beat you even though many more person hours than the thing is worth have probably been spent. Sooner or later, though, you'll either succeed or give up, putting an abrupt end to this thread.

- Collapse -
Oh Boy!
May 26, 2013 12:36PM PDT

That was an important piece of the equation to leave out (as the previous poster noted). That bit of info invalidates the vast majority of responses you have received. You aren't dealing with a computer OS or hardware issue, rather, you are dealing with a PROPRIETARY system for formatting/writing to the drive which is not compatible with Windows/Linux/Macs. Essentially, it sounds like the receiver is using a non-standard formatting method or implementation which allows normal PC OS's to see that it is there but unable to tell it how to write. I suggest taking a look at the documentation of the Hi-Def Receiver and and seeing if there is some help there. If you post the make and model, we might be of more help. If you check with the support staff for the receiver, they have probably run into this before and probably have some help for you.

- Collapse -
Oh Boy!
May 26, 2013 2:56PM PDT

It' a Bell 6131 High Def Receiver. It's not a PVR. It has a USB port to attach a minimum 50 GB drive in order to let it behave like a PVR.

It only dawned on me that this could be the cause of the problem when one of the replies suggested that pulling a drive prematurely from a PC while data was being written to it would cause the drive to be write protected. I wasn't actively recording a show when I pulled the drive however I forgot that regardless of active recording, the PVR is constantly writing anyway as that is what allows you to pause and even rewind live TV.

I have tried reinserting the drive to the receiver and letting it reformat. Once supposedly done, I made sure to turn the receiver off before pulling out the drive but unfortunately it's still write protected. I will follow your suggestion to call Bell support however I'll be amazed if they actually have a solution.

Thanks for your comments. Cheers.

- Collapse -
I do believe we have a winner
May 27, 2013 8:19AM PDT

I found an aricle which confirms, albeit not conclusively, that the file system of the receiver is NOT compatible with PCs. Please see: www.digitalhome.ca/forum/showthread.php?p=1454479 (I am on the.road using my cell phone or I'd research.more extensively.)

- Collapse -
I do believe we have a winner
May 29, 2013 12:57AM PDT

Dear tumbleweed_biff,

Reading many of the posts on the site you proposed has convinced me that the receiver definitely caused the problem. I saw instances where even 1 and 2 TB external drives had problems with it. I really appreciate your assistance and at this point have decided that more than enough time has been spent on this issue. I believe the overall CNET Community experience was well worth the effort. I'm on my way now to smash the poor flash drive that got victimized by the receiver. Thanks again to you and all who have tried to help me crack this nut. Cheers!

- Collapse -
Enjoy!
May 29, 2013 2:36AM PDT

But I still would have liked to know whether it was writable by the receiver.