Jump to content

How to remove read-only attributes on folders in C:\ProgramData with Windows 7

Featured Replies

Posted

I'm trying to set up a site-wide deployment for an application that has a tree of data users need to read and write under C:\ProgramData\

The folder C:\ProgramData\ and its subfolders show the "I" attribute when viewing attributes with the "attrib" command. The "R" attribute is *not* set. However, folder properties in the Windows Explorer show the "Read-only (Only applies to files in folder)" attribute box is selected.

I can try to unset the read-only attribute using the Windows Explorer properties menu it will ask if I want to "Apply changes to this folder, subfolders and files"...and that dialog box will go away after pressing "OK". Closing and reopening the properties box still shows the read-only attribute checked.

I tried to use "attrib +r C:\ProgramData\ /S /D" to add read-only attributes to the directory tree "attrib" shows the read-only property at this point. I then attempted to remove the read-only attribute with "attrib -r C:\ProgramData\ /S /D". "attrib" shows the read-only property gone at that point, but the Windows Explorer properties window shows the read-only attribute still checked.

Security ACLs for C:\ProgramData\ give group "Users" read and write permissions, and C:\ProgramData\\ has full control access granted to "Everyone".

I did find http://support.microsoft.com/kb/326549 addressed this issue somewhat, but I did not find any suggestions there I didn't already try (and document above).

Any suggestions for how to remove this read-only folder attribute from folders in C:\ProgramData on Windows 7 systems?

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...