NFS Setup Guide on Windows Server 2025 for File Sharing

Introduction

NFS (Network File System) is one of the most widely used protocols for sharing files across a network, enabling computers to access files remotely as if they were on the local system. It is commonly used in Linux/Unix environments but has also found its way into Windows Server installations. As organizations continue to build heterogeneous IT environments, understanding how to set up and use NFS in Windows Server 2025 is more important than ever.

This blog post will provide a complete guide on how to install, configure, and use NFS on Windows Server 2025, discuss its key features and characteristics, and outline when and why you should choose NFS for your file sharing needs.

What is NFS

NFS (Network File System) is a protocol developed by Sun Microsystems in 1984 that allows a computer to access files over a network as if they were part of its local storage. Initially designed for UNIX-based systems, NFS has become a standard protocol for shared file systems, especially in Linux/Unix environments. Over time, support for NFS was extended to Windows and other platforms, making it a cross-platform file-sharing protocol.

Key Characteristics of NFS:

  • File Sharing over the Network: NFS allows files stored on one computer to be accessed over a network by other computers as though they were local files.
  • Network Transparency: With NFS, users can seamlessly access remote files without needing to know the physical location of those files.
  • Scalable: NFS allows for easy scaling of storage across multiple machines without the need for complicated configurations.

Features and Characteristics of NFS

Centralized Storage

NFS allows for centralized storage of files that can be accessed by multiple clients across a network. This reduces redundancy and simplifies data management.

Ease of Configuration

NFS is relatively easy to set up and configure, especially on Windows Server 2025, making it accessible even to less experienced administrators.

Cross-Platform Compatibility

NFS allows files to be shared across different platforms (Linux, UNIX, and Windows), enabling diverse environments to work together seamlessly.

Security and Authentication

Windows Server 2025 supports Kerberos authentication for secure access to NFS shares. This ensures that only authorized users and systems can access the shared files.

Performance

NFS is generally considered lightweight, but it’s important to note that the performance can depend on the network, server, and hardware specifications. It offers good performance for most standard workloads.

Scalability

NFS supports the addition of more clients and servers without significant changes to the network infrastructure. This makes it a scalable solution for businesses of all sizes.

Support for Different NFS Versions

Windows Server 2025 supports NFSv3 and NFSv4. NFSv4 includes improved features like stateful operations, security improvements, and better support for firewalls.

When to Use NFS?

NFS is an excellent choice for a wide range of use cases, particularly when you need to share files across mixed environments (Windows, Linux, UNIX). Here are some scenarios where you might want to use NFS:

Sharing Files Between Windows and UNIX/Linux Systems

If your organization uses both Windows and UNIX/Linux systems, NFS allows seamless file sharing between these diverse environments. NFS’s cross-platform compatibility means it can integrate Windows Server 2025 with UNIX/Linux-based servers.

2. Centralized File Storage

If you want to centralize the storage of files, NFS is a good solution. You can mount remote NFS shares onto Windows Server 2025, ensuring all files are stored in one place, easily accessible by multiple systems.

3. Simplified Configuration

For environments where file sharing simplicity is critical, NFS is a straightforward solution. Unlike more complex file-sharing methods, NFS can be quickly configured and maintained.

4. Integration with Virtualized Environments

In virtualized environments (such as VMware), NFS is a reliable storage protocol for shared storage. Windows Server 2025 can use NFS to store virtual machine files and configuration data.

5. Cost-Effective Storage Solutions

NFS provides an affordable solution for businesses looking to implement shared network storage without investing in expensive storage hardware.

Step-by-Step Tutorial: Installing and Configuring NFS in Windows Server 2025

Now, let’s dive into the process of setting up NFS on Windows Server 2025. Follow these steps to install and configure NFS for file sharing.

Install the NFS Server Feature

Open Server Manager:

Click on the Start button and open Server Manager.

Add Roles and Features:

In Server Manager, click on Manage in the top-right corner, and then select Add Roles and Features.

Select NFS Server Feature:

On the Select server roles screen, expand:

File and Storage Services

File and iSCSI Services. Check the box for Server for NFS. If any required features are needed, it will prompt you to add them. click Add Features. Click Next.

NFS 1

Wait for Installation:

The Select features screen may already have some default features selected you don’t need to add anything here unless specifically required.

