You must be able to log into the Microsoft Windows OS on
the instance with superuser or administrator privileges.
Before You Begin
The following tasks are included in this procedure, and you might want to be aware of
them before you begin.
Installation of the Microsoft Windows
NFS Client – This service must be installed on the instance from which
you want to mount the file system. Installing the client often requires a
restart of the instance.
The AnonymousGid and
AnonymousUid identity values must be configured to
allow write access. – Access to NFS file systems requires UNIX user and group identities, which are not
the same as Microsoft Windows user and group identities.
By default, file systems write permissions are only granted to the root user. To
enable user access to NFS shared resources, the Microsoft Windows client for NFS accesses file systems
anonymously, using AnonymousGid and
AnonymousUid.
Caution
Updating the AnonymousGid and AnonymousUid values require registry changes to
your instance.
Open Microsoft Windows
PowerShell and run as Administrator:
Go to Start and open PowerShell.
In PowerShell, type the following to
run as Administrator:
Start-Process powershell -Verb runAs
In the User Account Control window, click Yes. A new Administrator:
PowerShell window opens. You can
close the standard PowerShell window
to avoid confusing them.
In Administrator: PowerShell, get the NFS
client and update the registry by typing the following:
Open Microsoft Windows
PowerShell and run as Administrator:
Go to Start and open PowerShell.
In PowerShell, type the following to
run as Administrator:
Start-Process powershell -Verb runAs
In the User Account Control window, click Yes. A new Administrator:
PowerShell window opens. You can
close the standard PowerShell window
to avoid confusing them.
In Administrator: PowerShell, get the NFS
client by typing the following:
Install-WindowsFeature -Name NFS-Client
If necessary, restart your system.
Open the registry editor (regedit) to map the AnonymousGid and AnonymousUid
to the root user.
Caution
User identity mapping requires changes to your system registry.
Click Windows Search.
Enter regedit in the Search field and press Enter.
Click Yes to allow changes to your device.
Click HKEY_LOCAL_MACHINE. Then, browse to:
Software\Microsoft\ClientForNFS\CurrentVersion\Default.
Add a new DWORD32 registry entry for AnonymousGid:
Click Edit, and select New DWORD (32 bit) Value.
In the Name field, enter AnonymousGid. Leave the
value at 0.
Repeat the previous step to add a second DWORD32 registry entry named
AnonymousUid with a value of 0.
Open Microsoft Windows Command Line (CMD) and run as
Administrator:
Go to Start and scroll down to Apps.
In the Windows System section, press CTRL+Shift and click Command
Prompt.
In the Microsoft Windows Command Line (CMD) window,
restart the NFS Client by typing the following:
nfsadmin client stop
nfsadmin client start
Open File Explorer and select This PC. In the Computer tab, select Map
network drive.
Select the Drive letter that you want to assign to the file system.
In the Folder field, enter the following line, replacing: