title: Generating a unique Windows OS ID
body: <p><strong>Without adding dependency of WMIC and getting MAC.</strong></p>
  
  <p>I know we can read MachineGuid in registry key:</p>
  
  <pre><code> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography
  </code></pre>
  
  <p>and it won't change unless user formats the PC. But the issue is it can be easily bypassed if the hard drive is cloned.</p>
  
  <p>I came across 
  <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms724423%28v=vs.85%29.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/windows/desktop/ms724423%28v=vs.85%29.aspx</a></p>
  
  <p>Does the info returned by </p>
  
  <pre><code>GetSystemInfo ()
  </code></pre>
  
  <p>remain same after OS installation, and avoid cloning issue.</p>