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
27 Oct 2015   #5
Gregpl

widows 7 64 bit
 
 

Quote   Quote: Originally Posted by Bill2 View Post
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.
Is there a way to make a bat file to do all of it automatically? and if so how ?

Thanks for any help in advance ..yes I know that this is an old post but I am hopeful that someone could help me

Gregpl
My System SpecsSystem Spec
Reply

 Restore default registry permissions




Thread Tools




Similar help and support threads
Thread Forum
Registry Permissions help
Hi.. i've recently installed a customized version of Windows 7 SP1. I removed some languages, added some programs, drivers, settings and a unattended script. It installed without issue and everything has been running fine. However, i've just noticed a potential major issue waiting to happen....
System Security
Restore security permissions to default settings??
How to restore security permissions to default settings? Hello, I had problems sharing files on my network and I went to different support forums looking for answers. I changed user permissions on my (D/) drive and tried to add "Everyone" following instructions from other forum, I did something...
Backup and Restore
Registry Permissions HELP!!!
Ok I really don't understand this!! Why is it that subinacl.exe works on my version of Win 7 Home Premium and yet not on other people's Win 7 Home Premium?? Also, the files that I downloaded from this site to set the uac levels work fine on my machine (OS) but open something totally different on...
System Security
Registry Permissions
I'm Administrator in my PC, but when i try to give me permission of a key in the registry, it appears an error message. It doesn't happen with any other key.Any ideas? Thz^^
General Discussion
Restore the registry editor to its default state?
How to restore the registry editor to its default state?.....................,
Backup and Restore
How to restore security permissions to default settings
Hello, I had problems sharing files on my network and I went to different support forums looking for answers and I changed user permissions on my (c/) drive and tried to add "Everyone" following instructions from other forum, I did something WRONG and I did not fix the problem and now I just create...
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 00:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App