Merry Christmas & Happy 2027! Less downtime. More good times. Celebrating 13 years of sorlavit.com
Skip to content
Sorlavit KimIT Support, Network & Infrastructure Services Let’s talk

Articles are written in English. The Thai translation button opens Google Translate; code and commands stay in their original form.

Windows Commands / IT Support Guides

Inspect scheduled jobs with schtasks

Read a Windows scheduled task’s last run time and result to investigate a missed run.

Compiled for Sorlavit Kim · Published · Updated · 1 min read

Environment and inputs: Windows 11 · Command Prompt unless PowerShell is specified

Understand the problem

Identify the exact task name and folder. Run the check on the machine where the task is registered.

Run the command

Run schtasks /query /fo LIST /v to display the tasks and their details. Search the output for the task you need.

schtasks /query /fo LIST /v

Read the output

Read Last Run Time, Last Result and Next Run Time together. A last result of 0 commonly indicates success, but confirm the expected output file or application result separately.

Choose the next step

If the task did not run, check whether it is enabled and whether its trigger conditions were met. If it ran but failed, check Task Scheduler history and the application log.

Before making changes

Record the existing schedule and run account before requesting changes. Review the output for sensitive paths or arguments before sharing.

Source & further reading

Microsoft Learn — schtasks-query

Independently written summary reviewed on 2026-11-01. The example illustrates a possible application; it is not a client case study.

Share this article

Back to all articles