Skip to Content

Can to Set Up NFS Server on Windows Server 2025 for Seamless Sharing?

Why Should You Trust This Simple Yet Powerful NFS Guide for Windows Server 2025 Success?

Installing an NFS server on Windows Server 2025 is a reliable way to connect Linux, Mac, and Windows systems for effortless file sharing. This process helps you move files around, work together, and save time without much fuss. Here’s a step-by-step advisor’s guide—with extra clarity—for anyone aiming to get this right the first time.

What Is NFS?

NFS stands for Network File System. It lets different computers talk to each other to share files over a network, even if they use different operating systems. This means you can have a folder on your Windows server that looks local to a Linux or Mac computer.

Why Use NFS?

  • Works well in mixed environments (Windows, Linux, Mac).
  • Good for sharing files in teams that use different systems.
  • Makes backups and data moves much easier.
  • Useful for applications and software that expect file sharing like on Linux.

What You Need Before You Start

  • Windows Server 2025 installed
  • Access as an Administrator
  • The NFS server role enabled

Step 1: Install NFS on Windows Server 2025

Using the Graphical User Interface (“Server Manager”)

  1. Open Server Manager (Find in Start menu).
  2. Click “Manage” at the top—select “Add Roles and Features.”
  3. Select “Role-based or feature-based installation.” Click Next.
  4. Pick your server (it’s usually selected by default).
  5. In “Server Roles,” expand “File and Storage Services,” then “File and iSCSI Services,” and check “Server for NFS.” Click Add Features if prompted.
  6. Continue clicking Next until you reach the final screen.
  7. Hit Install and wait for a success message.
  8. Close the wizard when done.

Using PowerShell (Faster method)

Enter this command:

Install-WindowsFeature -Name FS-NFS-Service -IncludeManagementTools

To check if it worked:

Get-WindowsFeature -Name FS-NFS-Service

Step 2: Create an NFS Share

Using Server Manager

  1. Go to “File and Storage Services,” then choose “Shares.”
  2. Click “Tasks” > “New Share” > “NFS Share – Quick.”
  3. Choose or create a folder for sharing (for example, E:\NFS-Share).
  4. Pick how users should be checked for permission. “No Server Authentication” is simple for mixed systems.
  5. Type in which computers can connect (by their IP addresses or use “*” for all).
  6. Set permissions:
    • Read Only
    • Read/Write
    • Root Access (usually set this off unless you need it)
  7. Set NTFS permissions if needed.
  8. Confirm and create the share.

Using PowerShell

New-NfsShare -Name "NFS-Share" -Path "E:\NFS-Share" -AllowRootAccess $false -Permission ReadWrite

Step 3: Mount the NFS Share from Linux or Mac

On your Linux or macOS machine, run:

sudo mount -t nfs [WindowsServerIP]:/NFS-Share /your/mount/point

Example:

sudo mount -t nfs 192.168.1.10:/NFS-Share /home/user/nfs

Tip: Your Linux or Mac must have the NFS client package (nfs-common on Debian/Ubuntu) installed.

Tips for Better Security and Performance

  • Use Kerberos authentication for stronger security, especially in business settings.
  • Open ports 2049 (NFS) and 111 (Portmap) in your Windows firewall.
  • Limit allowed client IPs for higher safety.
  • Keep Windows Server and Linux systems updated.
  • Log activity on the NFS server and check for alarms.

Setting up NFS on Windows Server 2025 lets you create a smooth and flexible bridge between Windows and other systems. With a few simple clicks or commands, you gain a sharing space that every team or device can use. This ease can turn file sharing from a painful process into a fast, dependable experience that works quietly in the background, letting you get back to what matters most.