Map drive to share at startup for a service
From: Stephen F. (anonymous_at_discussions.microsoft.com)
Date: 06/22/04
- Next message: MV: "Networking"
- Previous message: Steven L Umbach: "Re: Domain Controler Unavaiable"
- In reply to: Stephen F.: "Map drive to share at startup for a service"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 21 Jun 2004 19:30:47 -0700
I'm amazed there's no easy answer to this question yet.
Is there no equivalent to UNIX NFS in Windows server?
Background daemon programs in UNIX can easily mount
volumes from anywhere in the filesystem (drive, folder,
etc.) using NFS to remote filesystems without anyone
logging into the server interactively.
Do I need to use UNIX services for Windows 3.5 to pull
this off?
>-----Original Message-----
>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!
>.
>
- Next message: MV: "Networking"
- Previous message: Steven L Umbach: "Re: Domain Controler Unavaiable"
- In reply to: Stephen F.: "Map drive to share at startup for a service"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|