- Install-WindowsFeature -name Telnet-Client
- Import-Module ServerManager
- Add-WindowsFeature FS-NFS-Service
- Import-Module NFS
- mkdir C:\shares\nfsfolder
- echo "hello world" >C:\shares\nfsfolder\testfile
- icacls.exe C:\shares\nfsfolder /grant "Everyone:(F)"
- New-NfsShare -Name nfs1 -Path C:\shares\nfsfolder
- Set-NfsShare -Name nfs1 -Permission readwrite -Authentication "sys" -EnableUnmappedAccess $True -AllowRootAccess $True
- Set-NfsServerConfiguration -HideFilesBeginningInDot $True
- Grant-NfsSharePermission -Name nfs1 -ClientName "192.168.209.129" -ClientType "host" -AllowRootAccess $True -Permission readwrite
- Grant-NfsSharePermission -Name nfs1 -ClientName "127.0.0.1" -ClientType "host" -AllowRootAccess $True -Permission readwrite
- nfsadmin server stop
- nfsadmin server start
- Start-Service -Name ms-nfs41-client-service
- C:\cygwin64\sbin\nfs_mount -o rw N nfs://192.168.209.129//
- // EOF.
Windows NFSv4.1 server setup 2024-10-05
Posted by Anonymous on Sat 5th Oct 2024 16:03
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.