
Subinacl /keyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /setowner=administrators > %temp%\subinacl_output.txt Subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f /grant=restricted=r /grant=YOURUSERNAME=f /setowner=administrators > %temp%\subinacl_output.txt Copy and paste the following contents into reset.cmdĬd /d "%programfiles%\Windows Resource Kits\Tools".In the cmd prompt, type notepad reset.cmd and click yes to open Notepad.exe and create a new text file named reset.cmd.If you are running an OS other than Windows Vista, go to the Start menu, choose Run, type cmd and click OK.If you are running Windows Vista, click on the Start menu, choose All Programs, then Accessories, then right-click on the item named Command Prompt and choose Run as administrator.Or get it from a system with SubInACL installed, can be run like a nbromal DOS program (ie same folder)
#Windows 10 permissions reset install
By default it will install toĬ:\Program Files\Windows Resource Kits\Tools

Some of this might work on later versions of Windows but has not been tested.

secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose Just run in a evalated prompt the following command. Can anyone provide a quick way to reset all permissions to default? Some of the permissions have been changed and I would like to find a way to reset all the permissions to the default settings. This works for Windows Vista but it works also for windows 7. Quick way to reset all security permissions to default

ICACLS "I:\Users\peter" /grant Everyone:F /C /T
#Windows 10 permissions reset code
Modify and run the code below from a command prompt with administrator rights. This has been tested and works well on Windows 10.
