mapping drive: System error 64 has occurred

Jai Ragoo 21 Reputation points
2021-07-27T12:29:29.907+00:00

Hello all, when I run the command to map my storage account on to my on-premises virtual machine I get the error:

PS C:\Windows\system32> net use j: \<STORAGE ACCT>.file.core.windows.net\share
System error 64 has occurred.
The specified network name is no longer available.

  • The OS is Windows 10 21H1 with SMB 3.1
  • The on-premises machine is joined to the on-premises AD which is sync'd with Azure AD Connect to the Azure AD.

For troubleshooting I run the following command:
Debug-AzStorageAccountAuth -StorageAccountName $StorageAccountName -ResourceGroupName $ResourceGroupName -Verbose
===> OUTPUT:
Name Result


CheckDomainJoined Passed
CheckGetKerberosTicket Passed
CheckUserRbacAssignment Passed
CheckAadUserHasSid Skipped
CheckADObjectPasswordIsCorrect Passed
CheckADObject Passed
CheckUserFileAccess Skipped
CheckPort445Connectivity Passed
CheckStorageAccountDomainJoined Passed
CheckSidHasAadUser Passed

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,288 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 46,286 Reputation points Microsoft Employee
    2021-07-28T10:41:54.347+00:00

    @Jai Ragoo Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    If you have a proxy or any other kind of NAT device in his Local Network, that would be blocking the connection from On-Prem to Azure for map the Azure File Share

    • Add the IP Address for the Storage Account or range (x.x.x.0/24) in the proxy or NAT device.
    • ipconfig /flushdns & ipconfig /registerdns (Elevated cmdline)
    • Control Panel -> Administrative Tools -> Local Security Policy
    • Under Security Settings -> Local Policies -> Security Options Set "Microsoft network client: Digitally sign communications: Disable (Enabled by default)

    Hope this helps
    Kindly let us know if the above helps or you need further assistance on this issue.

    -----------------------------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.