Answer the question
In order to leave comments, you need to log in
How to fix Windows folder permissions?
Mistakenly started changing the owner of the Windows folder from Trusted... to user. During the process of changing the owner, it was noticed that the folder was not the same and the operation was canceled. But now the Explorer began to fly out, the search in the explorer stopped working - it ends with the error "the program has stopped working." When viewing the properties of a folder, the owner remained the same. Apparently, the change of owners did not occur for all objects. How in this case it is possible to restore the access rights?
Answer the question
In order to leave comments, you need to log in
Try to create a .bat file with the following content:
SET DIRECTORY_NAME="C:\Windows"
TAKEOWN /f %DIRECTORY_NAME% /r /d y
ICACLS %DIRECTORY_NAME% /reset /T
PAUSE
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question