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 8800707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:39:38+00:00 2026-06-14T00:39:38+00:00

I have a C# application that calls: Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@Software\MyApp) It is set to target x86,

  • 0

I have a C# application that calls:

Microsoft.Win32.Registry.CurrentUser.OpenSubKey(@"Software\MyApp")                

It is set to target x86, and when I run it I can see from Task Manager that it is a 32-bit process. However that line of code is strangely going to the 64-bit hive at HKCU\Software\MyApp, instead of the 32-bit hive at HKCU\Software\Wow6432Node\MyApp. Any ideas?

I also started two instances of Powershell, one 32-bit and one 64-bit, and ran the below but both return the values at the 64-bit hive too.

get-itemproperty -Path Registry::HKEY_CURRENT_USER\Software\MyApp 

Any ideas what might have gone wrong here? I have triple-checked that the registry settings at the 32 and 64 bit hives are different from regedit too.

  • 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-14T00:39:39+00:00Added an answer on June 14, 2026 at 12:39 am

    Because you are accessing a key (HKCU\Software) that is shared, not redirected. See http://msdn.microsoft.com/en-us/library/windows/desktop/ms724072(v=vs.85).aspx and (more specifically) http://msdn.microsoft.com/en-us/library/windows/desktop/aa384253(v=vs.85).aspx

    From the first link (emphasis mine):

    On 64-bit Windows, portions of the registry entries are stored
    separately for 32-bit application and 64-bit applications and mapped
    into separate logical registry views using the registry redirector and
    registry reflection, because the 64-bit version of an application may
    use different registry keys and values than the 32-bit version. There
    are also shared registry keys that are not redirected or reflected.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that calls a number stored by the user. Everything works
I have a C# application that calls a stored procedure that produces an xml
Hi i have a WP7 application that calls a wcf who runs with membership
I have created an android application that calls (using kSOAP library) a SOAP based
I have a application that's making calls against some WCF services I have hosted
I have an ASP.NET application that calls other web services through SSL (outside the
So we have an application that makes udp calls and sends packets. However, since
I have a function in my application that calls various subfunctions depending on the
I have a .NET application that uses some API calls, for example GetPrivateProfileString .
We have built a web application that accepts SOAP messages, does some processing, calls

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.