Share via


share between two Azure VM

Question

Monday, October 23, 2017 12:26 PM

hi 

we have 3 Azure VM which is in same subnet ( vnet). how can create local share folder like \vm1\folder1     ( like on-premises )

All replies (2)

Monday, October 23, 2017 12:29 PM

by enable *The firewall ports  for file and printer sharing  open (ports 445 and 139).  is possible ? *


Monday, October 23, 2017 6:03 PM

Steps to share drives\files between Azure VMs:

1. Right click on the folder\Drive which you want to share and click on share:

2. Then click on advanced sharing

3. Run the following command in an elevated command line window to mount the shared drive

 net use * network path (example: * \V-viksur1\f)

There has been some discussion on this topic already in the following thread:

https://social.msdn.microsoft.com/Forums/en-US/256ab457-070d-4de9-8a97-1b7cf102ecec/how-to-set-up-a-file-share-between-two-azure-vms-?forum=WAVirtualMachinesforWindows

Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.