title: Registry Symbolic Link between different hives
body: <p>Can anyone explain why I can successfully create this registry symbolic link (using Win32 or Native API functions);</p>
  
  <blockquote>
    <p>Link => "hkey_local_machine\software\techinc"</p>
    
    <p>Target => "hkey_current_user\software\microsoft"</p>
  </blockquote>
  
  <p>Yet, when I create this one, I get Error 5 (access denied);</p>
  
  <blockquote>
    <p>Link => "hkey_current_user\software\techinc"</p>
    
    <p>Target => "hkey_local_machine\software\microsoft"</p>
  </blockquote>
  
  <p>I tried adding additional "security descriptors" as well, but it seems as though this is a hard Windows registry limitation.</p>
  
  <p>I'm currently using C++, but I am reading similar issues with other languages. Unfortunately, I have scoured the web and found NIL.</p>
  
  <p>What reinforces my theory that this is a hard limit, is that I can create this link without any errors;</p>
  
  <blockquote>
    <p>Link => "hkey_current_user\software\techinc"</p>
    
    <p>Target => "hkey_current_user\software\microsoft"</p>
  </blockquote>
  
  <p>If someone could verify, that would be appreciated. Or maybe there is some "special" permissions, that I haven't tried yet, which are required to link between different hives.</p>