Table of Contents
- Why Should You Trust This Simple Yet Powerful NFS Guide for Windows Server 2025 Success?
- What Is NFS?
- Why Use NFS?
- What You Need Before You Start
- Step 1: Install NFS on Windows Server 2025
- Using the Graphical User Interface (“Server Manager”)
- Using PowerShell (Faster method)
- Step 2: Create an NFS Share
- Using Server Manager
- Using PowerShell
- Step 3: Mount the NFS Share from Linux or Mac
- Tips for Better Security and Performance
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”)
- Open Server Manager (Find in Start menu).
- Click “Manage” at the top—select “Add Roles and Features.”
- Select “Role-based or feature-based installation.” Click Next.
- Pick your server (it’s usually selected by default).
- In “Server Roles,” expand “File and Storage Services,” then “File and iSCSI Services,” and check “Server for NFS.” Click Add Features if prompted.
- Continue clicking Next until you reach the final screen.
- Hit Install and wait for a success message.
- 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
Using Server Manager
- Go to “File and Storage Services,” then choose “Shares.”
- Click “Tasks” > “New Share” > “NFS Share – Quick.”
- Choose or create a folder for sharing (for example, E:\NFS-Share).
- Pick how users should be checked for permission. “No Server Authentication” is simple for mixed systems.
- Type in which computers can connect (by their IP addresses or use “*” for all).
- Set permissions:
- Read Only
- Read/Write
- Root Access (usually set this off unless you need it)
- Set NTFS permissions if needed.
- Confirm and create the share.
Using PowerShell
New-NfsShare -Name "NFS-Share" -Path "E:\NFS-Share" -AllowRootAccess $false -Permission ReadWrite
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.