Answer the question
In order to leave comments, you need to log in
How to remove "Read Only" on all folders?
Something went wrong, and all folders are "Read Only". Nothing in the properties, no items (checkmarks) are added. Even through the console I changed the attributes (attrib -r).
Who knows how to remove this trouble?
Windows is clean, before that there were no problems with this.
I've been scratching my head for a few days, help guys.
Thank you.
Answer the question
In order to leave comments, you need to log in
In win7 I use this reg file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="take ownership and set full access"
"Extended"=""
"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 and set full access"
"Extended"=""
"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"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question