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.
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 Best Overall
- 1.1 GHz (boost up to 2.4GHz) Intel Celeron N5030 Quad-Core
- Search for Task Scheduler in Windows and open it.
- Expand Task Scheduler Library > Microsoft > Windows, then select Windows Defender.
- Open Windows Defender Scheduled Scan.
- Choose Properties, open Triggers, and select New.
- 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
- 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.
Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstall- 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
- 14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
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
- 【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:
Quick Recap
- 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.




