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: Error Accessing the Registry in regedit.

17 Sep 2012   #1
macnab

Windows 7 Professional SP1 64-bit
 
 
Error Accessing the Registry in regedit.

Running .reg file gives this error. In Regedit I also cannot create a new key (to add the contents of the .reg file manually.) I have Full Control in permissions for HKEY_USERS.


My System SpecsSystem Spec
.
18 Sep 2012   #2
UsernameIssues

W7 Pro SP1 64bit
 
 

What key are you attempting to make manually?

I'll see if I can make it...
My System SpecsSystem Spec
18 Sep 2012   #3
Brink

64-bit Windows 10 Pro
 
 

Hello Macnab,

What's the exact error message you are getting, and where at and what registry key are you trying to create?
My System SpecsSystem Spec
.

18 Sep 2012   #4
macnab

Windows 7 Professional SP1 64-bit
 
 

If I right-click on HKEY_USERS and select New...Key, I get "Cannot create key: Error writing to the registry."
I can create Keys under KKEY_CLASSES_ROOT, HKEY_CURRENT_USER, HKEY_CURRENT_CONFIG.
I cannot create Keys under HKEY_USERS, HKEY_LOCAL_MACHINE - "Cannot create key: Error writing to the registry."
My System SpecsSystem Spec
18 Sep 2012   #5
UsernameIssues

W7 Pro SP1 64bit
 
 

I cannot create a new key in the "root" of HKEY_USERS or HKEY_LOCAL_MACHINE.

I'm testing on a frozen VM - so pretty much everything is setup how Microsoft wants it.

My guess is that this is normal.
My System SpecsSystem Spec
18 Sep 2012   #6
Brink

64-bit Windows 10 Pro
 
 

UsernameIssues is correct. You cannot create a "root" key like that.
My System SpecsSystem Spec
18 Sep 2012   #7
macnab

Windows 7 Professional SP1 64-bit
 
 

I've been digging a bit deeper into the registry, and it seems that the part in my .reg file that wants to go under
HKEY_USERS\S-1-5-21-1060284298-1004336348-1417001333-1003 needs to go under HKEY_USERS\S-1-5-21-1227516060-3212757245-1710830704-1000. It seems that this first part is possibly specific to this machine, this version of Windows, etc.

I can find a place where I can enter the rest of the keys/values.

Thanks for the help.
My System SpecsSystem Spec
18 Sep 2012   #8
UsernameIssues

W7 Pro SP1 64bit
 
 

Good luck and be careful :-)
My System SpecsSystem Spec
Reply

 Error Accessing the Registry in regedit.




Thread Tools




Similar help and support threads
Thread Forum
Setting registry restrictions using RegEdit (Task Manager)
So I'm having some issues trying to set some restrictions using RegEdit. I'm trying to set a bunch of them and none of them are actually working. I've done a lot of reasearch on Google but I can't figure out why. So let's start with a example here. I'm using a .reg file to set these FYI. Here is...
Software
.bat reg import gives error accessing the registry
Hello everyone, im new here! now, ive got a .reg file that id like to import automatically via .bat file to the registry. if i type the code myself in CMD it does work, but the same code via the .bat file refuses to add and get the error of: error accessing the registry im using the code :...
General Discussion
How to Turn Off System Protection by registry (regedit)
Is there any way to disable System Protection (My computer->Properties->System protection->->Configure->check dot TURN OFF SYSTEM PROTECTION ) using regedit tool? I need this by the registry to I can put in automated process because we made about 4000 machines per day. Thanks in advance.
Performance & Maintenance
Error accessing the registry
Hi all and merry hollidays. I got a problem you may be able to help me... Yesterday I did a fresh installation of my W7 professional. Before that I backup the things I know I need. One ot them was to backup a branch from the registry to keep some details for a program I have. Today I...
Installation & Setup
How can I replace my W7 registry file without using regedit ?
Having an issue with my system and trying to restore to an earlier state...but both System Restore and Regedit - import are giving me errors ? Here's a couple screen shots that show the main error messages attached On the registry...I have a full backup of my registry prior to the changes I...
Performance & Maintenance
Is there any way to tell who is accessing the registry?
Log Name: Application Source: Microsoft-Windows-User Profiles Service Date: 8/26/2009 6:00:03 AM Event ID: 1530 Task Category: None Level: Warning Keywords: User: SYSTEM Computer: Home01 Description:
General Discussion


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 03:59.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App