S
S
Sergey Bydanov2017-01-24 12:57:16
Access rights
Sergey Bydanov, 2017-01-24 12:57:16

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

1 answer(s)
Y
Yustas Alexu, 2017-01-24
@sergarcada

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

And run it via command line. But do it at your own risk. I am not responsible for the consequences

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question