Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 10 - Task Scheduler - Not running (0x41303)

I'm trying to schedule a task in Windows 10, on the event of "At log on" in order to start several programs, but it won't run after several trial/error. The task is configured as follows:

  • General: Run whether user is logged on or not (it prompted the credentials inputbox, also tried Run only when user is logged on). Run with highest privilegies. Configure for Windows 7 and Windows 10 options where tried.
  • Triggers: At log on, any user, enabled (tried specific user too).
  • Actions: Start a program, which are "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "C:\Program Files\Internet Explorer\iexplore.exe" (this one has Add Arguments: %HOMEDRIVE%%HOMEPATH%), "D:\ids\sqldeveloper\sqldeveloper\bin\sqldeveloper64W.exe". The route were copy/paste from the shortcut properties of each program.
  • Conditions: No condition were set.
  • Setting: No additional settings.
  • History: disabled.

When I restart and log on, nothing happens. Checking the status panel appears the summary of the task, where in the Last Run Time is 30/11/1999 12:00:00 a.m., the Last Run Result is (0x41303), and Status column is Ready.

Tried to look others questions, but seems to be others problems. What am I missing? Is there another configuration that I must apply? Thanks in advance.

like image 327
Sebastian Motavita Avatar asked Dec 29 '16 14:12

Sebastian Motavita


People also ask

Why is Task Scheduler not running my task?

Scheduled Tasks not running Now the possible reasons for error can be, faulty registry entry, corrupted application, etc. Other reasons could be, disabled service of Task Scheduler, absence of admin rights, corrupted tree cache used by the scheduler.

How do I get Task Scheduler to run every second?

It is possible to create multiple triggers for one scheduled task. If you create 59 identical triggers with an offset of 1 second to each other, and schedule the task itself to run every minute, you end up the scheduled task to run every second. You could create those 59 triggers manually using the GUI.

How do I force a scheduled task to run?

A. Go to the Scheduled Tasks applet in Control Panel, right-click the task you want to start immediately, and select Run from the displayed context menu.

What does 0x1 mean in Task Scheduler?

Task scheduler last run result 0x1 mostly cause by privilege issue. For example, user do not have sufficient privilege to execute the task at the specified location or the process unable to locate the file for some reason.


3 Answers

I had this problem as well (Windows Server 2019), with error 0x41303 and Last Run Time set to 30/11/1999.

When I changed the start time to a future time instead of past (i.e. 2 minutes from current time), the scheduled task ran successfully (result: 0x0) and repeated just fine per the trigger.

like image 73
SaeX Avatar answered Oct 02 '22 17:10

SaeX


Task Scheduler 0x41303: Task has not yet run.

The main reason for this is if the scheduler's first run is set in the past or simply hasn't run yet. To fix:

  • Try running it manually
    or
  • Set the next trigger in the near future.

    The last run result should update indicating it ran but if it still doesn't run, check the task conditions.
    A full list of task scheduler return codes
like image 30
webberist Avatar answered Oct 02 '22 18:10

webberist


Try open "trigger" tab, and edit the trigger detail. I found here my trigger was not enabled, I've just enabled it. This could generate error 0x41303.

like image 2
Eric Draven Avatar answered Oct 02 '22 18:10

Eric Draven