Schedule Scan in Windows Defender Antivirus in Windows 10  

Page 1 of 2 12 LastLast
    Schedule Scan in Windows Defender Antivirus in Windows 10

    Schedule Scan in Windows Defender Antivirus in Windows 10

    How to Schedule a Scan in Windows Defender Antivirus in Windows 10
    Published by Category: Security System
    04 Oct 2018
    Designer Media Ltd


    How to Schedule a Scan in Windows Defender Antivirus in Windows 10


    Windows Defender Antivirus helps protect your PC against malware (malicious software) like viruses, spyware, and other potentially unwanted software. Malware can infect your PC without your knowledge: it might install itself from an email message, when you connect to the Internet, or when you install certain apps using a USB flash drive, CD, DVD, or other removable media. Some malware can also be programmed to run at unexpected times, not only when it's installed.

    Windows Defender Antivirus is included with Windows and helps keep malware from infecting your PC in two ways:
    • Providing real-time protection. Windows Defender notifies you when malware tries to install itself or run on your PC. It also notifies you when apps try to change important settings.
    • Providing anytime scanning options. Windows Defender automatically scans your PC for installed malware on a regular basis, but you can also manually start a scan whenever you want. Windows Defender automatically removes (or temporarily quarantines) anything that's detected during a scan.

    Windows Defender Antivirus regularly scans your device to help keep it safe. Windows tries to do this while you are not using your device so it doesn’t interfere with your work. You can also schedule Windows Defender Antivirus to scan at a time and frequency that you choose.

    See also:

    This tutorial will show you how to schedule a scan in Windows Defender Antivirus for when you want in Windows 10.



    Here's How:

    1. Press the Win+R keys to open Run, type taskschd.msc into Run, and click/tap on OK to open Task Scheduler.

    2. Expand open the Task Scheduler Library > Microsoft > Windows folders in the left pane of Task Scheduler, and click/tap on the Windows Defender folder. (see screenshot below step 3)

    3. Double click/tap on the Windows Defender Scheduled Scan task in the center pane of Task Scheduler. (see screenshot below)

    Click image for larger version. 

Name:	Windows_Defender_Antivirus_schedule_scan-1.png 
Views:	309 
Size:	101.4 KB 
ID:	166759

    4. Click/tap on the Triggers tab, and click/tap on the New button. (see screenshot below)

    Name:  Windows_Defender_Antivirus_schedule_scan-2.png
Views: 1586
Size:  24.2 KB

    5. Perform the following actions below to create a new trigger: (see screenshots below)

    A) Select On a schedule in the Begin the task drop menu.

    B) Select (dot) One time, Daily, Weekly, or Monthly for how often you want scans to run.

    C) Select when you want scans to start.

    D) Click/tap on OK when finished.

    Name:  Windows_Defender_Antivirus_schedule_scan-3A.png
Views: 1581
Size:  36.8 KB Name:  Windows_Defender_Antivirus_schedule_scan-3B.png
Views: 1563
Size:  40.1 KB
    Name:  Windows_Defender_Antivirus_schedule_scan-3C.png
Views: 1561
Size:  42.1 KB Name:  Windows_Defender_Antivirus_schedule_scan-3D.png
Views: 1574
Size:  41.3 KB

    6. You will now see your new scheduled task listed. (see screenshots below)

    If you should ever want to delete a scheduled task, you would select the task you want to delete, and click/tap on the Delete button.

    Name:  Windows_Defender_Antivirus_schedule_scan-4.png
Views: 1586
Size:  17.7 KB

    7. Click/tap on the Conditions tab, check or uncheck the Power settings below for what you want, and click/tap on OK. (see screenshot below)

    • Start the task only if the computer is on AC power
      • Stop if the computer switches to battery power
    • Wake the computer to run this task

    Name:  Windows_Defender_Antivirus_schedule_scan-5.png
