October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
Redmond desk3 min

Windows Task Scheduler: Set Up Automatic Tasks in Windows 11 and 10

A Windows scheduled task pairs a trigger with an action. Set one up or edit an existing task, then choose the run account and permissions your action needs.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To make a program or maintenance routine run automatically in Windows 10 or 11, create a scheduled task that connects a trigger (when it starts) to an action (what it does). Choose a run account and permissions that fit the action; a task that runs as System cannot interact with the logged-in user’s desktop. You can configure tasks in Task Scheduler or use the schtasks command.

How a scheduled task works

Microsoft describes a task as having a trigger that starts it and an action that specifies the work to perform. Its run context also matters: the selected account and security settings determine what permissions the action has. See Microsoft’s explanation of task components.

As an Amazon Associate I earn from qualifying purchases.

  • Trigger: the time or event that starts the task, such as a daily schedule, a logon, or an event.
  • Action: the work to perform, such as starting a program.
  • Run context: the account and security level under which the action runs.

Choose Task Scheduler or the command line

Use the graphical Task Scheduler when you want to configure or edit a task through Windows menus. Use schtasks when you prefer a command-line workflow or want to create a task with a command. Microsoft says schtasks.exe performs the same operations as Scheduled Tasks in Control Panel and that the tools can be used together; this does not mean every label or control is identical in every Windows version. The command reference lists Windows 10 and Windows 11 as applicable. See Microsoft’s schtasks command reference.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Edit an existing task in Task Scheduler

The exact location depends on the task. Microsoft’s instructions for changing the Microsoft Defender Antivirus scan schedule provide one concrete example: edit the existing scheduled scan’s trigger.

  1. Search for Task Scheduler in Windows and open it.
  2. Expand Task Scheduler Library > Microsoft > Windows, then select Windows Defender.
  3. Open Windows Defender Scheduled Scan.
  4. Choose Properties, open Triggers, and select New.
  5. Set the frequency and start time you want, then save the trigger and task.

This path is specific to the Defender scan example, not a universal location for every program. For the official steps, see Schedule a scan in Microsoft Defender Antivirus.

Create a task with schtasks

Microsoft’s schtasks /create command creates a scheduled task. Its documented schedule types include minute, hourly, daily, weekly, monthly, once, startup, logon, idle, and event-based schedules. Consult the schtasks /create reference for the full syntax and options before building a command: the schedule type, action, and other settings must match what you need the task to do.

Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

Choose the right trigger

Pick the trigger based on what should cause the work to start, rather than choosing a schedule by habit.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  • Time-based: use a minute, hourly, daily, weekly, monthly, or one-time schedule when the work should happen at a defined time or interval.
  • Startup or logon: use one of these when the work should begin as Windows starts or when a user signs in.
  • Idle or event-based: consider these when the task should respond to an idle condition or an event rather than a fixed clock time.

The available schedule types and exact options are documented in Microsoft’s schtasks /create reference.

Rank #3
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Select an account and security level

Set the task to run under an account with the permissions its action actually needs. Microsoft documents that tasks execute in a security context and that the UAC run level affects whether an action runs with elevated or lower privileges. Choose an elevated run level only when the task’s work requires it; routine automation does not automatically need administrator-level access. See Microsoft’s guidance on security contexts for tasks.

A task running with System permissions is non-interactive: a user cannot see or interact with programs it launches. If the action needs a visible desktop or input from the signed-in user, account for that when choosing the run context. The same security-context guidance explains the distinction.

Rank #4
Windows 11 Laptop with i3 Processor 15.6" Work Laptop for College Students
  • 【Efficient Performance】 Powered by Intel Core i3 processor (2 cores, 4 threads, up to 3.4GHz) with 12GB RAM and 256GB SSD. Handles multitasking, office software, online classes, and HD video streaming smoothly. Integrated Intel UHD Graphics 620
  • Backlit Keyboard & Complete Package】Comes with a cool backlit keyboard. Comes with awebcam, dual stereo speakers (8Ω/1.0W each), DC charger, and user manual – ready for late-night studying, online classes, video conferencing, and daily productivity
  • 【Vibrant Display】 15.6-inch Full HD (1920x1080) anti-glare screen with 16:9 aspect ratio delivers crisp images and vivid colors – perfect for studying, watching lectures, or entertainment. Thin-bezel design maximizes viewing area
  • 【Fast Connectivity & Expansion】 Equipped with WiFi 6 (802.11ax) and Bluetooth 5.2 for stable, high-speed wireless. Features 3 x USB 3.0, HDMI 2.1, Type-C (supports PD3.0 fast charging), and a TF card slot expandable up to 2TB – easily connect external monitors, mice, drives, or expand storage for all your files
  • 【Long Battery Life & Portable】 Built-in 11.55V 5000mAh/57.75Wh high-capacity battery delivers approximately 7 hours of mixed-use battery life – enough for a full day of classes and assignments. Lightweight at just 1.63kg (3.6 lbs) and 19.5mm thin, plus a compact packing size – easily slips into a backpack for campus, library, or coffee shop

If a task does not work as intended

Check the task’s defining parts and the permissions its action needs:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Bestseller No. 1
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$285.00
Bestseller No. 3
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$245.99
  • Trigger: confirm it is configured for the time or event you intend.
  • Action: verify that the program and its path identify the work you want started.
  • Run account: check that the task uses the account appropriate for the action.
  • Permissions and run level: confirm the account has the required permissions and that elevation is set only as needed.
  • Interaction: if a visible program must be used on the desktop, check whether the task’s run context allows user interaction.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.