title: Access to HKLM registry branch on Win 7 from within application
body: <p>Is it possible to write to the HKLM registry branch in Win 7 from an application?</p>
  
  <p>My existing code is not able to write to the HKLM registry branch on Win 7 machines, while it <strong>is</strong> able to do this on XP machines.</p>
  
  <p>How do you allow an application read/write access to HKLM on Win 7, or should all applications now just use HKCU instead?  What if I need to store settings on a machine basis rather than a user basis?</p>