Re: Using SCHTASKS for remote launching of apps...



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.





.



Relevant Pages

  • Re: Windows Task Scheduler looses account credentials data
    ... You will now have a new Task Scheduler Log File. ... Accounts: Limit local account use of blank passwords to console logon ... How to Enable Automatic Logon in Windows ... or no account information existed for the task. ...
    (microsoft.public.windowsxp.general)
  • Re: Task Scheduler unreliable in NT/2000/XP
    ... There is a known issue with the Task Scheduler: It loses all account ... YES user account associated with task ALWAYS has/had a ... or no account information existed for the task. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Task Scheduler - general page initialization failed
    ... "The attempt to retrieve account information for the specified task failed" ... Task Scheduler - general page initialization failed ...
    (microsoft.public.windowsxp.general)
  • Re: Windows Task Scheduler looses account credentials data
    ... I have encountered a problem with Windows Task Scheduler at many ... The attempt to retrieve account information for ... or no account information existed for the task. ...
    (microsoft.public.windowsxp.general)
  • Re: AT service fails
    ... 0x80070569: Logon failure: the user has not been granted the requested ... Looks like AT service remembers the account info only once then clears it ... > Its the same as through Task Scheduler ... Log in as Administrator to Local computer ...
    (microsoft.public.windows.server.general)

Loading