{"id":1569,"date":"2016-02-04T16:49:49","date_gmt":"2016-02-04T11:19:49","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=1569"},"modified":"2024-04-02T07:53:18","modified_gmt":"2024-04-02T02:23:18","slug":"schedule-windows-defender-scan-windows-10","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/schedule-windows-defender-scan-windows-10\/","title":{"rendered":"How to Schedule Microsoft Defender Scan in Windows 10\/11"},"content":{"rendered":"<p>Microsoft Defender&#8217;s command-line utility <a href=\"https:\/\/www.winhelponline.com\/blog\/mpcmdrun-signature-update-and-quickscan-one-go\/\">MpCmdrun.exe<\/a> is used for scheduling scans or updating the signatures using the command-line. This post tells you how to set up\u00a0Microsoft Defender to scan the computer daily at a specified time using Task Scheduler and in Windows 10 or 11.<!--more--><\/p>\n<p><strong>Note:<\/strong> Windows already includes the Automatic Maintenance feature, which runs many scheduled tasks, including <a href=\"https:\/\/www.winhelponline.com\/blog\/restore-defender-mpidletask-task-scheduler-deleted\/\">Defender daily scan<\/a>. However, the task runs only if the system is idle. Moreover, Automatic Maintenance stops running once it detects user activity in the system.<\/p>\n<p>If you can leave the system idle for some time daily for Automatic Maintenance, you don&#8217;t have to schedule it manually. Creating a scheduled task manually runs the scan, regardless of whether your system is idle.<\/p>\n<h2>How to Schedule a Microsoft Defender Scan<\/h2>\n<h3>Method 1: Create a Defender Scan Task Using SchTasks.exe<\/h3>\n<p>To schedule a daily Microsoft Defender scan, create a scheduled task using <code>SchTasks.exe<\/code> console tool using the following steps:<\/p>\n<ol>\n<li>Open a <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">elevated Command Prompt<\/a>. To do so, right-click Start and click Command Prompt (Admin).<\/li>\n<li>Type in the following command and press <code>ENTER<\/code>:\n<pre>schtasks \/create \/tn \"Scan With Defender (Daily Quick Scan)\" \/sc DAILY \/st 13:00 \/ru SYSTEM \/rl HIGHEST \/tr \"'C:\\Program Files\\Windows Defender\\MpCmdRun.exe' -Scan -ScanType 1\"<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-10.png\" alt=\"windows defender scan schedule\" width=\"583\" height=\"179\" \/><\/p>\n<p>This creates a Microsoft Defender Scan task that runs daily, at <code>13:00<\/code> hours under <code>SYSTEM<\/code> user account with highest privileges. If you running it under <code>SYSTEM<\/code> account you wouldn&#8217;t see the Command Prompt window that the task runs in. To see the Command Prompt window (interactive), change <code>SYSTEM<\/code> to your user name (say, <code>John<\/code>, in place of <code>SYSTEM<\/code>).<\/li>\n<li>Type <code>EXIT<\/code> to close the Command Prompt window.<\/li>\n<\/ol>\n<p><em>The above command was given as an example. You can alter the scan schedule time, frequency (DAILY, WEEKLY, MONTHLY) accordingly as per your requirements. For more information about Schtasks.exe command-line switches, see <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/desktop\/taskschd\/schtasks\" target=\"_blank\" rel=\"noopener noreferrer\">Schtasks.exe | Microsoft Docs<\/a> article.<\/em><\/p>\n<h3>Method 2: Create a Defender Scan Task Using Task Scheduler<\/h3>\n<p>If you&#8217;d like to configure Microsoft Defender Scan schedule using Task Scheduler GUI, use these steps:<\/p>\n<ol>\n<li>Click Start, type Task Scheduler and click Task Scheduler from the list.<\/li>\n<li>From the Action menu, click Create Basic Task&#8230;<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-1.png\" alt=\"windows defender scan schedule\" width=\"598\" height=\"354\" \/><\/li>\n<li>Assign a name for the task, and give an apt description for the custom task.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-2.png\" alt=\"windows defender scan schedule\" width=\"598\" height=\"353\" \/><\/li>\n<li>If you want to run the task once daily, click Daily, and click Next.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-3.png\" alt=\"windows defender scan schedule\" width=\"597\" height=\"353\" \/><\/li>\n<li>Set the time when you want to task to run, and click Next.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-4.png\" alt=\"windows defender scan schedule\" width=\"599\" height=\"353\" \/><\/li>\n<li>In the Action dialog, click <b>Start a program<\/b>, and click Next.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-5.png\" alt=\"windows defender scan schedule\" width=\"597\" height=\"353\" \/><\/li>\n<li>In the Program\/Script text box, mention the full path of <code>MpCmdRun.exe<\/code>. In the &#8220;Add arguments&#8221; text box, type one of the following:\n<pre>-Scan -ScanType 1 (for Quick Scan)<\/pre>\n<pre>-Scan -ScanType 2 (for Full system Scan)<\/pre>\n<p>(or)<\/p>\n<pre>SignatureUpdateAndQuickScan<\/pre>\n<p><em><strong>Editor&#8217;s Note:\u00a0<\/strong><code>SignatureUpdateAndQuickScan<\/code> parameter does two things, just as the name implies: it updates the signatures and runs a Quick Scan. It is a <u>hidden parameter<\/u> that is not mentioned in the help or anywhere. Also, check out the post <a href=\"https:\/\/www.winhelponline.com\/blog\/mpcmdrun-signature-update-and-quickscan-one-go\/\">Using MpCmdRun.exe to Update Defender and Run a Quick Scan in One Go<\/a> for more information.<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-6.png\" alt=\"windows defender scan schedule\" width=\"599\" height=\"441\" \/><\/li>\n<li>Select the <b>Open the Properties dialog for this task<\/b> when I click Finish, and then click Finish.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-7.png\" alt=\"windows defender scan schedule\" width=\"599\" height=\"480\" \/><\/li>\n<li>Enable the check box for\u00a0<code>Run with highest privileges<\/code>.<\/li>\n<li>Select <b>Windows 10<\/b> in the <b>Configure for:<\/b> drop down list box.<\/li>\n<li>Exit the Task Scheduler.That&#8217;s it! You&#8217;ve now created a task that launches Microsoft Defender Scan on schedule. The task duly runs at the specified time. The Command Prompt window can be minimized.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-8.png\" alt=\"windows defender scan schedule\" width=\"499\" height=\"114\" \/>If you use the <code>SignatureUpdateAndQuickScan<\/code> parameter, it updates the signatures and follows up with a Quick Scan.<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-dfnder-sch-9.png\" alt=\"windows defender scan schedule\" width=\"499\" height=\"114\" \/><\/li>\n<\/ol>\n<p>I hope that info helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Defender&#8217;s command-line utility MpCmdrun.exe is used for scheduling scans or updating the signatures using the command-line. This post tells you how to set up\u00a0Microsoft Defender to scan the computer daily at a specified time using Task Scheduler and in Windows 10 or 11.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,869],"tags":[581,661],"class_list":["post-1569","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","tag-task-scheduler","tag-windows-defender"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1848,"url":"https:\/\/www.winhelponline.com\/blog\/restore-defender-mpidletask-task-scheduler-deleted\/","url_meta":{"origin":1569,"position":0},"title":"Restore Windows Defender Scheduled Scan Task After Deleting it Accidentally","author":"Ramesh","date":"March 5, 2016","format":false,"excerpt":"Windows Defender's built-in scheduled task named \"Windows Defender Scheduled Scan\" is run by Automatic Maintenance when the system is idle. If you've deleted this task by mistake, this post tells you how to get it back in Windows 10. Use any one of the following methods. Restoring Windows Defender Scheduled\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/mpidletask-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5079,"url":"https:\/\/www.winhelponline.com\/blog\/automatic-maintenance-disable-schedule-windows-8-10\/","url_meta":{"origin":1569,"position":1},"title":"How to Disable Automatic Maintenance in Windows 10","author":"Ramesh","date":"January 5, 2017","format":false,"excerpt":"Windows automatically runs scheduled maintenance on a daily basis when you're not using your computer. This feature is called Automatic Maintenance, which takes care of updating Windows Store apps and other software, running Windows Defender scans, system diagnostics, Disk Cleanup, etc. Besides the maintenance tasks created by Windows, third-party programs\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"Disable Automatic Maintenance","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/automatic-maintenance-disable-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/automatic-maintenance-disable-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/01\/automatic-maintenance-disable-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":75146,"url":"https:\/\/www.winhelponline.com\/blog\/defender-definitions-update-frequency\/","url_meta":{"origin":1569,"position":2},"title":"How to Change Microsoft Defender Definitions Update Frequency","author":"Ramesh","date":"May 12, 2024","format":false,"excerpt":"Microsoft Malware Protection Center releases security intelligence updates (a.k.a, definition updates) every 3-4 hours to update the virus definitions. However, your system may not automatically install every security intelligence update. Windows Update automatically installs the Defender security intelligence update once per day. It lets you manually check for updates and\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"defender updates - windows update","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/wu-defender-update.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/wu-defender-update.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/wu-defender-update.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":5865,"url":"https:\/\/www.winhelponline.com\/blog\/thumbnail-cache-automatically-deleted-windows-maintenance\/","url_meta":{"origin":1569,"position":3},"title":"[Fix] Thumbnail Cache Auto Deletion Problem in Windows 10","author":"Ramesh","date":"November 3, 2017","format":false,"excerpt":"When you browse a folder containing media files, Windows generates thumbnail images of your image and video files if the folder view is set to thumbnail view (medium, large or extra large icons.)\u00a0The generated thumbnail is cached and written to database so that the system need not regenerate the miniature\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"thumbnail cache folder","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/thumbnail-cache-location.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/thumbnail-cache-location.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/thumbnail-cache-location.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":25816,"url":"https:\/\/www.winhelponline.com\/blog\/startupchecklibrary-winscomrssrv-dll-missing-error-startup\/","url_meta":{"origin":1569,"position":4},"title":"[Fix] StartupCheckLibrary.dll and Winscomrssrv.dll Error at Startup","author":"Ramesh","date":"January 20, 2022","format":false,"excerpt":"When you log in to your Windows computer, the following error message windows may pop up: RunDLL There was a problem starting StartupCheckLibrary.dll The specified module could not be found. RunDLL There was a problem starting winscomrssrv.dll The specified module could not be found. Additionally, you may see the following\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"startupchecklibrary.dll malware startup error","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/01\/malwarebytes-history.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/01\/malwarebytes-history.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/01\/malwarebytes-history.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/01\/malwarebytes-history.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/01\/malwarebytes-history.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":1646,"url":"https:\/\/www.winhelponline.com\/blog\/find-unknown-program-open-and-close-immediately\/","url_meta":{"origin":1569,"position":5},"title":"Command Prompt Flashes and Closes Quickly at Startup or Random Intervals","author":"Ramesh","date":"February 16, 2016","format":false,"excerpt":"If the Command Prompt, PowerShell, or an unknown program window flashes during logon or at random intervals without you doing anything, there are many chances that it's a Task Scheduler job. The windows popping up frequently can be a huge distraction when you're working or playing a game on the\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"scheduled task list out-gridview - lastruntime","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/02\/schtasks-list-powershell-action-arguments.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/02\/schtasks-list-powershell-action-arguments.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/02\/schtasks-list-powershell-action-arguments.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/02\/schtasks-list-powershell-action-arguments.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/02\/schtasks-list-powershell-action-arguments.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/02\/schtasks-list-powershell-action-arguments.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/1569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=1569"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/1569\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=1569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=1569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=1569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}