Schedule Microsoft Defender Antivirus Scans with Task Scheduler in Windows 10/11

Schedule Microsoft Defender Antivirus Scans with Task Scheduler in Windows 10/11​

Difficulty: Intermediate | Time Required: 15 minutes
Microsoft Defender Antivirus already provides real-time protection in Windows 10 and Windows 11, but scheduled scans add an extra layer of routine checking. If your PC is usually busy during the day, you can schedule scans for evenings, lunch breaks, or another time when performance impact is less noticeable.
This tutorial walks you through scheduling Microsoft Defender Antivirus scans using Task Scheduler, the built-in Windows tool for automating background jobs.

Prerequisites​

Before you begin, make sure:
  1. You are using Windows 10 or Windows 11.
  2. You are signed in with an account that has administrator permissions.
  3. Microsoft Defender Antivirus is active.
  4. If you use a third-party antivirus, Microsoft Defender may be in passive or limited mode, so some options may not behave the same way.
Note: In Task Scheduler, the folder is still named Windows Defender on many systems, even though the product is now called Microsoft Defender Antivirus.

Step 1: Open Task Scheduler​

  1. Click Start.
  2. Type Task Scheduler.
  3. Select Task Scheduler from the search results.
  4. If prompted by User Account Control, select Yes.
Task Scheduler may look a little intimidating at first, but you only need one section of it for this tutorial.

Step 2: Find the Microsoft Defender Scheduled Scan Task​

  1. In the left pane, expand:
    Task Scheduler Library
  2. Expand:
    Microsoft
  3. Expand:
    Windows
  4. Scroll down and select:
    Windows Defender
  5. In the middle pane, look for:
    Windows Defender Scheduled Scan
  6. Double-click Windows Defender Scheduled Scan.
This opens the task’s properties window.
Tip: If you do not see the Windows Defender folder, confirm that Microsoft Defender Antivirus is available on your system and that you are viewing the full Task Scheduler Library.

Step 3: Add a New Scan Trigger​

The trigger controls when the scan runs.
  1. In the Windows Defender Scheduled Scan Properties window, select the Triggers tab.
  2. Click New.
  3. For Begin the task, choose:
    On a schedule
  4. Choose how often you want the scan to run:
    • Daily: Good for heavily used PCs.
    • Weekly: Good for most home users.
    • Monthly: Better for secondary or rarely used systems, though weekly is usually preferred.
  5. Set the Start date and time.
For example, you might schedule the scan for:
Every Sunday at 2:00 AM
or:
Every Wednesday at 12:30 PM
  1. Make sure Enabled is checked.
  2. Click OK.
Recommendation: For most users, a weekly scheduled scan outside normal working hours is a good balance between protection and convenience.

Step 4: Adjust Conditions​

Conditions control whether the task should wait for idle time, power status, or other system states.
  1. Select the Conditions tab.
  2. Consider enabling:
    Start the task only if the computer is idle for
  3. If you are using a desktop PC, you may also enable:
    Wake the computer to run this task
  4. On laptops, review the power options carefully. You may want to leave enabled:
    Start the task only if the computer is on AC power
This prevents scans from draining your battery.
Warning: Full system scans can take a while and may use more CPU, disk, and battery. If you are scheduling scans on a laptop, pick a time when the device is plugged in.

Step 5: Review Task Settings​

  1. Select the Settings tab.
  2. Recommended options include:
    • Allow task to be run on demand
    • Run task as soon as possible after a scheduled start is missed
    • Stop the task if it runs longer than a reasonable limit, such as several hours
  3. Avoid changing the Actions tab unless you know exactly what you are doing.
The built-in Microsoft Defender scheduled scan task is already configured to launch the appropriate Defender scan process. For most users, the safest approach is to adjust the schedule, conditions, and settings only.
  1. Click OK to save your changes.
If Windows asks for administrator approval, confirm the prompt.

Step 6: Run the Task Manually for Testing​

To make sure the task works:
  1. In Task Scheduler, select the Windows Defender folder again.
  2. Click Windows Defender Scheduled Scan once.
  3. In the right pane, select Run.
The task should start immediately.
To check its status:
  1. Look at the Status, Last Run Time, and Last Run Result columns.
  2. A successful task often reports a result such as:
    0x0
  3. You can also open Windows Security and check the Microsoft Defender scan information.

Step 7: Confirm Defender Status in Windows Security​

It is a good idea to verify that Microsoft Defender is working normally.
  1. Open Start.
  2. Type Windows Security.
  3. Open Windows Security.
  4. Select Virus & threat protection.
  5. Check for any warnings or required actions.
  6. Under scan options, you can also manually run a Quick scan, Full scan, or other scan type when needed.
Note: A quick scan is usually enough for routine scheduled scanning because real-time protection continues monitoring files as they are opened, closed, downloaded, or accessed.

Tips and Troubleshooting​

The task did not run​

Check the following:
  1. Was the PC turned off at the scheduled time?
  2. Was the laptop running on battery?
  3. Was the task disabled?
  4. Did the task require idle time that never occurred?
  5. Is another antivirus product controlling protection?
If the PC was off, enabling Run task as soon as possible after a scheduled start is missed can help.

The scan affects performance​

If your PC slows down during scans:
  1. Schedule scans for a less active time.
  2. Use a weekly schedule instead of daily.
  3. Avoid scheduling a scan during backups, gaming, video editing, or large downloads.
  4. Prefer quick scans for routine protection.

The scan stops on a laptop​

If the scan stops while unplugged, connect the laptop to AC power and choose a schedule when it is likely to remain plugged in.

You want a full scan​

You can still run a full scan manually from Windows Security > Virus & threat protection > Scan options. For most routine schedules, quick scans are generally the better choice because they complete faster and work alongside real-time protection.

Conclusion​

Scheduling Microsoft Defender Antivirus scans with Task Scheduler is a simple way to keep security checks running on your terms. Instead of waiting for scans to happen at inconvenient times, you can choose a predictable schedule that fits how you use your PC.
Once configured, the scheduled scan runs quietly in the background, helping maintain regular malware checks without needing much attention from you.
Key Takeaways:
  • Task Scheduler lets you choose when Microsoft Defender Antivirus scans run.
  • Weekly quick scans are a practical choice for most Windows 10/11 users.
  • Laptops should usually scan while connected to AC power.
  • The built-in scheduled scan task should usually be adjusted, not rebuilt.
  • Windows Security is the best place to confirm Defender status and run manual scans.

This tutorial was generated to help WindowsForum.com users get the most out of their Windows experience.
Verification references, separate from the article body: Microsoft Support documents scheduling Microsoft Defender Antivirus scans through Task Scheduler, including the Windows Defender task folder and trigger setup. Microsoft Learn documents Windows Security scan options, scheduled scan behavior, and the recommendation that quick scans are generally suitable for routine scheduled scans. (support.microsoft.com)

References​

  1. Official source: support.microsoft.com
  2. Official source: learn.microsoft.com
 

Back
Top