I am using windows XP and all of my folders on all drives are now read only. When I remove the read only check, it gets set back to read only. Why?

I cannot write any file from my flex application. File write protection error is shown to me by flex compiler, however it was OK until two days ago.

Now when I remove the read only check from any folder, it is set back to read only by itself, by windows or possibly a virus. I tried changes in registry as mentioned on a Microsoft site but that did not help.

  • Could you give us a link to the Microsoft article you followed the instructions in? It would also be useful to know if anything has been changed from between when things were working and when they weren't -- did you install any programs, change any settings, etc? – nhinkle Aug 30 '10 at 6:30
  • support.microsoft.com/kb/326549 the link , i tried that.. – Muhammad Irfan Aug 30 '10 at 8:57
  • can you rollback to a previous system recovery point? – Default Aug 30 '10 at 10:05
  • If it's a virus, be careful with transferring files to another computer to salvage them – Ivo Flipse Aug 30 '10 at 10:43

Wow, this seems to be a big problem many users have reported! See if this KB article helps: You cannot view or change the Read-only or the System attributes of folders in Windows Server 2003, in Windows XP, in Windows Vista or in Windows 7

| improve this answer | |
  • 1
    this does not work.. i tried it before.. – Muhammad Irfan Aug 30 '10 at 8:57
  • Same problem here, and attrib did not work. I ended up reinstalling Windows :-< – hotei Sep 7 '10 at 16:13

Try downloading ProcessMonitor from sysinternals and add a filter with the SetBasicInformationFile. From there you should at least be able to see who is modifying the files.

To set a filter (I think it pops up to start with) click on the funnel in the menu. Then choose:

Operation is SetBasicInformationFile Include

Then click the Add

If you cannot download it to the infected computer, place it on a flash memory or equal and run it from there.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.