Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Restore default registry permissions


05 May 2011   #1
redcat

Windows 7 Home Premium 64
 
 
Restore default registry permissions

Hi everybody, I'm not sure what messed up my registry keys but the administrators users can't open them anymore on my Windows 7 machine. So I'd like a method that reset them to the default settings.
I found one way, which would be to set everything with Administrators full control, but that is hardly the default... what about SYSTEM and Users?
I'm not sure I can try a repair installation, as I only have the Windows Vista to 7 upgrade dvd...

Thanks


My System SpecsSystem Spec
05 May 2011   #2
mgorman87

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium 64bit
 
 

I found this on another site. It may or may not fix your problem


First you need to download SubInACL from here SubInACL is a command-line tool that enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain.
Create a file with the name reset.cmd under C:\Program Files\Windows Resource Kits\Tools folder
Now you need to Edit the reset.cmd file and add the following lines
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
Save and exit your file
Now you need to open command prompt run the following command
cdcd “C:\Program Files\Windows Resource Kits\Tools”
after this press enter and enter the following command
reset.cmd
after entering this please press enter
after a few minutes by processing subinacl, the permission will be reset
My System SpecsSystem Spec
05 May 2011   #3
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

You can run system restore to a point before all the trouble started, that'll restore the registry as well.

As for permissions, you can change them for whichever key you want. Heres an illustration.

Full Control Permission to Delete or Edit Restricted Windows Registry | Raymond.CC Blog

A backup of various registry hives is stored in the folder C:\windows\system32\config\regback. Check the date, if it pre-dates the troubles, you can boot from the win7 dvd, navigate to the command prompt, then rename each of the hives in c:\windows\system32\config to .old or .bak extension, then copy the backed up hives in the regback folder to the config folder. Restart the computer.
My System SpecsSystem Spec
06 May 2011   #4
redcat

Windows 7 Home Premium 64
 
 

Quote   Quote: Originally Posted by mgorman87 View Post
First you need to download SubInACL ...
Thanks but subinacl isn't available for windows 7, and I don't think all keys just need Administrators and System full permissions. There are other users too.

Quote   Quote: Originally Posted by Bill2
A backup of various registry hives is stored in the folder C:\windows\system32\config\regback
No, the dates are too close.
My System SpecsSystem Spec
Reply

 Restore default registry permissions




Thread Tools



Similar help and support threads for2: Restore default registry permissions
Thread Forum
Registry Permissions help System Security
Restore security permissions to default settings?? Backup and Restore
How do I get Registry permissions? General Discussion
Registry Permissions HELP!!! System Security
Registry Permissions General Discussion
Restore the registry editor to its default state? Backup and Restore
How to restore security permissions to default settings System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 06:34 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App