Event ID - 142

Event Id142
SourceMicrosoft-Windows-TaskScheduler
DescriptionUser "%2" disabled Task Scheduler task "%1"
Event Information According to Microsoft :

Cause :

This event is logged when user disabled Task Scheduler task.

Resolution :

Change task configuration settings

A new task instance was not run because a condition, or a setting defined for the task, was not met. Possible conditions affecting the start of a task include:
  • The task was configured to run only when a specified network is available.
  • The configured expiration time for the task has passed.
  • The task is configured to ignore or queue a new task instance if a previous instance is still running.
  • The task is configured not to run when the computer is on battery power.
  • The task is configured to run only if a specific user is logged on.
  • The task was disabled by a user.
  • The previous task instance might have been running longer than expected because a component is busy processing data. If the task is normally expected to run for this length of time, consider modifying the task triggers to take this run-time length into consideration, or configure the task to be terminated after a preset time.
This behavior may be intentional. However, if you did not intend for the task to run with these conditions, consider changing the corresponding task configuration settings to allow the task to run as intended.

To configure the task settings and conditions:
  1. Click the Start button and type Task Scheduler in the Start Search box.
  2. Select the Task Scheduler program to start Task Scheduler.
  3. Locate the task to update in the task folder hierarchy, and right-click the task and select Properties .
  4. The Settings tab contains a setting for stopping the task after a set period of time. You can change the task settings on this tab, and you can also update the task configuration settings on the Conditions tab.
  5. Click OK .
Verify :

To verify that the task runs correctly:
  1. Click the Start button and type Task Scheduler in the Start Search box.
  2. Select the Task Scheduler program to start Task Scheduler.
  3. Select the task that you want to run by locating the task in the task folder hierarchy.
  4. On the Actions menu click Run . You can also click Run in the Actions pane.
  5. Click the History tab to view task events and verify the selected task started successfully.
  6. Similarly, verify that the task starts as expected when its defined trigger fires.
Reference LinksEvent ID 142 from Source Microsoft-Windows-TaskScheduler

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.