title: Unable to use cmdkey and net use to a Azure file share on Windows 10
body: <p>I'm trying to follow the <a href="https://azure.microsoft.com/en-us/documentation/articles/storage-dotnet-how-to-use-files/#mount-the-file-share" rel="nofollow">instructions</a> on how to create a persisted connection to an Azure Storage File Share. However from my Windows 10 machine I cannot get the <code>cmdkey</code> / <code>net use</code> combination to work:</p>
  
  <pre><code>C:\&gt;cmdkey /add:myaccountname.file.core.windows.net /user:myaccountname /pass:myaccountkey
  
  CMDKEY: Credential added successfully.
  
  C:\&gt;net use \\myaccountname.file.core.windows.net\mysharename
  System error 53 has occurred.
  
  The network path was not found.
  </code></pre>
  
  <p>However if I provide the username and password in a single <code>net use</code> command it works correctly:</p>
  
  <pre><code>C:\&gt;net use z: \\myaccountname.file.core.windows.net\mysharename /u:myaccountname myaccountkey
  The command completed successfully.
  </code></pre>
  
  <p>So it doesn't look like a firewall issue.</p>
  
  <p>Any ideas? Is there another port that needs to be open to allow the <code>cmdkey</code> scenario to work?</p>