Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Windows Vista and 7 use the read-only attribute of folders to also indicate that the folder is 'custom.'

It turns out that this is preventing programs I use from updating files in my documents folder. I am unable to change the read-only setting regardless of whether I right-click on the folder and de-select the read-only checkbox on the properties tab, or if I use the 'icacls' command from the command line.

This has been discussed before by me and others here:

However, none of these solutions are working for me.

Has anyone heard of a workaround or solution outside of these links? Really, all I want to be able to do is use Maven for a software project I'm developing; but my IDE stack (Netbeans 7 & Glassfish 3.x) can't update my project file in my documents folder... So at the moment I'm stuck using Ant, but I'd really prefer to migrate to Maven.

Here are some links discussing this:

share|improve this question
    
Note that this problem represents a bug in your IDE stack; it shouldn't be paying any attention to the folder's read-only flag. I understand you've got a solution that works for you, but it may still be worth reporting the problem to the relevant developers/vendors. –  Harry Johnston Feb 2 '12 at 2:35
add comment

2 Answers

up vote 1 down vote accepted

Start registery editor (regedit.exe) go to the folowing registery key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer

Choose in the menu

edit ->new

and then -> DWORD value with registervalue word

UseSystemForSystemFolders

click with the right mouse on the new value and click on change Type 1 and click OK Close Regedit then you need to do the attrib -r +s c:\test (where c:\test) is your folder

share|improve this answer
    
I am already an administrator on my box... –  Ted Jan 30 '12 at 13:47
    
try this attrib -r +s drive:\<pad>\<foldername> –  Arno Jan 30 '12 at 13:59
    
The change still doesn't persist. It goes back to read-only when I reopen the documents folder. I've also checked for any other group policies, etc. –  Ted Jan 30 '12 at 14:18
    
Start registery editor (regedit.exe) go to the folowing registery key:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Explorer Choose in the menu edit ->new and then -> DWORD value with registervalue word UseSystemForSystemFolders click with the right mouse on the new value and click on change Type 1 and click OK Close Regedit then you need to do the attrib -r +s c:\test (where c:\test) is your folder. –  Arno Jan 30 '12 at 14:27
    
link is here: support.microsoft.com/kb/256614 –  Arno Jan 30 '12 at 14:28
show 3 more comments

Use the command line:

attrib FolderName -r
share|improve this answer
    
I tried this, but the change doesn't persist... –  Ted Jan 30 '12 at 13:49
    
Sorry, made a typo. –  kinokijuf Jan 30 '12 at 14:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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