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.
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.