top of page
  • Writer's pictureMohammed Niyas

NFS Share in Windows Server 2016

Install Network File System on the server with Server Manager


  1. From the Add Roles and Features Wizard, under Server Roles, select File and Storage Services if it has not already been installed.

  2. Under File and iSCSI Services, select File Server and Server for NFS. Select Add Features to include selected NFS features.

  3. Select Install to install the NFS components on the server



Install Network File System on the server with Windows PowerShell

  1. Start Windows PowerShell. Right-click the PowerShell icon on the taskbar, and select Run as Administrator.

  2. Run the following Windows PowerShell commands:

PowerShell


Import-Module ServerManager
Add-WindowsFeature FS-NFS-Service
 

Create an NFS file share with Server Manager


  1. Log on to the server as a member of the local Administrators group.

  2. Server Manager will start automatically. If it does not automatically start, select Start, type servermanager.exe, and then select Server Manager.

  3. On the left, select File and Storage Services, and then select Shares.

  4. Select To create a file share, start the New Share Wizard.

  5. On the Select Profile page, select either NFS Share – Quick or NFS Share - Advanced, then select Next.

  6. On the Share Location page, select a server and a volume, and select Next.

  7. On the Share Name page, specify a name for the new share, and select Next.

  8. On the Authentication page, specify the authentication method you want to use for this share.

  9. On the Share Permissions page, select Add, and then specify the host, client group or netgroup you want to grant permission to the share.

  10. In Permissions, configure the type of access control you want the users to have, and select OK.

  11. On the Confirmation page, review your configuration, and select Create to create the NFS file share.


Windows PowerShell equivalent commands

The following Windows PowerShell cmdlet can also create an NFS file share (where nfs1 is the name of the share and C:\\shares\\nfsfolder is the file path):

PowerShell

New-NfsShare -name nfs1 -Path C:\shares\nfsfolder
747 views0 comments

Recent Posts

See All
bottom of page