Error Accessing the Registry in regedit.


  1. Posts : 158
    Windows 7 Professional SP1 64-bit
       #1

    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 Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    What key are you attempting to make manually?

    I'll see if I can make it...
      My Computer


  3. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
       #3

    Hello Macnab,

    What's the exact error message you are getting, and where at and what registry key are you trying to create? :)
      My Computer


  4. Posts : 158
    Windows 7 Professional SP1 64-bit
    Thread Starter
       #4

    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 Computer


  5. Posts : 10,485
    W7 Pro SP1 64bit
       #5

    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 Computer


  6. Posts : 72,052
    64-bit Windows 11 Pro for Workstations
       #6

    UsernameIssues is correct. You cannot create a "root" key like that.
      My Computer


  7. Posts : 158
    Windows 7 Professional SP1 64-bit
    Thread Starter
       #7

    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 Computer


  8. Posts : 10,485
    W7 Pro SP1 64bit
       #8

    Good luck and be careful
      My Computer


 

  Related Discussions
Our Sites
Site Links
About 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 14:34.
Find Us