Configuring an NFS Server on Windows Server

Linux Server Ubuntu Uncategorized Windows

Overview

Microsoft’s Windows Server has had the ability to host NFS shares since Server 2003. There are a number of reasons why you may need it, such as backing up SharePoint or sharing files with Unix or Linux computers, and for the most part it works fairly well.

This how to will guide you through installing and configuring it. Not covered in this how to, Active Directory mappings can be created for your Linux users accounts to grant them access to directories and files using NTFS shares.

Install NFS File Services

  1. Launch Server Manager.
  2. On the top menu, select “Manage”.
  3. Then select “Add Roles and Features”.
  4. On the “Before you begin” screen, select “Next”.
  5. On the Select installation type screen, ensure Role-based or feature-based installation is selected, and then click Next.
  6. On the Server selection screen, click Next.
  7. On the Select server roles screen, expand File and Storage Services, expand File and iSCSI Services, and then check Server for NFS.

    Add Roles and Features Wizard

  8. Now select “Next”.
  9. If an “Add features that are required for Server NFS” dialog box appears, select “Add Features”.

    Add features that are required for server for nfs

  10. On the “Select feature” screen, click “Next”.
  11. Confirm the installation details, and click “Install”.

Configure an NFS Share

  1. Open File Explorer. 
  2. Create a new directory for your NFS share.
  3. Right-click the directory and select “Properties”.
  4. Click on the “NFS Sharing tab”.
  5. On the NFS Sharing tab, select the “Manage NFS Sharing…” button
  6. Check mark the “Share this folder” check box.

    NFS Advanced Sharing

  7. Enter a name into the Share name text field. This will be used when a user connects to the NFS share.
  8. Select the “Permissions” button.
  9. Select “Add” and then enter the IP address or hostname of the client(s) you want to allow connections to. When added, you may also select whether they have readwrite access or read-only access.

    NFS Share Permissions

  10. Select “OK”.
  11. Select “Apply” and then click “OK”.

You now have a simple NFS share hosted on a Windows Server box.

Leave a Reply