Re: Task Scheduler permissions problem
From: Nev George (bowlingparking-spamkill_at_hotmail.com)
Date: 08/27/04
- Next message: Chun Wong: "Re: security control IWAM_myserver"
- Previous message: Steven L Umbach: "Re: Task Scheduler permissions problem"
- In reply to: Steven L Umbach: "Re: Task Scheduler permissions problem"
- Next in thread: Steven L Umbach: "Re: Task Scheduler permissions problem"
- Reply: Steven L Umbach: "Re: Task Scheduler permissions problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 Aug 2004 23:28:39 -0700
hi Steven,
Thankyou for your reply.
It is the AT command that I'm using ... I believe my syntax of the AT
command is correct.
The problem I'm having is that I cannot run a NET USE command within
this batch file when this batch file is run as a scheduled task in AT.
If I run this batch file manually it works fine. But when it's run from
AT scheduler I am prompted to enter a password when the NET USE command
is issued. This sounds like a permissions issue ... ?
I've experienced similar happenings with NT4 (and have read in
newsgroups of other users having such probs) and it can be fixed by
assigning the Scheduler service an administrator account to "log on as".
But with Win Serv 2003 I cannot use an admin a/c since the "error 1079"
comes up as mentioned in my first post.
Hope I've made better sense this time :)
Regards,
Nev
"Steven L Umbach" <n9rou@nospam-comcast.net> wrote in
news:#MUjtz#iEHA.3896@TK2MSFTNGP15.phx.gbl:
> I am unsure if you are using the AT command line tool or the Scheduled
> Tasks wizard. If you have not tried it yet, schedule the task with the
> AT command and change the service back to the system account. The link
> below details on how to use that AT command. --- Steve
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;313565
>
> "Nev George" <bowlingparking-spamkill@hotmail.com> wrote in message
> news:Xns95528403E4944bowling@207.46.248.16...
>> Hi there,
>>
>> We are running Windows Server 2003.
>>
>> I have a batch file that backs up our servers using ntbackup, and it
>> runs fine.
>>
>> I have tried adding it as a scheduled task using the AT scheduler.
>>
>> At the beginning of my batch file is a "net use" command to map a
>> network drive. This executes fine when I run the batch file myself as
>> administrator, but as a scheduled task it prompts for a password.
>>
>> I assumed this was occuring due to a permission issue with the Local
>> System account, which is the account that the Task Scheduler runs
>> under by default. So, under the Task Scheduler's Log On properties I
>> changed it to use an administrator a/c. When I try to restart the
>> service I get the error message:
>>
>> "Error 1079: The account specified for this service is different from
>> the account specified for other services running in the same
>> process".
>>
>> Anyone have any idea what the problem is, and what I can do it
>> rememdy it?
>>
>> Any information is very much appreciated :)
>>
>> Nev
>
>
>
- Next message: Chun Wong: "Re: security control IWAM_myserver"
- Previous message: Steven L Umbach: "Re: Task Scheduler permissions problem"
- In reply to: Steven L Umbach: "Re: Task Scheduler permissions problem"
- Next in thread: Steven L Umbach: "Re: Task Scheduler permissions problem"
- Reply: Steven L Umbach: "Re: Task Scheduler permissions problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|