In Windows Explorer the checkbox is used s a convenient way to set or reset the read only attribute of the files contained within the folder. It does not apply to the folder itself.
So, in Windoes 7, I can't remove any folder being read-only, period?
I see it as senseless to defrag a drive that's read only (it won't move them) so I run in the drives root ATTRIB -h -r /s
The -h unhides the files or the remove read only can't see them. the /s is for recursive directories yes I do this to the windows drive as well a list of files it can't touch will be listed mostly chm files.
This of course is done in a CMD window, in the run box, type in: CMD /K
The /K keeps it open or it will just flash.
There is a problem with Win7 as even being admin a lot of areas are blocked from you. I use TAKE OWNERSHIP it's a registry edit, you can put all your trust in me and just copy and paste it or download it: takeownership
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
You will then have it in your context menu (right mouse key) to take ownership of what directories you wish.