How to Reset File and Folder Permissions with “secedit”
- Open “Command Prompt (CMD)” and run it as administrator.
- Type the following command to reset Windows security policies to the default configuration:
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
- Wait until the process is complete, this can take a few minutes. You may get some warnings, but you can safely ignore them.
Once the process is complete, file and folder permissions should have been reset to the default configuration. Be sure to back up important files and folders before performing the permission reset process, as this process can remove permissions that may have been previously assigned.