Windows 10, How do I set Windows Defender's scan schedule?

Anonymous
2015-08-08T19:45:15+00:00

I installed the Windows 10 on the 29th of July, 2015 Windows Defender hasn't ran a scan.

I started getting alerts that a scan is necessary to keep Windows 10 protected.

In the settings there's no scan setting like there was on Windows 7

I can manually scan, but I want it to be a full automatic scan every day.

How do I set Windows Defender to run a full auto scan every day?

Windows for home | Windows 10 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2015-08-20T18:39:24+00:00

The location of the Automatic Maintenance settings actually did change in Windows 10:

http://windows.microsoft.com/en-us/windows-10/change-security-and-maintenance-settings-in-windows-10

So this is where you have to go now to change the schedule for the Windows Defender Scheduled Scan task: Right-click on the Start button and choose Control Panel > Security and Maintenance > Maintenance > Change maintenance settings.

It’s been 3 years now, and there are still way too many people (including Microsoft documentation authors) who just can’t quite seem to get a grip on how this works. The fact that the controls for the scheduled scan went missing in the new Windows Defender user interface doesn’t mean that the feature was dropped and that you’ve been left to your own devices – it means that the scheduled scan was reengineered so that it now runs reliably without any user configuration. It’s now fully automatic just like the definition updates. So you don’t have to change any settings at all to get the scan up and running; and you certainly don’t need to add a trigger, or otherwise reconfigure the Windows Defender Scheduled Scan task. This is a system task, and you would be well advised to just leave it alone. Full Scans don’t need to be scheduled, but if that’s something that you really want to do, you can use the Create Basic Task Wizard.

http://answers.microsoft.com/en-us/protect/forum/protect\_defender-protect\_scanning/scan-schedule-for-windows-10/c53a0110-04eb-431e-9bc5-9d6db0ffcff7

http://answers.microsoft.com/en-us/protect/forum/protect\_defender-protect\_start/how-to-schedule-automatic-virus-scan-in-win-10/64640690-f0f0-4a11-bc7d-c47f232cd9ec

http://answers.microsoft.com/en-us/protect/forum/protect\_defender-protect\_start/how-do-i-make-windows-defender-start-automatically/b4948f9f-60bb-4829-aecc-cdf646d098a2

GreginMich

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

55 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-05-28T18:11:35+00:00

    thanks for the info, I have had W10 for some time and was frustrated at having to manually scan for the above reason (I only turn my laptop on to use it not to leave it idle). I hope I have now set up a scheduled scan but it would have been a whole lot easier if Defender had the option in its settings as it had under previous Windows versions. It seems unnecessarily complicated to have to go to the Task Scheduler (which I was not aware of) to create a setting that could and should have remained an option in Defender.  

    I’m aware that Automatic Maintenance can be a problem for laptops. So I’ve provided two workarounds that can be used to schedule a conventional scan without having to walk through the Create Basic Task Wizard:

    1.) You can “schedule” a scan with a startup shortcut that loads the Defender icon and also runs a Quick Scan at startup:

    http://answers.microsoft.com/en-us/protect/forum/protect\_defender-protect\_start/is-windows-defender-icon-supposed-to-be-in-system/6cfa9d1d-3db8-49a9-add7-280a284ccfdc

    2.) You can create the task automatically with SchTasks.exe, and then make any desired changes after the task is created: Right-click on the Start button and select Command Prompt (Admin). Then copy, paste, and run the appropriate command line:  

    Windows Defender Quick Scan that runs daily:

    SchTasks /create /sc DAILY /tn “Defender Quick Scan” /st 19:00  /ru SYSTEM /rl HIGHEST /tr "'C:\Program Files\Windows Defender\MpCmdRun.exe' -Scan -ScanType 1"

    Windows Defender Logon Scan (Quick Scan) with 2 minute delay:

    SchTasks /create /sc ONLOGON /delay 0002:00 /tn “Defender Delayed Logon Scan” /ru SYSTEM /rl HIGHEST /tr "'C:\Program Files\Windows Defender\MpCmdRun.exe' -Scan -ScanType 1"

    Windows Defender Full Scan that runs weekly:

    SchTasks /create /sc WEEKLY /tn “Defender Full Scan” /st 19:00  /ru SYSTEM /rl HIGHEST /tr "'C:\Program Files\Windows Defender\MpCmdRun.exe' -Scan -ScanType 2"

    You can modify the scheduled start time (/st 19:00) either before running the command line, or in the Task Scheduler Library after the task is created. This scan should be set to start at a time when the PC will normally be in use, since it won’t run when the PC is sleeping; and won't run on restart when a scheduled start is missed. If you want a more reliable scan, then you’ll have to add these features. You would check the Wake the computer to run this task box (Conditions tab), and the Run task as soon as possible after a scheduled start is missed box (Settings tab).

    Note that you might have to turn off Require a password on wakeup in Power Options and/or enable wake timers in Power Options > Change when the computer sleeps > Change advanced power settings.

    Also be advised that if you want your scheduled scans to run at full speed, then you’ll have to run this command at the elevated PowerShell prompt:

    Set-MpPreference -ScanAvgCPULoadFactor 100

    http://answers.microsoft.com/en-us/protect/forum/protect\_defender-protect\_scanning/processor-speed-100/7306888a-9b1d-451c-b7c2-7e6e5e79b245

    GreginMich

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-05-28T17:24:48+00:00

    However, Automatic Maintenance only runs when the system is idle in order to avoid interfering with your work, so it will only run on schedule if you stop working at the scheduled time and then wait for it to finish. If you want a scheduled scan that starts on time and runs without interruptions, then you’ll have to set up an independent scheduled task:

    http://answers.microsoft.com/en-us/protect/forum/protect\_defender-protect\_scanning/how-do-i-set-windows-defender-to-a-custom-auto/ec19aab4-10ce-4f41-9990-343056fd104f

    GreginMich

    thanks for the info, I have had W10 for some time and was frustrated at having to manually scan for the above reason (I only turn my laptop on to use it not to leave it idle). I hope I have now set up a scheduled scan but it would have been a whole lot easier if Defender had the option in its settings as it had under previous Windows versions. It seems unnecessarily complicated to have to go to the Task Scheduler (which I was not aware of) to create a setting that could and should have remained an option in Defender.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-05-06T21:00:35+00:00

    Then why does Windows Defender notify "you have not run a scan for a while"?

    If this doesn’t solve the problem;

    http://www.winhelponline.com/blog/defender-needs-to-scan-your-computer-ccleaner/

    Then try this: Right-click on the Start button and select Command Prompt (Admin). Then copy, paste, and enter this line at the elevated command prompt to schedule a daily Quick Scan.

    SchTasks /create /sc DAILY /tn “Defender Full Scan” /st 19:00  /ru SYSTEM /rl HIGHEST /tr "'C:\Program Files\Windows Defender\MpCmdRun.exe' -Scan -ScanType 1"

    This scan will only run if the PC is in use at the scheduled start time (/st 19:00); which can be altered either before running the command; or by finding the task in the Task Scheduler Library after it’s created.

    To fully automate this task, check the Wake computer to run this task option in the Conditions tab, and the Run task as soon as possible after a scheduled start is missed option in the Settings tab.

    GreginMich

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-05-06T19:01:06+00:00

    Then why does Windows Defender notify "you have not run a scan for a while"?

    Was this answer helpful?

    0 comments No comments