How to update Microsoft Defender Antivirus definitions on schedule

Yes, you can update Microsoft Defender Antivirus using a custom schedule, and here's how on Windows 10.

Microsoft Defender custom update schedule
Microsoft Defender custom update schedule

On Windows 10, the Microsoft Defender Antivirus updates automatically in the background, but if you disable automatic Windows Update, the option will also stop updates for the antivirus.

However, if you want to keep automatic updates disabled for Windows 10 while continue getting definition updates for Microsoft Defender Antivirus, you’ll need to create a schedule task to download updates automatically.

In this guide, you’ll learn the steps to download and update definitions manually for the Microsoft Defender Antivirus on Windows 10.

How to schedule task to definition update on Microsoft Defender

To create a scheduled task to update Microsoft Defender Antivirus definitions, use these steps:

  1. Open Start.

  2. Search for Task Scheduler and click the top result to open the experience.

  3. Right-click the Task Scheduler Library folder.

  4. Click the New Folder option.

  5. Type any name for the folder and click the OK button. (We’re creating a new folder to keep tasks organized and separated from the system tasks.)

  6. Right-click the recently created folder, and select the Create Task option.

    Task Scheduler create new task
    Task Scheduler create new task
  7. In the “Name” box, enter a name for the task.

  8. In the “General” tab, under the “Security options” section, select the Run whether user is logged on or not option. (This is the option that will make the command window not to appear when the task runs automatically.)

    Task general settings
    Task general settings
  9. Clear the Do not store password option.

  10. Click the “Triggers” tab, and click the New button.

  11. Using the “Begin the task” drop-down menu, select the On a schedule option.

    Task Scheduler trigger settings
    Task Scheduler trigger settings
  12. Under the “Settings” section, select the Daily option.

  13. Specify the Start settings on the right side.

  14. Click the OK button.

  15. Click the “Actions” tab.

  16. Click the New Button.

  17. Using the “Actions” drop-down menu, select the Start a program option.

  18. In the “Program/script” box, type the following command:

    "%ProgramFiles%\Windows Defender\MpCmdRun.exe"
  19. In the “Add arguments” box, type the following command and click the OK button.

    -removedefinitions -dynamicsignatures

    Microsoft Defender clear definition cache
    Microsoft Defender clear definition cache
  20. Click the OK button.

  21. Click the New button again in the “Actions tab.

  22. In the “Program/script” box, type the following command:

    "%ProgramFiles%\Windows Defender\MpCmdRun.exe"
  23. In the “Add arguments” box, type the following command and click the OK button:

    -SignatureUpdate

    Microsoft Defender update command
    Microsoft Defender update command
  24. Click the “Settings” tab.

  25. Check the following options:

    • Allow task to be run on demand.
    • Run task as soon as possible after a scheduled start missed.
    • If the task fails, restart every. (Adjust as necessary.)
  26. Click the OK button.

    Task Scheduler additional settings
    Task Scheduler additional settings
  27. If prompted, enter your administrative username and password.

  28. Click the OK button.

Once you complete the steps, the commands will run on the schedule you specified to update the Microsoft Defender Antivirus.

How to update definitions with Command Prompt on Microsoft Defender

If you want to update definitions without using Task Scheduler, the following instructions will help you to complete the task.

To update Microsoft Defender Antivirus definitions manually using Command Prompt, use these steps:

  1. Open Start.

  2. Search for Command Prompt and click the top result to open the experience.

  3. Type the following command to clear the antivirus program cache and press Enter:

    "%ProgramFiles%\Windows Defender\MpCmdRun.exe" -removedefinitions -dynamicsignatures

    Microsoft Defender clean definition cache command
    Microsoft Defender clean definition cache command
  4. Type the following command to update Microsoft Defender Antivirus definition and press Enter:

    "%ProgramFiles%\Windows Defender\MpCmdRun.exe" -SignatureUpdate

    Microsoft Defender update definition with Command Prompt
    Microsoft Defender update definition with Command Prompt

After you complete the steps, Microsoft Defender Antivirus will contact the update servers to download and install the latest definition updates.

About the author

Mauro Huculak is a Windows expert and the Editor-in-Chief who started Pureinfotech in 2010 as an independent online publication. He is also been a Windows Central contributor for nearly a decade. Mauro has over 12 years of experience writing comprehensive guides and creating professional videos about Windows, software, and related technologies, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me.