S
Stephen F.
What is the best way to map a network drive to a shared
folder (a DFS root) on a another server at system startup
so that a background service may use the files on the
shared folder automatically after startup?
I've tried using a startup jscript in the Local Policy
Object and a "net use" command from a batch file executed
by the scheduler service at startup (scheduled task
job). Both approaches have not worked successfully. The
same login credentials (uid,pwd) do work successfully
when logged in interactively, even running the same
script as the same user as defined in the scheduled task
job.
I get error messages in the system log such as events:
- 3034 (MrxSmb: "The redirector was unable to initialize
security context or query context attributes.") from the
script, and
- 3019 (MRxSmb: "The redirector failed to determine the
connection type.").
I've setup the service to depend on lanmanserver,
lanmanclient, etc. so it won't try to access the mapped
drive until other services that are needed for the mapped
drive to operate are up. But the mapping process isn't
working.
Thanks!
folder (a DFS root) on a another server at system startup
so that a background service may use the files on the
shared folder automatically after startup?
I've tried using a startup jscript in the Local Policy
Object and a "net use" command from a batch file executed
by the scheduler service at startup (scheduled task
job). Both approaches have not worked successfully. The
same login credentials (uid,pwd) do work successfully
when logged in interactively, even running the same
script as the same user as defined in the scheduled task
job.
I get error messages in the system log such as events:
- 3034 (MrxSmb: "The redirector was unable to initialize
security context or query context attributes.") from the
script, and
- 3019 (MRxSmb: "The redirector failed to determine the
connection type.").
I've setup the service to depend on lanmanserver,
lanmanclient, etc. so it won't try to access the mapped
drive until other services that are needed for the mapped
drive to operate are up. But the mapping process isn't
working.
Thanks!