Persistent mount of NFS shares on a Windows Server system

System: Windows Server 2008R2/2012R2

- last updated on -

About: The purpose of this document is to record a method by which a NFS share can be mounted in a persistent-like fashion on a Windows Server 2008R2/2012R2 system, considering that this bevahiour is, apparently, not supported officially by the vendor.

The why: As mentioned previously, mounting NFS shares on a Windows 2008R2/2012R2 system in a persistent fashion is not something that is supposed to be possible at this time, not to mention that the mountpoints are associated with the individual uses and cannot be provided in a system-wide manner. One could map the NFS export using the Explorer's Map Network Drive function, but that drive would show up as disconnected at boot-up (which is esthetically unpleasant, suggests to the users that there is a problem and possibly slows down the boot process if the NFS server is unreachable) and each individual user does have to map the share on his own initially, which denies the practicality of having a system administrator doing the necessary changes for the concerned users.

The how: Given the listed limitations (mountpoints being tied to an user's login identity, need for persistence and the need to implement the same mountpoint for multiple users, without their interaction/assistance), the workaround solution found was to mount the NFS export via each user's Profile-specific Logon Script. The steps below list the actions taken in order to achieve the desired outcome: