Reputation: 16569
I am trying to map a storage account to a Virtual machine in Azure.
I am following a simple tutorial which details how to access your Azure Files from inside a VM.
You simply create a new storage account so that it has the new Azure Files access, then map a drive to the VM using net use:
net use z: \\tempstorage.file.core.windows.net\upload /u:tempstorage mykey
I am getting:
System error 53 has occurred.
The network path was not found.
I have made the container public and can access files located inside via the url:
https://tempstorage.blob.core.windows.net/upload/example.jpg
Any ideas why I am getting System error 53?
Please note: the above urls are an examples and don't link to a read locations.
Upvotes: 10
Views: 10040
Reputation: 1175
Change this registry key to a value of 3
HKLM\SYSTEM\CurrentControlSet\Control\Lsa > LmCompatibilityLevel
For more information, see the LmCompatibilityLevel topic on TechNet.
Got this solution from this MS docs
Upvotes: 1
Reputation: 5496
You need to make sure that you have first enabled that folder as a Share. See step 3 on this blog:
If you don't do this then you won't be able to map it to a virtual machine using the 'net use' command.
Upvotes: 2