Problem with registry redirection to WOW6432Node

micromega Posted messages 141 Status Member -  
micromega Posted messages 141 Status Member -
Hello everyone,

Under Windows 10 I’ve just discovered the issue of registry key redirection.

Indeed, if a 32-bit program needs to write a value, for example in "HKEY_LOCAL_MACHINE\SOFTWARE\My program", it will necessarily be written to "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\My program", which causes a problem when another program needs to find that key.

In short, the problem isn’t about how to locate this key, but how to work around this redirection issue. I wanted to know if it would be possible to disable (even temporarily — perhaps UAC) this new peculiarity?

I managed to bypass the problem by replacing the regedit.exe located in C:/Windows with the regedit.exe from C:\Windows\SysWOW64, but this manipulation doesn’t please me very much...

Thanks for any proposals and/or solutions.

1 answer

  1. beber67470 Posted messages 5123 Registration date   Status Member Last intervention   811
     
    Hello

    1) To disable UAC control, go to the Control Panel under User Accounts and on Change User Account Control settings, push the slider down.
    For info, if you modify values in your registry, make a backup before any intervention.
    Note: If you want to stay secure and limit UAC prompts, you can choose other options in the User Account Control settings.
    2) Open the Registry Editor by pressing Windows + R, type regedit and press Enter.
    If prompted by UAC, click Yes to continue.
    Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows \CurrentVersion\Policies\System in the right pane, find EnableLUA and set the value to 0, then close the Registry Editor.
    Restart your computer.

    Best regards
    Computing is only a tool, like a brush or a pencil.
    Avoid these free software that supposedly repair etc.. it has no major usefulness. The best companions are Dos and Powershell..
    0
    1. micromega Posted messages 141 Status Member 1
       
      Hello,

      Thank you for the response.

      After thinking the problem through with UAC, it turns out that the issue isn’t directly related to whether it is enabled or completely disabled; the problem remains the same.

      Moreover, the solution I had found up to now no longer works today. It wasn’t a solution, but a miracle.

      If you have other avenues to explore...

      Thank you
      0
    2. micromega Posted messages 141 Status Member 1
       
      Currently I haven't changed the registry at all.
      I am on Windows 10 - 64-bit.

      When I save the key manually (right-click > merge) it works very well, but if the key must be saved from an executable or a .bat then it is automatically redirected to "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\My program" .
      0