# Run as Administrator and Switch to new Screen
Start-Process powershell -Verb runAs
# Install NFS Client
PS C:\\Windows\\system32> Install-WindowsFeature -Name NFS-Client
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True No NoChangeNeeded {}
# NFS write permissions are restricted to the "root" user.
# Windows doesn\'t have a "root" user
# Map the Windows anonymous user to the OCI NFS "root" (UID 0)
Set-ItemProperty HKLM:\\SOFTWARE\\Microsoft\\ClientForNFS\\CurrentVersion\\Default -Name AnonymousUid -Value 0
Set-ItemProperty HKLM:\\SOFTWARE\\Microsoft\\ClientForNFS\\CurrentVersion\\Default -Name AnonymousGid -Value 0
# Restart Services
Stop-Service -Name NfsClnt
Restart-Service -Name NfsRdr
Start-Service -Name NfsClnt