Trying to mount NFS share on Windows Machien at startup with Z: letter for all users
Posted
by
ScottC
on Super User
See other posts from Super User
or by ScottC
Published on 2012-06-15T14:47:32Z
Indexed on
2012/06/15
15:19 UTC
Read the original article
Hit count: 512
Windows Server 2008
We are trying to mount a specific drive letter on a windows machine from a unix machine. We need the mount to be available to the server even if no users are logged in and to users who are logged in with If we run the command from the command prompt manually it conencts and we have access to the NFS share, and can open it and see and edit files.
mount -o fileaccess=777 anon \\127.0.0.1\nav z:
(ip address replaced with 127.0.0.1 for security reasons)
However if we try to automate the task by making an entry in the task schedule for boot time, to execute the batch script, it adds a disconencted drive to the list in 'My Computer' but it is disconencted and when trying to access the drive an error is produced:
Z: is not accessible
The data area passed to a system call is too small.|
Tried as administrator with highest privelidges, as SYSTEM (group) and as my user (adminstator level user) same results.
Is there another way to do this? Most of the help I have found online suggest this way but it keeps failing.
© Super User or respective owner