Windows error 0x8004130F, -2147216625

Detailed Error Information

SCHED_E_ACCOUNT_INFORMATION_NOT_SET[1]

MessageNo account information could be found in the Task Scheduler security database for the task indicated.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode4 (0x004)
NameFACILITY_ITF[2][1]
DescriptionThe source of the error code is COM/OLE Interface management.[2][1]
Error Code4879 (0x130f)

Questions

17votes
3answers

Programmatically Creating a Scheduled Task in Windows - 0x8004130f Error

I am having major problems getting a scheduled task to run. The task is created fine using the ITaskScheduler interface provided by Microsoft. The task is set to run only if a user is logged on. The problem is that the task does NOT run and the log file SchedLgU.txt [...] read more
scheduled-tasks
2votes
1answer

C++ - Adding task using Task Scheduler 1.0 Interfaces creates non runnable task

So I'm writing a c++ code that its goal is to add a simple task to the task scheduler. The application is to be run in windows XP so I'm using Task Scheduler 1.0 Interfaces. I followed the example, C/C++ Code Example: Creating a Task Using NewWorkItem, and tweaked it [...] read more
winapi
visual-c++
windows-xp
scheduled-tasks
1vote
2answers

Windows XP: schtasks without requiring password

I am trying to create a script that uses schtasks to schedule a task, without entering a password. The task is intended to simply run under the currently logged on user, who actually creates the task (via the script). Thus, the user's credentials are there, otherwise the task wouldn't have [...] read more
windows-xp
task-scheduler
1vote
1answer

Create windows Tasks programmatically using ASP.net and C# and task could not start

I need to create windows Tasks programmatically using ASP.net and C# (Windows Server 2003). When I use following code: Process p = new Process(); p.StartInfo.FileName = "schtasks.exe"; p.StartInfo.Arguments = " /create /tn MyTask /tr notepad.exe /sc DAILY /st 10:00:00 /ru myUsername /rp myPassword "; p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden; p.Start(); p.WaitForExit(); It [...] read more
asp.net
web-applications
scheduled-tasks
windows-server-2003
user-permissions
0votes
1answer

Scheduled Tasks - Win 2003 - Issues and further explanation of MS/KB

Thsi page: http://support.microsoft.com/kb/308558 claims the following: > Note Administrators or users with administrator permissions can configure the > Task Scheduler to send a notification when a scheduled task does not run as > you set it to run. To do so, click Notify Me of Missed Tasks on the Advanced [...] read more
windows-server-2003
scheduled-task

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0