--------------------
From: "=?Utf-8?B?QnJpYW4=?=" <
[email protected]>
Subject: RE: Task Scheduler result code 0xc0000025
Date: Wed, 9 Jun 2004 14:31:02 -0700
The task cannot be run under the same credentials as the logged-in user
because it is started via a terminal services session, and if I use the
same credentials for the task as for the TS session, then the task stops
when I log off the TS session.
The task does have an interactive component, but the developer has provided
a auto-start command-line switch that bypasses or automates that
interactive component so that it could be run without user intervention.
The user is in the local admins group on this server and therefore inherits
the "Log on as a batch job" right. The user shows up on the list of users
having that right in the Local Security Policy.---------------------
Check to see if your DCOM permissions are too restrictive to allow the job
to be run....
1. Start > Run > DCOMCNFG
2. On the Default Security tab:
Default Access Permissions > Edit Default > Add > Everyone > Add >
OK > OK
Default Launch Permissions > Edit Default > Add > Everyone > Add >
OK > OK
3. Click OK, and try to run the scheduled task
Regarding the "interactive component": I am not sure, given the nature of
this "switch", whether or not the application will still be regarded as
"interactive" by the system. If the application is regarded as
non-interactive, then the above may resolve your issue.
Also, if you get any application or system errors in the Event Viewer,
please post them
Thanks, I hope this helps
--
~~ JASON HALL ~~
~ Performance Support Specialist,
~ Microsoft Enterprise Platforms Support
~ This posting is provided "AS IS" with no warranties, and confers no
rights.
~ Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
~ Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.