title: Symbolic link on Amazon File Share System FSx - Windows EC2
body: <p>I am currently hosting my ASP.Net web application on AWS. I have searched for the best aws storage options for windows environment. I have found that aws File shares system FSx is suitable for our needs.</p>
  
  <p>One of the required features in my app is to be able to create symbolic link on the network shared folder. On my local environment I have active directory and network shared folder. I have applied those steps to enable symbolic link on my pc with windows 10 and it works:</p>
  
  <p>1- Enable remote to remote symbolic link using this cmd command:</p>
  
  <pre><code>fsutil behavior set SymlinkEvaluation R2R:1
  </code></pre>
  
  <p>2- Check if the feature is enabled:</p>
  
  <pre><code>fsutil behavior query SymlinkEvaluation
  </code></pre>
  
  <p>the result is:</p>
  
  <pre><code>Local to local symbolic links are enabled.
  Local to remote symbolic links are enabled.
  Remote to local symbolic links are disabled.
  Remote to remote symbolic links are enabled.
  </code></pre>
  
  <p>3- apply this command for gain access to the target directory:</p>
  
  <pre><code>net use y: "\\share\Public\" * /user:UserName /persistent:yes
  </code></pre>
  
  <p>4- create symbolic link using this command:</p>
  
  <pre><code>mklink /D \\share\Public\Husam\symtest \\share\Public
  </code></pre>
  
  <p>It works fine on my local network with active directory.</p>
  
  <p>On aws I have EC2 windows VM joined aws managed domain. The same domain I created the FSx with. I logged in to the machine with domain administrator. I gave security permission (share and security) to this uses on the shared folder using Windows File Shares GUI Tool.</p>
  
  <p>When I try to create the symbolic link I get: <strong>Access Denied</strong></p>
  
  <pre><code>mklink /d \\fs-432432fr34234a.myad.com\share\Husam\slink \\fs-432432fr34234a.myad.com\share
  Access Denied
  </code></pre>
  
  <p>any suggestions? is there a way to add this permission in active directory? </p>