title: CreateSymbolicLink runs on Windows 8 returns error code 1314 on Windows 7
body: <p>I am trying to create a symbolic link from a custom action dll using Wix installer.</p>
  
  <p>The custom action is run as an administrator and I confirmed it by using code from:</p>
  
  <p><a href="http://code.msdn.microsoft.com/windowsdesktop/CppUACSelfElevation-5bfc52dd" rel="nofollow">http://code.msdn.microsoft.com/windowsdesktop/CppUACSelfElevation-5bfc52dd</a></p>
  
  <p>The problem is that on Windows 8 the symbolic link is created, however on Windows 7 error <code>1314</code> is returned:</p>
  
  <blockquote>
    <p>ERROR_PRIVILEGE_NOT_HELD1314 (0x522)<br>
    A required privilege is not held by the client.</p>
  </blockquote>
  
  <p>Both Windows 7 and Windows 8 users are capable of running the process as administrators.</p>
  
  <p>Any idea how I can solve this issue please?</p>
  
  <p>Regards,<br>
  Noel</p>