Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This problem has been around for quite some time and I have never found a solution. I even had to format once to get rid of it. And I'm not the only one with this: here, here and here.

Basically, all of a sudden all folders in my Windows XP setup become (grayed) read only

Grayed Read-Only

For many programs this really isn't a big deal. But I found that Eclipse doesn't work anymore!

Eclipse Problem

  • Tried re-installing applications, didn't solve the problem
  • Microsoft's solution doesn't solve the problem
  • Disabling simple file sharing doesn't solve the problem
  • Changing Read-Only properties to sub-files/folders doesn't solve the problem
  • Disabled my antivirus (Comodo Internet Security), didn't solve the problem

There have been many suggestions if you search but none of them worked. This could end up as another Works for Me thing and never be solved.

share|improve this question
The check box is in the third state. There are some (but not all) files/folders that are read only. I've had the case where I can't seem to remove the read-only flag on a file, but I've not investigated further as it's not a problem. Your Eclipse folder is marked read-only - are there any others? Is there a pattern to which folders are read-only? Can you remove the flag from any or none? I know I'm not solving the problem here, but hopefully suggesting an avenue to explore. – ChrisF Jul 18 '09 at 20:11
possible duplicate of Having trouble with Windows XP Read Only Settings on a file – JdeBP Jan 9 '12 at 20:57
This is an outstandingly annoying problem. I've seen it in Windows 10. Settings are scattered all over the place and none of them does a thing. At the same time malware infects the system without even noticing these "security" measures. Fixed mine by using a healthy backup... – sixtytrees Jun 30 at 14:26

That doesn't mean what you think it means. Notice that it's filled with a box rather than a checkmark. Checkboxes can actually have three states: checked, unchecked, and "other". What you're seeing is the "other" state, and you're seeing it because folders can't be marked read-only - there's not read-only bit to set for folders in the first place.

For your specific problem, permissions might have changed on the folder. But that's different than checking the read-only attribute.

share|improve this answer
Incorrect. It's a box because of the Windows theme. I've updated the screenshot with the Classic Windows Theme. Also, according to this source (…), the third state means "What the grayed-out and checked Read-only checkbox is telling you is that subfolders and files of the folder may have the read-only attribute and not the folder itself." or "it may imply that the folder is deemed a “special folder.” For example, folders that support customized views are special folders." Also, I've made sure about the permissions and ownership. Not solved. – pek Jul 18 '09 at 19:38

Open and Command Prompt and type in the following command:

attrib (drive):\* -r /s
share|improve this answer
Didn't do anything :( – pek Jul 18 '09 at 19:45
So the readonly box is still semichecked? – tsilb Jul 18 '09 at 20:12
Unfortunately, yes... – pek Jul 18 '09 at 20:46
I'm having the same problem and when I try this it appears to get "Access denied" for most or all folders. I'm running cmd.exe as administrator. – Stoney Dec 5 '12 at 11:46

Hm... if you disabled simple file sharing, did you go into the sharing options and make sure your account has premission to write?

share|improve this answer
Yes, I also made sure my account was the owner. For this folder and all sub-files/folders. – pek Jul 18 '09 at 15:17

You're not copying direct from a CD, are you? I've seen some "strange" issues with some files coming from CD to disk setting the read-only flag. The flag is easily cleared for the folder but it's still annoying.

share|improve this answer
A) No, even a folder I create is by default read only(!) and B) even if I unset the property it still remains! – pek Jul 18 '09 at 15:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .