title: RUNASADMIN in Registry doesnt seem to work in Windows 7
body: <p>For a while now the installer for my program has used the below code to make my app run with administer privileges. But it seems to have no effect under Windows 7. In Vista it worked beautifully. If I right click the shortcut and tell it to run as Administer, the program will start fine. But by using the below, code it should be made to run the program that way all the time. It doesn't anymore. Does anyone know if Win 7 still uses this key? UAC is also on by the way.</p>
  
  <pre><code>Registry.SetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Windows NT\
  CurrentVersion\AppCompatFlags\Layers", "C:\App\app.exe", "RUNASADMIN");
  </code></pre>
  
  <p>Thanks.</p>