Having issues with apps or programs not running properly on your Windows computer? Resetting Windows Update permissions could be the solution you need. Similarly, if you're troubleshooting user profile problems, you can restore user permissions.

This article covers three different methods to reset all user permissions – using the Icacls command, the Secedit command, and the Subinacl tool.

Let's now explore them in detail.

1. Run the Icacls Command

The Icacls command allows you to view, modify, and reset file system permissions on files and folders. To reset Windows Update permissions using this command, you will first have to take ownership of the folders on Windows. Then open an elevated Command Prompt on Windows and type in the following command:

        icacls * /t /q /c /reset
    

Now press Enter on your keyboard to execute the command. This will reset all user permissions to default for every folder, subfolder, and file within the current working directory.

In the above command, here are the parameters explained:

  • * – This is a wildcard character that includes all folders within the current directory.
  • /t – It targets all the subfolders and files within the current folder.
  • /q – Run command without displaying success messages.
  • /c – Continues the operation even if errors occur.
  • /reset – This parameter resets the permission options to their default values.

2. Run the Secedit command

Windows provides the Secedit command to configure and analyze system security. To reset all user permissions using this command, run the command prompt with admin access, then type in the following command:

Run the Secedit command
        secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
    

Now press Enter to execute the command. Wait for the process to finish and restart your computer. This will reset the user permissions to the default system settings.

3. Run the Subinacl Tool

If you're not comfortable using the command prompt, you may use the Subinacl tool. This is a command-line utility from Microsoft that can be used to reset user permissions. Here's how to do it:

  1. Download the Subinacl tool from Microsoft's webpage. When you open the page, the download starts automatically. If not, wait 30 seconds and click the link.
  2. Once downloaded, double-click on the installer package. This will open the installation wizard.
    Open the installation wizard
  3. Click on Next and then accept the license agreement terms.
    Install the Subinacl tool
  4. Next, copy and paste the following path into the Destination folder:
            C:\Windows\System32
        

    Note: If you have installed Windows on a different drive, use that path instead.

  5. Now click on Install now and wait for the Subinacl tool to be installed. This may take several minutes, so be patient.
  6. When the installation is complete, open Notepad and type in the following commands:
            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
  7. On the Save As window, set the File name to Reset.cmd and then select All Files from the drop-down menu next to it.
    Reset Windows Update permissions
  8. Next, select Desktop from the left pane and click on Save.
  9. Now double-click on it to reset the user permissions to default.
  10. This may take a while to complete the procedure, so wait for it to finish.

Once done, close any running program, and then restart your computer. Your Windows Update permissions will be reset to their default settings. These are three different methods you can use to reset the user permission settings on Windows.

Restore User Permissions to Default on Windows

User permissions play a crucial role in computer security. If you're experiencing user permission issues, you must reset them to their default settings. This guide helps you reset all user permissions on Windows using three different methods. You can use the ICACLS command, Secedit command, or Subinacl tool, depending on your preference.