Views: 1592
Size:  35.5 KB

    8. You can now close Task Scheduler if you like.


    That's it,
    Shawn


  1.    3 Weeks Ago #1

    Hi Shawn,

    Excellent, as always tutorial!

    May I add that basic daily or weekly scan scheduling can also be done natively in Windows Defender, via PowerShell.

    To do it, in an elevated PowerShell:

    A. To set which day of the week Windows Defender performs a scan, run the command: Set-MpPreference -ScanScheduleDay <Day>
    Where <day>:
    Specifies the day of the week on which to perform a scheduled scan. Alternatively, specify everyday for a scheduled scan or never. The acceptable values for this parameter are:
    0: Everyday
    1: Sunday
    2: Monday
    3: Tuesday
    4: Wednesday
    5: Thursday
    6: Friday
    7: Saturday
    8: Never

    Examples:
    To run a scan every Sunday enter the command:
    Code:
    Set-MpPreference -ScanScheduleDay 1
    To run a scan daily enter the command:
    Code:
    Set-MpPreference -ScanScheduleDay 0

    B. To set the time of the day Windows Defender performs a scan, run the command: Set-MpPreference -ScanScheduleTime <Time>
    Where <Time>:
    Specifies the time of day, as the number of minutes after midnight, to perform a scheduled scan. The time refers to the local time on the computer. If you do not specify a value for this parameter, a scheduled scan runs at a default time of two hours after midnight.

    Examples:
    To run a scan at 4:30am enter the command:
    Code:
    Set-MpPreference -ScanScheduleTime 04:30:00
    To run a scan at 10pm enter the command:
    Code:
    Set-MpPreference -ScanScheduleTime 22:00:00

    C. To check that your schedule has been set correctly, run the command:
    Code:
    Get-MpPreference | select ScanSchedule* | FL

    Although this approach is not as flexible as the one done via the Task Scheduler, it can do basic scheduling. If you think that is worth mentioning, maybe you can add it as another option in the tutorial.

    Take care.
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 34,377
    64-bit Windows 10 Pro build 18290
    Thread Starter
       3 Weeks Ago #2

    Great addition @ddelo Dimitri. Thank you.
      My ComputersSystem Spec

  3.    3 Weeks Ago #3

    Anytime mate!
      My ComputerSystem Spec

  4.    1 Week Ago #4

    Thank you, but . . . this does not work.

    All I keep getting is a 0x2 message which means, I think, that it is not working (i. e., file is not found).
      My ComputerSystem Spec

  5. Brink's Avatar
    Posts : 34,377
    64-bit Windows 10 Pro build 18290
    Thread Starter
       1 Week Ago #5

    Hmm, I don't even have the task available on my system.

    EDIT:

    Seems the task is no longer available on my laptop, but is available on my desktop. Both are running the same build 18290.
    Last edited by Brink; 1 Week Ago at 10:08.
      My ComputersSystem Spec

  6. Brink's Avatar
    Posts : 34,377
    64-bit Windows 10 Pro build 18290
    Thread Starter
       1 Week Ago #6

    mwidunn said: View Post
    Thank you, but . . . this does not work.

    All I keep getting is a 0x2 message which means, I think, that it is not working (i. e., file is not found).

    Double check to see if you still have the file below.

    C:\Program Files\Windows Defender\MpCmdRun.exe
      My ComputersSystem Spec

  7.    1 Week Ago #7

    Brink said: View Post
    Double check to see if you still have the file below.

    C:\Program Files\Windows Defender\MpCmdRun.exe
    Checked! I do have it.

    I found something to put in Command Prompt which does seem to work (namely, a Quick Scan occurs at the time I specify everyday).

    But, trying to set a scheduled scan as a Task simply will not work for me.

    Didn't this work so well in MSE . . . and, now, in new, improved, best-ever Win10 . . . it doesn't.
      My ComputerSystem Spec

  8.    1 Week Ago #8

    Thanks Brink. Just wondering why you can't do this within the app though?
      My ComputerSystem Spec

  9. Brink's Avatar
    Posts : 34,377
    64-bit Windows 10 Pro build 18290
    Thread Starter
       1 Week Ago #9

    g41851 said: View Post
    Thanks Brink. Just wondering why you can't do this within the app though?

    It would be nice to have an option in Windows Security to schedule a scan.

    Please send feedback to Microsoft requesting this feature in the Feedback Hub app. If enough people requests or upvote feedback for it, Microsoft may add it.
      My ComputersSystem Spec


 
Page 1 of 2 12 LastLast

Tutorial Categories

Schedule Scan in Windows Defender Antivirus in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


Related Threads
Windows Defender Scan Schedule? in AntiVirus, Firewalls and System Security
Don't know if this is just me or not, but: For the last month or so WD regularly hits me with the Yellow Warning Triangle to SCAN NOW. Sometimes twice a day. Sometimes days between these events. I don't know enough to be able to find the...
Windows Defender Showing Items Skipped During Scan after each scan in AntiVirus, Firewalls and System Security
Hi All Trying Windows Defender to see if I can get used to it and how it affects performance and such, but after each scan popups and says items skipped during scan, my exclusions for Secondlife game, which is required to have it run properly. ...
Need to create Quiet hours or schedule for Windows Defender in AntiVirus, Firewalls and System Security
I want to create a schedule where Windows defender is inactive. I have noticed that when playing games I get small micro-freezes and have identified these as hard page faults (Resource Monitor) caused by Windows Defender processes. I would like to...
Solved Can I schedule scans with Windows Defender? in AntiVirus, Firewalls and System Security
There does not seem to be a way to schedule an automatic daily scan with Windows Defender. I got a action center notification to run a Defender scan. Is that something I can expect regularly? Having to do a regular manual scan will be a pain.
When does Windows Defender scan? in AntiVirus, Firewalls and System Security
If I download an exe file from someplace, does Defender scan the file immediately for possible problems or do I have to request the scan? Alfred

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:46.
Find Us