How to reset all user permissions to default?

Hey guys,

I accidentally stopped a user permission change task and now my system is all messed up, programs won't load correctly after reboot, etc.. . I can't change the permissions back because it tells me that I do not have access to certain folders. When I try to find these folders to change them manually, for some reason they are not visible any more. (I have show hidden files to show them)
I tried a system restore and the restore points are corrupt, so, I have been looking for a way to reset all permissions to default or factory setting if you will.

Is there any way to reset all permissions to default without going one by one?

Any help will be much appreciated!!

Thanks
Answer
Answer

Hi Picoroco,

 

Welcome to Microsoft Answers!

 

 

You will need to run ‘Subinacl Tool’ to reset the permission to normal. To reset system permissions, follow the steps:

1.       Download subinacl.msi from the following link, and save it on the desktop.
http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en#AffinityDownloads (http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en#AffinityDownloads)
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.
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.cmdfile to your desktop, and close Notepad.
9.       Double-click the reset.cmdfile 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.

 

Check if you have the right permissions to all the folders for all users.

 

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.

http://support.microsoft.com/kb/968003

 

Hope this information is helpful.

Amrita M

Microsoft Answers Support Engineer
Visit our Microsoft Answers Feedback Forum and let us know what you think.

 

238 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated May 9, 2024 Views 324,097 Applies to: