Banner

: Log in to the Microsoft Defender Security Center. Download the Installation Package : Navigate to Settings > Endpoints > Onboarding .

: Use the MSI installation command provided in the package: msiexec /i md4ws.msi /quiet .

: This typically requires a license for Microsoft Endpoint Configuration Manager (MECM/SCCM) .

Choose your deployment method (e.g., or Local Script ) and download the installation package (the MSI file) and the onboarding script.

: Execute the .cmd onboarding script as an administrator to connect your server to the Defender portal.

: Ensure your server is fully patched with the latest updates from Windows Update.

Windows Defender AV for Server 2012 R2 and 2008 R2 | Microsoft Defender ATP Onboarding | Microsoft Community Hub