This article will explain how to change the user permission on Windows (Vista and Windows 7) to its default settings.
Use this method only if you have accidentally changed some user permission on your Windows machine . I can't change the permissions back because it tells me that I do not have access to certain folders.
It is very important that if you have created System Restore points try to restore your system back to previous dates on which your system worked without the above mentioned problem.
To reset system permissions, follow the steps:
- You will need to run ‘Subinacl Tool’ to reset the permission to normal. Download subinacl.msi from the following link, and save it on the desktop.
- On the desktop, double-click subinacl.msi to install the tool.
- Select C:\Windows\System32 as the destination folder.
This step assumes that Windows is installed in C:\Windows. If Windows is installed elsewhere, select the appropriate path to .\System32.
- Open Notepad.
- 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
- In Notepad click File, Save As, and then type: reset.cmd
- In Notepad click Save as type, and then select All Files (*.*).
- Save the reset.cmd file to your desktop, and close Notepad.
- Double-click the reset.cmd file to reset the Windows Update permissions. If this gives you any error message, then right click on reset.cmd and choose “Run As Administrator” as shown in the below screen shot. And if you are asked with any question, give Yes to continue.
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."
- Press any key to complete the installation.
Check if you have the right permissions to all the folders for all users.
This works for Windows 7 as well as Vista. How do I restore security settings to the default settings?
For more information you may check the article given below. The article given is for Windows XP updates, but still holds good for Windows Vista as well as Windows 7.