Restore default registry permissions

redcat

New member
Local time
4:29 PM
Messages
4
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 Computer

OS
Windows 7 Home Premium 64
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[FONT=inherit !important] security [/FONT]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 Computer

Computer Manufacturer/Model Number
Self Built
OS
Windows 7 Home Premium 64bit
CPU
Intel Core i5-2500 @ 3.8GHz
Motherboard
MSI P67A-GD65
Memory
G.SKILL Ripjaws Series 8GB (2 x 4GB) DDR3 1600
Graphics Card(s)
NVIDIA GTX 550Ti
Sound Card
On Board
Monitor(s) Displays
ASUS 23"
Hard Drives
OCZ Vertex 3 VTX3-25SAT3-60G
Keyboard
Wireless
Mouse
Wireless
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 Computer

Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
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.

Bill2 said:
A backup of various registry hives is stored in the folder C:\windows\system32\config\regback

No, the dates are too close.
 

My Computer

OS
Windows 7 Home Premium 64
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
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Inspiron One 2020
OS
widows 7 64 bit
Back
Top