title: How to access a 64Bit Registry key using 32Bit Powershell without Redirection to WOW6432Node
body: <p>I have a short Powershell-script that is supposed to set a value in the following registry-path:</p>
  
  <pre><code>Set-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Accessibility"  -Name "Configuration" -Value "osk"
  </code></pre>
  
  <p>My problem is, that the script works, but when it is run from a 32-Bit environment (actually we use a 32-Bit custom application that calls the scripts automatically), the call gets redirected to</p>
  
  <p>HKEY_LOCAL_MACHINE\SOFTWARE\ <strong>WOW6432Node</strong>\Microsoft\Windows NT\CurrentVersion\Accessibility</p>
  
  <p>And the item is set there, therefor it is not working as it is supposed to.</p>
  
  <p>How can I reach the correct registry path HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Accessibility on both 32- and 64-Bit Windows 10 systems, no matter if the script is run from a 32- or 64-Bit commandshell?</p>