Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows » Periodic Scanning: How to schedule Windows Defender Antivirus to scan on Windows
  • shortcut
    How to make a desktop shortcut available for all users in Windows 7 and 10 Windows
  • 147913 228396 228395 rc
    Fix No bootable media found system halted: Unable to PXE boot Virtualization
  • BitLocker selfservice or helpdesk recovery
    Force BitLocker Recovery: Perform BitLocker Recovery via the Self-Service Portal and Helpdesk Network | Monitoring
  • SA
    How to Create Service Accounts, Organisation Units and Active Directory Security Groups Windows Server
  • Integrate WordTune on Microsft Word
    Integrate WordTune with Microsoft Word on Mac Microsoft Exchange/Office/365
  • wds
    What are the differences between Lite-Touch and Zero-Touch installation? Windows
  • unknown error has occured
    Unknown Error occurred when installing Veeam Software Appliance Backup
  • SystemUtilization
    Delivering System Utilization Report on a Linux based OS Linux

Periodic Scanning: How to schedule Windows Defender Antivirus to scan on Windows

Posted on 03/04/202018/09/2023 Christian By Christian No Comments on Periodic Scanning: How to schedule Windows Defender Antivirus to scan on Windows
schedule Windows Defender scan

Microsoft Defender also referred to as Windows Defender before Windows 10 November 2019 Update or Windows Defender Antivirus in Windows 10 Creators Update and later is an anti-malware component of Microsoft Windows. Learn more about Microsoft Defender and Windows 11 encryption features in these related posts how to remove Microsoft Defender update on Windows 10 and Windows Server image, how to view Microsoft Defender Antivirus update details on Windows 10 image (install.wim), and new Windows 11 encryption features and security enhancements will help protect hybrid work.

Note: Windows 10 delivers comprehensive, built-in, and ongoing security protections you can trust, including Windows Defender Antivirus, firewall, and more. By staying up to date, you’re assured of the latest features and protection at no additional cost.

The antimalware offers real-time protection functionality to detect and remove malware proactively, and you even get the option to start a scan manually as shown below.

Windows Defender Antivirus

Other types of scan that can be performed are as follow: Simply click on the “Scan options” as shown above.

periodic scanning

You can also schedule a Windows Defender Antivirus scan at your preferred day of the month and time to create an extra layer of security. However, it’s not an option that you can enable through the Windows Security Application. But can be configured using the Windows Task Scheduler. For similar articles on Windows Task Scheduler, see https://techdirectarchive.com/?s=task+scheduler

In order to configure Windows Defender to run whenever required, follow these steps.
– Search and launch the Task Scheduler Tool as shown below or
– From the Start menu,
– Select Administrative Tools 
– Double click on Task Scheduler

Windows Defender schedule

This will open up the task scheduler tool. For me, I do not need to create a folder to house my task, so I will create a new task on the fly as shown below, and populate it with the necessary information.

– Right-click on Task Scheduled Library or Under Actions, select “New Task“
This will open up the create task dialog window as shown below.
– On the General Tab, Enter the Task Name
– Enter a description for others to understand what you are doing
– Select “Run whether user is logged on or not”

If this is not selected and the first option is used, the script may not run when a user does not log in. We have had a similar issue in the past.
– Ensure to run with the highest privilege

schedule Windows Defender scan

Navigate to the Trigger Tab as shown below
– Click on New, This will open a window where the trigger can be defined.

schedule Windows Defender scan

Since I would like the update to run every Friday after work time, the following triggers highlighted in red will be configured.

Windows Defender Antivirus

When you are done creating the trigger, The following configured trigger will be displayed as shown below, and then click on ok.

– Next. Click on the Action tab. Use the “Action” drop-down menu and select the Start a program option.
– Under the “Settings” section, in the “Program/script” field, specify the path for the Windows Defender Antivirus program (It is safer to browser to the location, and when done click on ok as shown below).

"C:\Program Files\Windows Defender\MpCmdRun.exe"

Browse to the Windows Defender Antivirus program, and add the argument as shown below

Note: The above argument performs a full malware scan, but you can use the -Scan -ScanType 1 argument to specify a quick scan, or you can use the -Scan -ScanType 3 -File PATH/TO/FILE/OR/FOLDER to scan a particular location or file

Next, click on the condition tab as shown above.
– For me, these settings are not applicable, but below is a screenshot of what it looks like 🙂

Next, navigate to the settings tab and the following settings are applicable to me in my test laboratory.
– Click on “OK” as shown below.
This will prompt you to enter your password as shown below

Hence forth, the Windows Defender Antivirus (scheduled task) will run automatically on demand. To view the configured task, click on the “Task Scheduler Library” and search for your configured task as shown below.

To test this task, since the date we have configured this task to run is still in the future, we will manually run the task as shown below.
– Right-click on the task and
– Click on run

For more information on how to run, edit, and delete a task using Task Scheduler GUI (taskschd.msc), see the following link.

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.


Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Tags:AntiMalware, AntiVirus, MicrosoftDefender, Windows 10, Windows 11, Windows Defender Antivirus

Post navigation

Previous Post: How to use command prompt to shutdown and restart your computer
Next Post: Fix Failed to create scheduled task due to Windows Server Management service issue

Related Posts

  • tux through window 620x354 1
    WSL Error 0x8007019e: WSL Register Distribution failed with error Windows
  • KIOSK AssignedAccess
    Windows Single or Multi App Kiosks Windows
  • Remote Desktop Connection Windows 10 min
    Fix Remote Desktop Connection issues (Error 0x204) Windows
  • SSH Keys Generation
    How to Generate SSH keys in Windows 11 Windows
  • Featured image 1
    Transfer Windows License from one PC to the other on Windows Windows
  • ycx
    Install SysInternals from the Microsoft Store Windows

More Related Articles

tux through window 620x354 1 WSL Error 0x8007019e: WSL Register Distribution failed with error Windows
KIOSK AssignedAccess Windows Single or Multi App Kiosks Windows
Remote Desktop Connection Windows 10 min Fix Remote Desktop Connection issues (Error 0x204) Windows
SSH Keys Generation How to Generate SSH keys in Windows 11 Windows
Featured image 1 Transfer Windows License from one PC to the other on Windows Windows
ycx Install SysInternals from the Microsoft Store Windows

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • shortcut
    How to make a desktop shortcut available for all users in Windows 7 and 10 Windows
  • 147913 228396 228395 rc
    Fix No bootable media found system halted: Unable to PXE boot Virtualization
  • BitLocker selfservice or helpdesk recovery
    Force BitLocker Recovery: Perform BitLocker Recovery via the Self-Service Portal and Helpdesk Network | Monitoring
  • SA
    How to Create Service Accounts, Organisation Units and Active Directory Security Groups Windows Server
  • Integrate WordTune on Microsft Word
    Integrate WordTune with Microsoft Word on Mac Microsoft Exchange/Office/365
  • wds
    What are the differences between Lite-Touch and Zero-Touch installation? Windows
  • unknown error has occured
    Unknown Error occurred when installing Veeam Software Appliance Backup
  • SystemUtilization
    Delivering System Utilization Report on a Linux based OS Linux

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.