title: How do I read startup items from registry on 64 bit Windows?
body: <p>I am currently trying to get a list of all autoruns, but I am struggling on a 64-bit system. When I use:</p>
  
  <pre><code>My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Run", False)
  </code></pre>
  
  <p>It shows me entries from:</p>
  
  <pre><code>My.Computer.Registry.LocalMachine.OpenSubKey("SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run", False)
  </code></pre>
  
  <p>Anyone know why and/or how to fix this?</p>
  
  <p>I should also state that the items in HKLM\..\Run are different to those in HKLM\..\Wow6432Node..\Run.</p>