Windows Vista Beta | WinVistaBeta.com - Message | Permissions required to run Schedule Task

August 29, 2008  
Subject: Permissions required to run Schedule Task
Group: microsoft.public.winternals
Date: 8/8/2007 8:58:55 AM
From: Megan Kielman [Email Address Protection]

I would like to create a schedule task and run it as a service account
that belongs to the users group. When the task runs the following is log
is generated, but the *.bat file that task is supposed to execute is
never executed.

Result: The task completed with an exit code of (1).

The user who has been configured to run the task is a member of the User
Groups, has Log on as a Batch job rights and was given Execute
permission to cmd.exe. What else is needed? I am trying to avoid adding
them to the administrators group.

Thanks!

Back
Subject: Re: Permissions required to run Schedule Task
Group: microsoft.public.winternals
Date: 8/8/2007 10:53:48 AM
From: "Mathieu CHATEAU" [Email Address Protection]

Must modify your gpo to give the right "logon as a batch" to this service
account


--
Cordialement,
Mathieu CHATEAU
http://lordoftheping.blogspot.com


"Megan Kielman" <megan.kielman@gmaildotcom> wrote in message
news:eC$EHUd2HHA.5380@TK2MSFTNGP04.phx.gbl...
>I would like to create a schedule task and run it as a service account that
>belongs to the users group. When the task runs the following is log is
>generated, but the *.bat file that task is supposed to execute is never
>executed.
>
> Result: The task completed with an exit code of (1).
>
> The user who has been configured to run the task is a member of the User
> Groups, has Log on as a Batch job rights and was given Execute permission
> to cmd.exe. What else is needed? I am trying to avoid adding them to the
> administrators group.
>
> Thanks!


Back