Task Scheduler Error Code information?
When I try to run a schedule taskd under my \Operator account (belongs to
administrators and has right to log on as batch job) I get the following
error:
Task Scheduler failed to start "\Meinl\VirusScan" task for user
"HostVista32\Operator". Additional Data: Error Value: 2147943785.
Where can I find information about the Error Value 2147943785?
The task stats a .vbs script to run a virus scan.
The script runs fine if started manually under the \Operator account.
Re: Task Scheduler Error Code information?
Search engines both local and internet-based are always there .
2147943785 appears to be logon failure error:
2147943785: Logon failure: the user has not been granted the requested logon
type at this computer.
Take a look at security event log in Event Viewer at the time scheduled task
should run to see if there are any logon failure event log entries. To open
Event Viewer, click Start and start typing Event Viewer - you will see
appropriate shortcut at the top of search results.
One of details should be a logon type requested - this will give you an Idea
on what kind of logon you need to allow for your Operator account.
http://www.windowsecurity.com/articles/Logon-Types.html
Re: Task Scheduler Error Code information?
Also,
Make sure you have allowed that task to run with highest privileges.
Re: Task Scheduler Error Code information?
Task probably needs "Log on as a batch job" User right.
Set with Control Panel -> administrative Tools -> Local security policy
Then go to Local policies -> user rights assignment & add the user running the task to the "log on as a batch job" Policy.
Re: Task Scheduler Error Code information?
The Policy Editor is not available in Vista Home editions.
--
Troodon