troubleshooting Question

64 registry hive from 32 bit app

Avatar of straubtm
straubtm asked on
.NET ProgrammingMicrosoft Legacy OSWindows 7
4 Comments2 Solutions600 ViewsLast Modified:
I have a 32-bit app that cannot be compiled as native 64-bit because of the use of Adobe Flash (no 64-bit yet).  Most registry entries are redirected or reflected by the OS just fine.  But, I found that I could not set the  "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" entry from my 32-bit app.  It just doesn't work (the app doesn't startup with Windows).  

I read that you can use the KEY_WOW64_64KEY flag to get at the 64-bit hive directly.  This seems to be my only recourse.

How can I specify the KEY_WOW64_64KEY flag to access the 64bit hive and set an app to run at startup (i.e. the \CurrentVersion\Run entries)?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros