+64-3-3595735

Home » Fixes » Reset Default File Permissions: Windows 7, Windows 10 – SubInACL

Reset Default File Permissions: Windows 7, Windows 10 – SubInACL

Fix default permissions on windows 7 or Windows 10 machines using SubInACL  and the script below.

1 – Download SubInACL.  https://www.microsoft.com/en-nz/download/details.aspx?id=23510   NOTE: Take note of where you save the installer.

2 – Create a file on your desktop using notepad. I called mine resetPerms.bat

3 – Put the following script in the file then save and close it.

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f

pause

4 – Run the saved subinacl.msi you downloaded. Take note of where you install it to (Often c:\Program files\SubinACL).

5 – Go to where the installed files are, and copy subinacl.exe to c:\windows\system32

6 – Right click the batch file made in step 3 and Run As Administrator.

This should reset all permissions for you.