Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9020507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:02:09+00:00 2026-06-16T05:02:09+00:00

Can someone explain this strange result for me? Got the following code in linqPad

  • 0

Can someone explain this strange result for me?

Got the following code in linqPad

Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\Microsoft").Dump();
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(@"Software\Microsoft").Dump();

When looking in process monitor it looks like this:

RegQueryKey    HKU\S-1-5-21-...   
RegOpenKey     HKU\S-1-5-21-...\Software\Microsoft   
RegSetInfoKey  HKU\S-1-5-21-...\Software\Microsoft   
RegQueryKey    HKU\S-1-5-21-...\Software\Microsoft   
RegQueryKey    HKU\S-1-5-21-...\Software\Microsoft   
RegQueryKey    HKLM   
RegOpenKey     HKLM\Software\Wow6432Node\Microsoft   
RegSetInfoKey  HKLM\SOFTWARE\Wow6432Node\Microsoft   
RegQueryKey    HKLM\SOFTWARE\Wow6432Node\Microsoft   
RegQueryKey    HKLM\SOFTWARE\Wow6432Node\Microsoft  

My question is:
Why does Registry.CurrentUser access 64-bit and Registry.LocalMachine 32-bit?

(and also, why does Registry.CurrentUser access HKU\S-.. and not HKCU)

Using Windows 7, 64-bit, .Net 3.5, LINQPad.exe *32

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T05:02:11+00:00Added an answer on June 16, 2026 at 5:02 am

    If you look at the MSDN documentation it says that HKCU\Software\Classes is redirected via WOW64 redirection, but not the entire HKCU\Software key.

    HKEY_CURRENT_USER           Shared          Shared
        SOFTWARE                Shared          Shared
            Classes             Shared          Redirected and reflected
                Appid           Shared          Redirected and reflected with one exception: the DllSurrogate and DllSurrogateExecutable registry values are not reflected if their value is an empty string.
                CLSID           Redirected      Redirected and reflected
                DirectShow      Redirected      Redirected and reflected
                Interface       Redirected      Redirected and reflected
                Media Type      Redirected      Redirected and reflected
                MediaFoundation Redirected      Redirected and reflected
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am newbie to jQuery, can someone explain what this code does: $(#currency form).submit(function(e)
This is very strange, maybe someone can explain what's happening, or this is a
Can someone explain this code - (IBAction)backspacePressed { self.display.text =[self.display.text substringToIndex: [self.display.text length] -
Possible Duplicate: Can someone Explain this jQuery code? I have posted this before, but
Can someone explain the following strange behavior? I run the following program on a
I'm seeing a strange behaviour, hopefully someone out there can explain this. I have
Can someone explain why the result of the code below would be class B::1
Can someone explain this simple, yet deceiving, anomaly? There are two models, where B
Can someone explain this to me. I am pretty good with perl regular expressions
Can someone explain this to me? In particular the difference between: http://github.com/whymirror/greg and http://piumarta.com/software/peg/

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.