If you wish to use Microsoft Defender Antivirus on your Windows Server, and it had been previously disabled or uninstalled, you may need to take further steps to re-enable it and ensure it's fully updated.
To enable and update Microsoft Defender Antivirus on Windows Server, perform the following steps:
Install the latest version of the platform update.
Note
Re-enabling Microsoft Defender Antivirus doesn't automatically install the platform update. You can download and install the latest platform version using Windows update. Alternatively, you can download the update package from the Microsoft Update Catalog or from the Antimalware and cyber security portal.
If you're preparing to install the modern, unified solution on Windows Server 2016, you can leverage the Installer help script to automate the platform update and the subsequent installation and onboarding. This script can also assist in re-enabling Microsoft Defender Antivirus.
Re-enable Microsoft Defender Antivirus on Windows Server if it was disabled
If Microsoft Defender Antivirus features and installation files were previously removed from Windows Server 2016, follow the guidance in Configure a Windows Repair Source to restore the feature installation files.
As a local administrator on the server, perform the following steps:
Open Command Prompt.
Run the following command:
%ProgramFiles%\Windows Defender\MpCmdRun.exe -wdenable.
Restart the device.
Re-enable Microsoft Defender Antivirus on Windows Server if it was uninstalled
In case the Defender feature was uninstalled/removed, you can add it back.
As a local administrator on the server, perform the following steps:
Open Windows PowerShell.
Run the following commands:
PowerShell
# For Windows Server 2016
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Features
Dism /Online /Enable-Feature /FeatureName:Windows-Defender
Dism /Online /Enable-Feature /FeatureName:Windows-Defender-Gui
# For Windows Server 1803 and later, including Windows Server 2019 and 2022
Dism /Online /Enable-Feature /FeatureName:Windows-Defender
When the DISM command is being used within a task sequence running PowerShell, the following path to cmd.exe is required.
By the end of this module, you'll understand how Microsoft Defender for Cloud for Azure Arc-enabled servers can help you protect your cloud-based applications from various cyber threats.
Plan and execute an endpoint deployment strategy, using essential elements of modern management, co-management approaches, and Microsoft Intune integration.