Clearing Custom Privileges in Win11 by Default
Clearing Custom Privileges in Win11 by Default
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.
WPS Office Premium ( File Recovery, Photo Scanning, Convert PDF)–Yearly
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:
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.
- Title: Clearing Custom Privileges in Win11 by Default
- Author: Joseph
- Created at : 2024-08-08 05:57:33
- Updated at : 2024-08-09 05:57:33
- Link: https://windows11.techidaily.com/clearing-custom-privileges-in-win11-by-default/
- License: This work is licensed under CC BY-NC-SA 4.0.