Regedit Same Address Different Keys

Page 1 of 4 123 ... LastLast

  1. Posts : 575
    Windows 11 Pro
       #1

    Regedit Same Address Different Keys


    What am I missing. I have two instances of Regedit running and I go to the same address but different keys show in each instance. How is that even possible? It is like two different machines and two different registries, but both instances of Regedit are from the same machine. I must be overlooking something. Any explanation for this issue is most welcomed.

    Edited: Images have changed since my original OP to show more clearly show the "issue" (which was not really an issue, but just how Windows works; the issue turned out to be my ignorance)

    Regedit Same Address Different Keys-different-reg-keys-image-updated.jpg
    Last edited by tracit99; 24 Jul 2018 at 06:09.
      My Computer


  2. Posts : 17,838
    Windows 10
       #2

    tracit99 said:
    What am I missing. I have two instances of Regedit running and I go to the same address but different keys show in each instance. How is that even possible? It is like two different machines and two different registries, but both instances of Regedit are from the same machine. I must be overlooking something. Any explanation for this issue is most welcomed.

    Attachment 196787
    Two different Users maybe?
      My Computer


  3. Posts : 575
    Windows 11 Pro
    Thread Starter
       #3

    Hi Edwin,

    No same user and the the key is HKLM = HKEY_Local_Machine which AFAIK is same for all users.
      My Computer


  4. Posts : 3,274
    Win10
       #4

    Did you open both registry with the SAME shortcut ? Perhaps see this explanation with further links down the page:

    Two Regedit windows display different keys in the same place - Super User
      My Computers


  5. Posts : 31,630
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #5

    tracit99 said:
    What am I missing. I have two instances of Regedit running...
    Out of interest @tracit99, how did you do that? I only seem to be able to open one instance however hard I try. What am I missing?
      My Computers


  6. Posts : 575
    Windows 11 Pro
    Thread Starter
       #6

    Hello @das10

    Your link pointed me in the right direction to solve this "issue" my ignorance. I learned something new have learned some new things today. I had no idea that there are two different executables for Regedit (regedit.exe) one is 32 64 bit (C:\Windows\System32 C:\Windows) and one is 64 32 bit (C:\Windows\SysWOW64). The Regedit on the left is the 64 bit version and the Regedit on the right is the 32 bit version. This issue has shown me that sometimes all keys present in the Registry are not shown. What one sees depends on which version of the Registry (32 bit or 64 bit version of regedit.exe) one is using.

    Edited: Corrected my label references to both 32 bit and 64 bit versions of regedit.exe and the file location of the 64 bit version of regedit.exe. Thanks to @das10 @lx07 @Bree @AlphaUMi @Berton and @LMiller7 for helping me understand what is really happening.
    Last edited by tracit99; 25 Jul 2018 at 05:59.
      My Computer


  7. Posts : 5,478
    2004
       #7

    Bree said:
    Out of interest @tracit99, how did you do that? I only seem to be able to open one instance however hard I try. What am I missing?
    regedit -m

    "m" switch means "multiple".
      My Computer


  8. Posts : 575
    Windows 11 Pro
    Thread Starter
       #8

    Bree said:
    Out of interest @tracit99, how did you do that? I only seem to be able to open one instance however hard I try. What am I missing?
    Hi @Bree

    The Registry Regedit on the left was opened with WKey + R + regedit.exe and is 64 bit. The Registry Regedit on the right was opened with a third party application and is 32 bit.
    Last edited by tracit99; 24 Jul 2018 at 07:04.
      My Computer


  9. Posts : 5,478
    2004
       #9

    tracit99 said:
    The Registry on the left was opened with Win Key + R regedit.exe and is 64bit. The Registry on the right was open with a third party applications and is 32bit.
    Then it is your program at fault. Look with ProcExp, right click and add the "Image Type" column. For me (with x64) it is all x64 however I start it.

    Regedit Same Address Different Keys-capture.png

    Anyway, regedit opens a cursor and then only updates when you make a change. That is why you have to navigate out of a key and back if you change it as it is stored in memory until that point which explains the issue I guess.

    It isn't a 32/64 bit issue - just how it works.

    You could check this easily - make a change to some policy (anything) in gpedit.msc and then check in regedit when it is updated and v.v. You will find what regedit shows is what it was when opened - if you change to another key, back again and it re-opens the SAM and shows new value.
    Last edited by lx07; 23 Jul 2018 at 11:55. Reason: ProcExp not ProcMon
      My Computer


  10. Posts : 575
    Windows 11 Pro
    Thread Starter
       #10

    Hi @lx07
    I am going to respectively disagree with your analysis. While I follow what you are saying I do not believe that it applies to this "issue". First of all I did not make any changes anywhere in the registry key shown at the OP (Note: Image has been updated at OP). I was just viewing the contents of a particular key. If you look closely at what is posted you will see several keys that appear on the left side that are not present on the right side and vice-versa. See also the attached Task Manager screenshot. You can clearly see a 32 Bit and a 64 Bit of regedit.exe running and both of them are at the same address in the Registry but each shows different keys.

    Regedit Same Address Different Keys-reg-diff-task-manager.jpg
    Last edited by tracit99; 24 Jul 2018 at 06:41.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:35.
Find Us




Windows 10 Forums