title: Setting registry values in HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System
body: <p>The Administrator user account I am running my compiled program in has <code>Special</code> (<code>Full</code> is allow'd, amongst all other permissions listed also allow'd, in the <code>Permission Entry</code> dialog) permission access to the above registry key.</p>
  
  <p>I can alter the values in this key manually via <code>regedit</code> without issue.</p>
  
  <p>However, when running the program in a Windows Vista Home Premium SP2 32-bit install, an attempt by this program to do a <code>RegSetValue</code> to the above registry value, is <code>ACCESS DENIED</code>.</p>
  
  <p>Does anyone know why (Can provide a <code>procmon</code> trace, if helpful)?</p>