Re: Map network drive using SYSTEM account?
From: rgp (rgp_at_discussions.microsoft.com)
Date: 10/20/04
- Next message: rgp: "Re: Map network drive using SYSTEM account?"
- Previous message: This-line-intentionally-left-blank: "Re: Map network drive using SYSTEM account?"
- In reply to: Torgeir Bakken \(MVP\): "Re: Map network drive using SYSTEM account?"
- Next in thread: Paul R. Sadowski [MVP]: "Re: Map network drive using SYSTEM account?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 20 Oct 2004 10:31:03 -0700
I map to a specific account with user name and password using the IP address
of the target. This works fine when the owner of the job is an
administrator. The servers the batch job will be running on are all
stand-alone workgroup servers, remotely administered thru MS Transaction
Server.
"Torgeir Bakken (MVP)" wrote:
> rgp wrote:
>
> > Whenever my batch files run as a scheduled task on W2K Server using the
> > 'system' account I get the error; "System error 1312 has occurred. A
> > specified logon session does not exist. It may already have been terminated."
> > when attempting to map (net use) a drive to a remote machine. It also
> > generates an Event ID: 3034 in the event log.
> >
> > I've found alot of 'almost' answers but not THE answer to the question:
> > Is it possible to map a network drive (net use) while running a batch file
> > in the system security context and if so, how?
> >
> > Any help would be appreciated.
> Hi
>
> Do you map with explicit user account and password like this:
>
> If the computers are members of the same domain:
>
> net use y: \\<server>\<share> <password> /user:<domain\user>
>
>
> if not:
> net use y: \\<server>\<share> <password> /user:<remote computer\user>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/scriptcenter/default.mspx
>
- Next message: rgp: "Re: Map network drive using SYSTEM account?"
- Previous message: This-line-intentionally-left-blank: "Re: Map network drive using SYSTEM account?"
- In reply to: Torgeir Bakken \(MVP\): "Re: Map network drive using SYSTEM account?"
- Next in thread: Paul R. Sadowski [MVP]: "Re: Map network drive using SYSTEM account?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|