Re: Using SCHTASKS for remote launching of apps...
- From: "adametz" <adametz@xxxxxxxxxxxxxxxxx>
- Date: Mon, 12 Jun 2006 10:43:10 -0400
Walter,
I should have included the log from the TaskScheduler when it attempted to
launch this task. Here it is.
"Task Scheduler Service"
Started at 6/12/2006 10:39:56 AM
"foo2.job" (notepad.exe) 6/12/2006 10:41:00 AM ** ERROR **
The attempt to retrieve account information for the specified task failed;
therefore, the task did not run. Either an error occurred, or no account
information existed for the task.
The specific error is:
0x8004130f: No account information could be found in the Task Scheduler
security database for the task indicated.
[ ***** Most recent entry is above this line ***** ]
Regards,
JimA
"adametz" <adametz@xxxxxxxxxxxxxxxxx> wrote in message
news:eG4YN1ijGHA.4816@xxxxxxxxxxxxxxxxxxxxxxx
Walter,
I really appreciate you checking into this!
I think I am beginning to understand what my issues are now.
I am NOT running under a windows domain...only a workgroup. Is it
possible that because of this configuration, I am not able to successfully
run the notepad application?
Here is a sample of what I get when attempting to "remotely" run notepad
using SCHTASKS to create a task on the localhost address (127.0.0.1):
C:\Documents and Settings\Tester>schtasks /create /s 127.0.0.1 /tn foo2 /
tr notepad.exe /sc ONCE /ST 00:00:00 /RU "Tester" /RP testerpw
WARNING: The Scheduled task "foo2" has been created, but may not run
because the
account information could not be set.
Is it possible that since I am not in a domain, that the system cannot
validate the user information, and that is why I cannot get the task to
run?
Regards,
JimA
"Walter Wang [MSFT]" <wawang@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:A$TDS4bjGHA.5832@xxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Thank you for your update.
During my test, I created a task to launch Notepad and it works
correctly.
Please note that you need two pair of user/password: one for connecting
to
the remote system (/U user /P password) and another for setting the
account
to launch the task (/RU runasuser /RP runaspassword). Also you can check
the Task Scheduler's log to see why the task is not ran successfully.
Regards,
Walter Wang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
.
- Follow-Ups:
- Re: Using SCHTASKS for remote launching of apps...
- From: Walter Wang [MSFT]
- Re: Using SCHTASKS for remote launching of apps...
- References:
- Using SCHTASKS for remote launching of apps...
- From: adametz
- RE: Using SCHTASKS for remote launching of apps...
- From: Walter Wang [MSFT]
- Re: Using SCHTASKS for remote launching of apps...
- From: adametz
- Re: Using SCHTASKS for remote launching of apps...
- From: Walter Wang [MSFT]
- Re: Using SCHTASKS for remote launching of apps...
- From: adametz
- Using SCHTASKS for remote launching of apps...
- Prev by Date: Re: Using SCHTASKS for remote launching of apps...
- Next by Date: Re: Using SCHTASKS for remote launching of apps...
- Previous by thread: Re: Using SCHTASKS for remote launching of apps...
- Next by thread: Re: Using SCHTASKS for remote launching of apps...
- Index(es):
Relevant Pages
|
Loading