Guidance on usage: NFS Server on Windows Server 2022 Datacenter Azure

Configuring and connecting to NFS Server on Windows Server 2022 Datacenter Azure

Server tuning

  1. After purchasing and starting the VM you should know its IP address. You can find it in the personal account of Azure. (You should select the virtual machine from the list. By clicking the item “Overview”, your IP would be displayed in the line “Public IP Address”).
  1. First, you need to open TCP and UDP ports 111 and 2049 in the network properties of the Azure Firewall.
  1. To connect to the virtual machine, run the “Remote Desktop Connection” shortcut “Win + R”
  1. In the window that appears, enter “mstsc” and click “OK”.
  1. In the window that appears, enter the virtual machine’s IP and click “Connect”.
  1. In the window that appears, enter your username and password and click “OK”.
  2. Check the box and click “Yes”.
  1. Once logged in, open up “Server Manager” (if it doesn’t start automatically)
  1. Select “File and Storage Services” in the window that opens.
  1. Select the “Shares” section, and click “TASKS” – New Share.
  1. Select “NFS Share – Quick” and click “Next” in the window that appears.
  1. For example, you can configure a specific folder as Shared. To do this, you should click on “Type a custom path” and select a folder or write the folder name, which will be created in the directory you selected, if there is no such folder. Click “Next”.


Share_folder is an example of a folder name, it is not necessary to specify it exactly. You can specify any folder that you want to make available on your VM

  1. Click “Next”, and click “OK” (in a case in the previous step you wrote the name of the folder that would be created)
  1. Specify authentication methods.
  1. Set the share permissions. Click the “Add” button.
  1. Specify the Hosts you’d like to grant access permissions like the example below. Enter the IP address and choose the permissions that will be available to this host.
  1. Click “Next”.
  1. Click “Create”.
  1. Click “Close”.
  1. Now you can manage the NFS server with ‘NFS tools’

Connecting to NFS Share

  1. In the search field, enter “windows features” and open this menu.
  1. In this window, scroll down to “Services for NFS” and check the box “Client for NFS” and then click the “OK” button.
  1. Open “Explorer – This PC”, select “Computer – Map network drive – Map network drive” on top.
  1. Enter \\vm_ip\shared_folder and click “Finish”.


Vm_ip and share_folder are given as an example, you should insert the IP address of your VM instead of vm_ip, and instead of share_folder, you should insert the Share name of your NFS.