title: How can I write the registry with administrator permission?
body: <p>I want to create a new registry using this code:</p>
  
  <pre class="lang-vb prettyprint-override"><code>Dim r As RegistryKey = Registry.LocalMachine.OpenSubKey(RegEditAuditor, True)
  r.SetValue("Actualizar", StartupPath + "\Actualizar")
  RegActualizar = r.GetValue("Actualizar", "")
  r.Close()
  </code></pre>
  
  <p>But when I execute my application I get an error that I think its about permission, because if I execute as administrator it works fine.</p>