Share via

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.

0 comments No comments

Answer accepted by question author

Sumarigo-MSFT 47,511 Reputation points Microsoft Employee Moderator
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.

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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