A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Security and Administration with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Logon as a batch job



 
 
Thread Tools Display Modes
  #1  
Old June 16th 04, 05:41 PM
csh
external usenet poster
 
Posts: n/a
Default Logon as a batch job

I've got a new Windows XP Pro machine that is part of a
domain. This computer needs to run several scheduled
tasks. I have set up the tasks and they run just fine
when I click 'Run' from their context menus in the
scheduled task folder.

When they try to run overnight at their scheduled time
they do not start. The status says 'Could not start'. The
log file says:

"The attempt to log on to the account associated with the
task failed, therefore, the task did not run.
The specific error is:
0x80070569: Logon failu the user has not been
granted the requested logon type at this computer.
Verify that the task's Run-as name and password
are valid and try again."

In looking through the docs it appears the account I'm
using for the Run-as (which is a pretty standard domain
account) needs the 'Logon as a batch job' user right.
When I go into security settings (having logged in as the
local administrator on this machine) I can find that user
access right just fine, but the buttons are disabled so
that I can't add or remove any users from that right.

Where am I supposed to change this user access right if I
can't do it from here? Is there something else I should
have done to fix that scheduled task problem?

Thanks for any tips.


Ads
  #2  
Old June 16th 04, 09:41 PM
Miha Pihler
external usenet poster
 
Posts: n/a
Default Logon as a batch job

Don't set this setting in the local policy. Set it at domain level... (e.g.
domain or OU level)...

Mike

"csh" wrote in message
...
I've got a new Windows XP Pro machine that is part of a
domain. This computer needs to run several scheduled
tasks. I have set up the tasks and they run just fine
when I click 'Run' from their context menus in the
scheduled task folder.

When they try to run overnight at their scheduled time
they do not start. The status says 'Could not start'. The
log file says:

"The attempt to log on to the account associated with the
task failed, therefore, the task did not run.
The specific error is:
0x80070569: Logon failu the user has not been
granted the requested logon type at this computer.
Verify that the task's Run-as name and password
are valid and try again."

In looking through the docs it appears the account I'm
using for the Run-as (which is a pretty standard domain
account) needs the 'Logon as a batch job' user right.
When I go into security settings (having logged in as the
local administrator on this machine) I can find that user
access right just fine, but the buttons are disabled so
that I can't add or remove any users from that right.

Where am I supposed to change this user access right if I
can't do it from here? Is there something else I should
have done to fix that scheduled task problem?

Thanks for any tips.




  #3  
Old June 16th 04, 11:42 PM
csh
external usenet poster
 
Posts: n/a
Default Logon as a batch job

Looks like that was the problem. I won't know for sure
until it runs tonight but I was finally able to set the
access right.

Thanks for the tip.

csh


-----Original Message-----
Don't set this setting in the local policy. Set it at

domain level... (e.g.
domain or OU level)...

Mike

"csh" wrote in

message
...
I've got a new Windows XP Pro machine that is part of a
domain. This computer needs to run several scheduled
tasks. I have set up the tasks and they run just fine
when I click 'Run' from their context menus in the
scheduled task folder.

When they try to run overnight at their scheduled time
they do not start. The status says 'Could not start'.

The
log file says:

"The attempt to log on to the account associated with

the
task failed, therefore, the task did not run.
The specific error is:
0x80070569: Logon failu the user has not been
granted the requested logon type at this computer.
Verify that the task's Run-as name and password
are valid and try again."

In looking through the docs it appears the account I'm
using for the Run-as (which is a pretty standard domain
account) needs the 'Logon as a batch job' user right.
When I go into security settings (having logged in as

the
local administrator on this machine) I can find that

user
access right just fine, but the buttons are disabled so
that I can't add or remove any users from that right.

Where am I supposed to change this user access right

if I
can't do it from here? Is there something else I should
have done to fix that scheduled task problem?

Thanks for any tips.




.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 08:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.