{"id":11255,"date":"2026-03-26T12:01:02","date_gmt":"2026-03-26T12:01:02","guid":{"rendered":"https:\/\/cheapwindowsvps.com\/blog\/a-step-by-step-guide-to-mounting-nfs-shares-in-windows-with-the-built-in-client\/"},"modified":"2026-03-26T12:01:02","modified_gmt":"2026-03-26T12:01:02","slug":"a-step-by-step-guide-to-mounting-nfs-shares-in-windows-with-the-built-in-client","status":"publish","type":"post","link":"https:\/\/cheapwindowsvps.com\/blog\/a-step-by-step-guide-to-mounting-nfs-shares-in-windows-with-the-built-in-client\/","title":{"rendered":"A Step-by-Step Guide to Mounting NFS Shares in Windows with the Built-in Client"},"content":{"rendered":"<p>Modern versions of Windows come equipped with a built-in NFS (Network File System) client that allows users to mount NFS directories directly from Linux hosts or NAS devices. This functionality enables seamless access to files and folders on NFS volumes through Windows File Explorer, much like accessing SMB (Server Message Block) mapped drives. Below, we explore how to enable the NFS client in Windows, mount an NFS network volume, and configure user mappings between Windows and Linux.<\/p>\n<h2>How to Enable an NFS Client on Windows<\/h2>\n<p>Starting with Windows 10, all modern versions feature a built-in NFS client that is disabled by default. To enable it, navigate to the Windows Features control panel. Run the command <code>optionalfeatures.exe<\/code>, expand <strong>Services for NFS<\/strong>, and enable <strong>Client for NFS<\/strong>, including management tools.<\/p>\n<p>Alternatively, you can enable the NFS client using PowerShell. For desktop operating systems (Windows 10 and 11), use:<\/p>\n<pre><code class=\"language-powershell\">Enable-WindowsOptionalFeature -FeatureName ServicesForNFS-ClientOnly, ClientForNFS-Infrastructure -Online -NoRestart<\/code><\/pre>\n<p>For Windows Server, the command is:<\/p>\n<pre><code class=\"language-powershell\">Install-WindowsFeature NFS-Client<\/code><\/pre>\n<p>To check the available NFS client settings, run:<\/p>\n<pre><code class=\"language-powershell\">Get-NfsClientConfiguration<\/code><\/pre>\n<h2>Mount an NFS Share on Windows<\/h2>\n<p>You can mount NFS network volumes using either Windows Explorer or command line tools like PowerShell or CMD. In Windows Explorer, select the <strong>Map network drive<\/strong> option, provide the network path to the NFS share (using the UNC format such as <code>\\192.168.123.123fsshare<\/code>), and designate a drive letter.<\/p>\n<p>For advanced options, mounting from the command line is preferable.<\/p>\n<p>In PowerShell or CMD, run:<\/p>\n<pre><code class=\"language-shell\">mount.exe -o anon \\192.168.123.123fsshare N:<\/code><\/pre>\n<p>This command mounts an NFS folder with an anonymous user. Replace the details with your NFS server&#8217;s IP address and path. To ensure compatibility with Linux\u2019s case sensitivity, you can add <code>casesensitive=yes<\/code>.<\/p>\n<p>The PowerShell equivalent is:<\/p>\n<pre><code class=\"language-powershell\">New-PSDrive -PSProvider FileSystem -Name N -Root \\192.168.123.123fsshare -Persist<\/code><\/pre>\n<p>This preserves the connection across reboots, as opposed to the mount.exe command, which does not offer this option.<\/p>\n<p>When accessing the NFS folder in Explorer, a new tab entitled <strong>NFS Attributes<\/strong> will display file permissions and ownership details.<\/p>\n<p>However, note that files with non-Latin characters may not be displayed correctly. To remedy this, you can enable UTF-8 support in Windows by checking \u201c<strong>Beta: Use Unicode UTF-8 for worldwide language support<\/strong>\u201d in the system locale settings.<\/p>\n<p>To unmount the NFS share, use:<\/p>\n<pre><code class=\"language-powershell\">Remove-PSDrive N<\/code><\/pre>\n<p>or<\/p>\n<pre><code class=\"language-shell\">umount.exe M:<\/code><\/pre>\n<h2>Configuring User Mappings<\/h2>\n<p>While anonymous access to NFS is straightforward, it presents security concerns. It is advisable to configure a mapping of Windows users to their corresponding Linux UID (User ID) and GID (Group ID).<\/p>\n<p>To set this up in an Active Directory (AD) environment:<\/p>\n<pre><code class=\"language-powershell\">Set-NfsMappingStore -EnableADLookup $trueSet-NfsMappedIdentity -MappingStore AD -UserName &quot;j.smith&quot; -UserIdentifier 1000 -GroupIdentifier 100<\/code><\/pre>\n<p>Alternatively, for local machines where AD is not utilized, you can edit the <strong>passwd<\/strong> and <strong>group<\/strong> files located in <code>C:\\Windows\\System32\\drivers\\etc<\/code> to correspond Windows usernames to Unix UID\/GID.<\/p>\n<p>For instance, to add a local user <code>maxadm1<\/code>:<\/p>\n<p>In <strong>passwd<\/strong>:<\/p>\n<pre><code>user1:x:1000:100:maxadm1:C:Usersmaxadm1<\/code><\/pre>\n<p>And in <strong>group<\/strong>:<\/p>\n<pre><code>users:x:100:maxadm1<\/code><\/pre>\n<p>Mapping a specific Windows user can be checked using:<\/p>\n<pre><code class=\"language-powershell\">Get-NfsMappedIdentity -AccountName user1 -AccountType User<\/code><\/pre>\n<p>For those who wish to change the default UID\/GID for anonymous connections, the corresponding registry parameters can be adjusted under:<\/p>\n<p><code>HKLMSOFTWAREMicrosoftClientForNFSCurrentVersionDefault<\/code><\/p>\n<p>For example, to set UID\/GID to 0 (the Linux <code>root<\/code> user):<\/p>\n<pre><code class=\"language-shell\">reg add &quot;HKLMSOFTWAREMicrosoftClientForNFSCurrentVersionDefault&quot; \/v AnonymousUid \/t REG_DWORD \/d 00000000 \/freg add &quot;HKLMSOFTWAREMicrosoftClientForNFSCurrentVersionDefault&quot; \/v AnonymousGid \/t REG_DWORD \/d 00000000 \/f<\/code><\/pre>\n<p>Once changes are made, restart the NFS services to apply configurations.<\/p>\n<p>By following these steps, you can effectively manage NFS shares within a Windows environment, enabling efficient collaboration between Windows and Linux systems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Modern versions of Windows come equipped with a built-in NFS (Network File System) client that allows users to mount NFS directories directly from Linux hosts or NAS devices. This functionality enables seamless access to files and folders on NFS volumes through Windows File Explorer, much like accessing SMB (Server Message Block) mapped drives. Below, we [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":11256,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[99,121],"tags":[],"class_list":["post-11255","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-11","category-windows-server-2025"],"_links":{"self":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/11255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/comments?post=11255"}],"version-history":[{"count":0,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/11255\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media\/11256"}],"wp:attachment":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media?parent=11255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/categories?post=11255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/tags?post=11255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}