Changing Read-Only on folder with Powershell - Greyed out

powershell, windows, windows-server-2008-r2

Solution

As far as I know this is a UI "bug", clearing the checkbox will not fix it, even with command line.

See this KB, none of the mentioned workarounds worked for me. http://support.microsoft.com/kb/326549

Problem

I am trying to remove or change the Read Only attribute on a folder with `Powershell`, `Windows server 2008 R2`. I'm really struggling with this issue. I have even tried `attrib.exe`, but the greyd out mark will not disappear in "Folder Properties". Have anyone had the same issue? Whatever I do it is still greyed out. The Read Only property on the folder is grey, however, the files inside the folder are not read-only. Strange. Best regards

Original source