Key Points
- To restore the Windows Registry to its defaults, reset the operating system from Settings > System > Restore, using cloud reset, or restore the computer to an earlier state.
- You may use SubInACL – A Microsoft command-line tool (deprecated, but available from archives) – to reset Registry permissions (ACL).
The Windows Registry is the heart and soul of the operating system. It is a collection of databases that contain the configuration information for the OS, as well as the apps and services running on it. If not properly handled, the Registry alone can be responsible for corrupting system files, and hence, the OS itself.
You may often need to make changes to the Windows Registry for different reasons. However, there may come a time when certain Windows functions will no longer work as they should. This is when you might want to restore all the Windows Registry settings to their default values. Moreover, user permissions might also need to be revoked that were granted using Access Control Lists (ACLs), which can also be reverted to its defaults.
In case you want to reset the Windows Registry and its permissions to their default values without having to reinstall the OS, you may use the guide below.
Table of Contents
Reset Registry permissions (ACL) using SubInACL
Registry permissions refer to the access granted to the user accounts so that they are allowed to make changes to the Registry. In case you want to revoke that access, you can restore the default values using SubInACL – a command-line tool by Microsoft used to manage Windows Registry.
Although SubInACL has been deprecated by Microsoft, it can still be downloaded from their archives. At the moment, there is no alternative for this tool. Nonetheless, after having tested it on the latest operating systems (Windows 11), it can be concluded that it works and is safe to use.
Here are the steps to revert Windows Registry permissions to its default values using SubInACL:
Note: The process involves making changes to the Windows Registry. Misconfiguration of critical values in the system’s registry could be fatal for your operating system. Therefore, we insist that you create a system restore point or a complete system image backup before proceeding forward with the process.
You can also use our top selection of disk imaging and backup software so you never lose your data or operating system again.
-
Click the link below to download SubInACL:
-
Run the downloaded package to install SubInACL.
The installation wizard will launch.
-
Click Next.
-
Accept the licensing terms.
-
Note down the installation path and click “Install now.”
-
Click Finish when the installation completes.
-
Now search for “Notepad” in the Start menu and click “Run as administrator.”
-
Paste the following commands in Notepad:
These commands grant both the “Administrators” and the “System” user groups Full Control of certain Registry hives and the system (C) drive.
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
-
Click File and then click “Save as.”
-
In the “Save as” window, navigate to the location where SubInACL was installed.
-
Set”File type” to “All files.”
-
Enter a custom name for the file followed by “.bat“, which will save the file as a batch file.
-
Click Save.
-
Now press the Windows key + R to open the Run Command box.
-
Type in “cmd” and press CTRL + Shift + Enter to launch an elevated Command Prompt.
-
Now use the “cd” command to change the working directory to the location where SubInACL was installed.
cd /d "[PathToInstallationLocation]"
-
Now enter the name of the batch file, including its extension “.bat”, as in this example:
After performing these steps above, the batch file and the SubInACL tool will start its function, which is restoring the Registry permissions to its default values.
This process can take some time, and you will be able to see its progress inside the Command Prompt.
Once the process is complete, you may close the Command Prompt, and a system reboot is advised.
The method given above resets the Registry permissions to its default values. However, if you want to reset the Windows Registry completely, a different approach will need to be taken.
Reset Windows Registry to default settings
There are multiple ways to reset the Windows Registry entirely and bring it back to its default values. If your operating system is encountering issues, then you can adopt any of the methods below to reset the Registry.
Reset Windows Registry with system reset
Resetting the PC restores all system settings as well as the Windows Registry to its defaults. However, you can choose whether you want to keep your personal files and data.
A Windows reset can be performed both locally, where the same system files are used to restore the settings, or from the cloud, where fresh files are downloaded from Microsoft Servers. The latter might take a bit more time depending on your internet connectivity.
I suggest that you perform a cloud reset, which can be performed with these steps:
-
Press the Windows Key + i to open the Settings app.
-
Click System.
-
Now go to Recovery settings.
-
Click “Reset PC.”
The reset PC wizard will now open.
-
Select “Keep my files.”
-
Select “Cloud download.”
-
Click Next.
-
Click Reset.
The wizard will now begin downloading fresh files from Microsoft servers and then reset your computer. This step can take a while depending upon your internet connection, and your PC may restart.
Once done, your Windows Registry will also be reverted to its default settings.
Reset Windows Registry with system restore
You can also restore the system to an earlier state if you are encountering issues with your PC. This way, any changes made during this time will be undone. Of course, for this to happen, you must have a system restore point when the Windows Registry was already in its default state.
To restore your computer to an earlier state, use these steps:
-
Press the Windows key + R to open the Run Command box.
-
Type in “sysdm.cpl” to open the System Properties applet.
-
Switch to the “System protection” tab and click “System Restore.”
The System Restore wizard will now launch.
-
Select “Choose a different restore point” and click Next.
-
Check the option “Show more restore points.”
-
Select a restore point where the Windows registry was in its default state, and click Next.
-
On the confirmation screen, click Finish.
The operating system will now begin its restoration process. Once completed, the Windows Registry should be reverted to its default settings, provided that the selected restoration point has the default Registry values.
Takeaway
Resetting Windows or restoring the PC to an earlier state where the Windows Registry was in its default values automatically resets the Registry permissions, or the Registry ACLs as well. However, if you use SubInACL to reset the Registry permissions only, then the rest of the Registry values will remain as-is.
Depending on what you want to achieve, you can apply the respective method to restore your Registry defaults from above.