Windows 2008 Task scheduler security.
I have configured a Event viewer task on Windows server 2008 to monitor all the scheduled tasks and send me an alert when ever a scheduled task fails or throws some error. I have already tested itand it is working fine. But the problem comes when i log out of the machine i get an alert for failed scheduled task.When i login and check there are no failed scheduled task and even then i am getting an failed alert. Is this related to any security issues...Please answer...I have already configured the Event viewer task to run under my account( with whether user is logged in or not option ) with highest privileges.Thanks in advance.
August 3rd, 2009 9:15am
Hello,check the user rights assigments for "logon as a batch job" also the scheduled task event log should give some more details. Open the task scheduler via Administrative tools and check in the history of the task about problems.Best regards
Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
Free Windows Admin Tool Kit Click here and download it now
August 4th, 2009 2:10am
The following error is logged in the history tab when ever i log out of the machine.
Task Scheduler failed to start "\Event Viewer Tasks\Sierra_task_monitor" task for user "CORP\a-kbharati". Additional Data: Error Value: 2147750687.
I have added my user id to "logon as a batch job" still iam facing the same problem.Can you please suggest if i run the task with Domain administrator account will it resolve my issue.Thanks.
August 4th, 2009 10:06am
Hello,check if you fiond this one:C:\Windows\Tasks\SchedLGU.txt You can try if it workswith theadministrator.Also check this one to create a task from command line where the same problem appears.http://thebackroomtech.com/2009/04/06/windows-2008-schtasks-error-user-credentials-are-not-allowed-on-the-local-machine/Best regards
Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2009 2:13am
I did not find the SchedLGU.txt file. The probelm i am facing is that when ever i log out of the machine i get a failure alert. Does running the task with Administrator account solves the problem.Iam using Winodws server 2008 standard edition..Please reply....Or else can any body tell me aHow to automate montioring of scheduled tasks in windows 2008. I should get an alert when a job fails or runs long.Thanks....
August 8th, 2009 8:40am
Hi Kanchan,please refer to the following KB 953153 to request the hotfix and apply it on the problematic computer to see if it can fix the this issueError message when you change the running user context of a scheduled task to another domain account on a computer that is running Windows Vista or Windows Server 2008: "The specified account name is not valid"
http://support.microsoft.com/kb/953153Hope it helpsThis posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
August 12th, 2009 10:46am


