title: Change MachineGuid C#
body: <p>i was wondering for a project of mine, is it possible to change the MachineGuid from the registry or any other way? I've seen it in multiple applications and I can't do it myself..This is my code</p>
  
  <pre><code>            RegistryKey reg = Registry.LocalMachine;
              reg.OpenSubKey("SOFTWARE\\Microsoft\\Cryptography");
              reg.DeleteValue("MachineGuid");
              reg.Close();
  
              consolebox.AppendText("MachineGuid should be changed!\n");
  </code></pre>
  
  <p>But it doesn't work.. it doesn't delete the MachineGuid value, which would automatically regenerate in about a second....</p>
  
  <p>The error says that it doesnt find the value.. that MachineGuid doesn't exist... but when i go to regedit it does?</p>
  
  <p>If i don't run the application as an Administrator, it says the value got deleted, but if i do it says it doesn't exist....</p>