Hello fellow fighters :-)
I have saved this description of how to reset some of the Windows Permissions to the default values for educational purposes, now I'm gonna share it for the same reason.
IF you are going to attemt this procedure, I want you to use system restore by opening a elevated command prompt, and type: systempropertiesprotection
When you do this step, the system properties window will open, and at the bottom, there is a option that is asking you to create a restore point on the disk that supports this action.
Click CREATE, Choose a name for the restore point, and click CREATE again then you are done when the loading finishes.
I hope You take your system seriously. If you choose to not take a backup of your system as described above, and you proceed with the following instructions, that's your call..
1. Download subinacl.msi from the following link, and save it on the desktop:
2. On the desktop, double-click subinacl.msi to install the tool.
3. Select C:\Windows\System32 as the destination folder.
Note: This step assumes that Windows is installed in C:\Windows. If Windows is installed elsewhere, select the appropriate path to .\System32.
Are you With me so far? This is the installation of the Windows native tool to change permissions of whole areas at the time, instead of one-by-one folders/files...
The next instructions will able you to create a script compatible with the installed SUBINACL, you can edit this entries as you please if you are experienced:
4. Open Notepad.
5. Copy the following commands and then paste them into the opened Notepad window:
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
6. In Notepad click File, Save As, and then type: reset.cmd
7. In Notepad click Save as type, and then select All Files (*.*).
8. Save the reset.cmd-file to your desktop, and close Notepad.
9. Double-click the reset.cmd-file to reset the Windows Update permissions.
Note: This step may take several minutes, so please be patient. When the permissions have been reset, you will be prompted with "Finished, press any key to continue."
10. Press any key to complete the installation.
Then, my friends, install this program that helps you get a overview of all your systems permissions:
2. UNZIP TO ANY LOCATION
3. RUN ACCESSENUM.EXE
There you have total control over your computer and system permissions, if you ran the script in the instructions, you should be able to locate the permissions of any searched folder.
Just gathering useful resources here guys, you may go through this instructions differently based on experience, but always keep in mind to take a system backup, that is never a bad idea