Update Windows Defender definitions using Windows PowerShell

For basic security protection against virus and malware, Microsoft has built-in Windows Defender in your Windows 10 / 8 or later running operating systems. This means that you don’t need to install any antivirus programs and Windows Defender will take care of security issues. With Windows 10, this security suite has ability to update antimalware definitions automatically along with Windows Updates.

We’ve have seen how to manually install latest definitions for Windows Defender. Today, in this article, we’ll see how you can update Windows Defender virus definitions using Windows PowerShell.

Update Windows Defender Definitions Using Windows PowerShell

1. Press Windows Key + Q, type Windows PowerShell in the search box. From the results, right click on Windows PowerShell and select Run as administrator. If you’re prompted for user account password, provide that.


2. Next, in the Windows PowerShell window so open type cd.. and hit Enter key. Again type cd.. and then press Enter key. In this way, you should be arrived at PS C:\> directory.


3. Now you can type this cmdlet, after making choice about parameters, and hit Enter key. The general cmdlet (simplified) goes like this:

Update-MpSignature [-UpdateSource <UpdateSource> {InternalDefinitionUpdateServer | MicrosoftUpdateServer | MMPC | FileShares} ]

For example, the command you’ll use to simply update definitions is:

PS C:\> Update-MpSignature

This automatically determine which is best update source for and begin downloading definitions.

In case, if you want to specify update definitions source, you need to alter the general cmdlet. For example, if you want to update from Microsoft Update Server, you can use the following cmdlet:

PS C:\> Update-MpSignature -UpdateSource MicrosoftUpdateServer

Other update sources you can use are InternalDefinitionUpdateServer, Microsoft Malware Protection Center (MMPC) and FileShares. When you use InternalDefinitionUpdateServer source, the service checks for updates on the Windows Software Update Services (WSUS) server.

Hope you find the article informative and helpful!

Posted by on , in Category Security with Tags
An Electrical Engineer by profession, Kapil is a Microsoft MVP and a Microsoft Content Creator. Please read the entire post & the comments first & create a system restore point before making any changes to your system.