Making NFS volumes available to Windows Users

Very frequently we come across requirement to mount a NFS share for users. A very general approach to mount the share as Administrator or to run the mount command wrapped up in a script. This way the mount works properly but the same mounted drive will not be available for all the users. My experience is that most of the users will be able to see the share but when we try to access; it generates access denied error. The issue becomes more complicated when we try to un-mount the drive; and it come back with a message that the drive itself is not mounted!

All these due to reason that mounted drives on Windows are User and Session specific.

A simple way to overcome such issue is to use a Logon script to mount the drive and a Logoff script to un-mount the same.

Use gpedit.msc to add a script.

GPEdit

The only cons I can think here is that such mounted drives will be available to all the users. May be we can make it more granular for specific users; will try to explore it in some other posts.