Just click Next. On the Confirmation screen:

Review the selections. Optionally check Restart the destination server automatically if required. Click Install.

Wait for the installation to complete. It may take a few minutes. Once done, click Close. At this point, Server for NFS is installed, and you can now proceed to configure NFS shares on your Windows Server.

Configure NFS Server

Open NFS Configuration:

After installation, open Server Manager again, go to the Tools menu, and select Services for Network File System.

NFS 3

Start NFS Server:

Find the NFS Server service in the list and make sure it is running. If it is not, right-click and select Start.

Open Server Manager > File and Storage Services > Shares.

Click Tasks > New Share.

Select NFS Share – Quick or NFS Share – Advanced, depending on your needs.

NFS 5

Choose NFS Share Type. You’ll now see several options for types of shares:

NFS Share – Advanced: Allows more customization (e.g., permissions, quotas, etc.).

NFS Share – Quick: Simplified setup, default options.

For most purposes, select NFS Share – Quick, then click Next.

You’ll be asked to choose where to create the NFS share. Select an existing folder or create a new one.

In our case we set the path to: C:\Shares\vmorecloud_share

Then click Next.

NFS 7

Configure Authentication and Permissions

Authentication:

Choose No server authentication (AUTH_SYS) for standard NFS access.

Specify Permissions:

Click Add to define which hosts can access this NFS share.

In the permission entry:

Enter hostname or IP address of client (e.g., 192.168.119.145).

Choose access type:

  • Read-Only
  • Read-Write
  • Check or uncheck root access as needed.

For basic setups, choose Read-Write and disable root access for security. Click Next.

Configure NFS Client Access

Allow NFS Client Access

To allow remote clients (Linux or Windows) to mount the shared folder, go to the Share settings and specify the IP addresses or hostnames of the client machines.

You can configure NFS to allow access to specific machines or networks by using IP-based access control.

Adjust Firewall Settings

If you are using Windows Firewall, ensure that the firewall allows inbound traffic on the NFS port (2049). You may need to create a rule in the Windows Firewall settings to enable this traffic.

Mount the NFS Share on a Client (Windows or Linux)

Mount NFS Share from a Windows Client

Enable NFS Client Feature

Go to Control Panel > Programs > Turn Windows features on or off.

Scroll down and enable:

Services for NFS

Client for NFS

Click OK and restart if required.

Mount the NFS Share

Open Command Prompt as Administrator and run:

On a Windows Client

Open Command Prompt as Administrator.

Mount the Share

mount \\<Server_IP>\vmorecloud_share Z:

Example:

mount -o nolock \\192.168.1.10\sharedFolder Z:

This mounts the NFS share as drive Z.

Verify Access

Open File Explorer. Navigate to *Z: *. You should see the contents of the shared NFS folder.

On a Linux Client

Install NFS Client (if not already installed). On Ubuntu/Debian open the terminal and type this command.

sudo apt-get install nfs-common

Create a Mount Point

This is the directory where the remote NFS share will be mounted.

sudo mkdir -p /mnt/nfs_share

Mount the Share

sudo mount -t nfs <Server_IP>:/nfsdata /mnt/vmorecloud_share

Verify the Setup

Check Mounted Shares

On the client machine, verify that the NFS share is accessible by navigating to the mounted drive or folder. Type the following command:

df -h | grep nfs

Or list the contents.

ls /mnt/nfs_share

Test File Access

Try creating, editing, and deleting files on the NFS share to ensure proper permissions are set.

Make the Mount Persistent

Edit /etc/fstab and add:

192.168.1.10:/nfsdata   /mnt/vmorecloud_share   nfs   defaults   0  0

Conclusion

By following this step-by-step guide, you’ve learned how to install and configure NFS on Windows Server 2025. NFS is a powerful and cost-effective solution for file sharing, particularly in mixed-OS environments. Its ease of configuration and cross-platform compatibility make it an attractive choice for organizations that need centralized storage and seamless access across Windows, Linux, and UNIX systems.

Whether you’re looking to integrate NFS into your existing virtualized infrastructure, need centralized file storage, or want to simplify file-sharing across a network, NFS on Windows Server 2025 is a robust choice.

Leave A Reply

Your email address will not be published.