Enable MDE with Onboarding Package

To enable MDE to activate within a tenant, an onboarding package is needed. Additionally, depending on the operating system, binaries may also need be installed on the endpoint before onboarding.

Older Windows versions

For Windows Server 2012 r2 and Windows Server 2016, MDE must be installed before the endpoint can be onboarded. These versions of Windows do not have the MDE components built into the operating system out of the box. Once older versions of Windows have had the necessary binaries installed, they can be onboarded using the same process as newer operating systems. An installation package has been provided to cater for this need, which you may download and import using the following instructions:

  1. Download the Windows legacy installer package from hereNo Content found for /db/organizations/tanium/repositories/master/content/documents/knowledge/MDE-Install-Config-Report/TaniumDeploy_Microsoft_Corporation_Microsoft_Defender_for_Endpoint_Install_Windows_Legacy_Platforms_v4.18.60808_rev004.zip.

  2. Download the md4ws.msi unified installer from your defender portal:

    1. Go to Security.Microsoft.com.

    2. Open Settings -> Endpoints -> Onboarding.

    3. Select Windows Server 2012R2 and Server 2016.

    4. Select Group Policy Deployment method.

  3. Download the installation package (md4ws.msi)

  4. To import the package provided navigate to Modules > Deploy > Software.
    A screenshot of a computer Description automatically generated
  5. Click Import Package.


    A blue rectangle with white text Description automatically generated
  6. Select the MDE content set and the ‘TaniumDeploy_Microsoft_Corporation_Microsoft_Defender_for_Endpoint_Install_Windows_Legacy_Platforms_v4.18.60808_rev004.zip’ file that you downloaded.

  7. You will be prompted to upload a file - ‘mde4ws.msi’ that you previously downloaded, attach the file and click Importand confirm your choice

  8. The Windows legacy install package is now ready for use.

Next the Windows legacy enrollment package should be imported ready for use:

  1. Download the Windows legacy onboarding package from hereNo Content found for /db/organizations/tanium/repositories/master/content/documents/knowledge/MDE-Install-Config-Report/TaniumDeploy_Microsoft_Microsoft_Defender_for_Endpoint_Onboarding_Windows_legacy_platforms_v1.0_rev006.zip.

  2. Download the Group Policy onboarding script from the MDE portal as described in this article: Onboard Windows devices using Group Policy it should be named ‘WindowsDefenderATPOnboardingPackage.zip’

  3. To import the package provided, navigate to Modules > Deploy > Software.
    A screenshot of a computer Description automatically generated
  4. Click Import Package.


    A blue rectangle with white text Description automatically generated
  5. Select the MDE content set and the ‘TaniumDeploy_Microsoft_Microsoft_Defender_for_Endpoint_Onboarding_Windows_legacy_platforms_v1.0_rev006’ file that you downloaded.

  6. You will be prompted to upload a file -'WindowsDefenderATPOnboardingPackage.zip',because this file is specific to your tenant a hash mis-match will be reported, click Edit Package, then select the Upload local file to the right of the 'WindowsDefenderATPOnboardingPackage.zip' package file:
    A screenshot of a box Description automatically generated
  7. Upload the file previously downloaded.

  8. Scroll to the bottom of the page, click Create Package and confirm.

  9. The Windows legacy onboarding package is now ready for use.

Newer Windows versions

For newer versions of Windows (10, 11and Server 2019+) it is not required to install any binaries first, as the MDE components are built into the operating system. The binaries simply need activating with an onboarding script provided by Microsoft that is tenant specific. The onboarding package for modern Windows platforms is provided in the Deploy package gallery.

Linux

An installation package has been provided for Linux which you may download and import using the following instructions

  1. Download the Linux installer package from hereNo Content found for /db/organizations/tanium/repositories/master/content/documents/knowledge/MDE-Install-Config-Report/TaniumDeploy_Microsoft_Microsoft_Defender_for_Endpoint_Linux_Installation_and_Onboarding_v1.0_rev001.zip.

  2. Download the mde_installer.sh script provided by Microsoft from: https://github.com/microsoft/mdatp-xplat/tree/master/linux/installation

  3. Download the Linux onboarding package as described here: Deploy Microsoft Defender for Endpoint on Linux manually in the ‘Download the onboarding package’ section of the page. You must extract the zip file – this contains the MicrosoftDefenderATPOnboardingLinuxServer.py script required by the package.

  4. To import the package provided navigate to Modules > Deploy > Software.
    A screenshot of a computer Description automatically generated
  5. Click Import Package.


    A blue rectangle with white text Description automatically generated
  6. Select the MDE content set and the ‘TaniumDeploy_Microsoft_Microsoft_Defender_for_Endpoint_Linux_Installation_and_Onboarding_v1.0_rev001.zip’ file that you downloaded.

  7. You will be prompted to upload two files, ‘mde_installer.sh’and ‘MicrosoftDefenderATPOnboardingLinuxServer.py’ – both previously downloaded, attach both of these and click Import and confirm your choice.

  8. The Linux install and onboarding package is now ready for use.

Import the Onboarding Package – Modern Windows Versions

To import the onboarding package for modern versions of Windows operating systems, complete the following steps:

  1. Navigate to Modules > Deploy > Software.
    A screenshot of a computer Description automatically generated
  2. Select the Predefined Package Gallery tab.

  3. In the Filter Items text box, enter Defender for Endpoint Onboarding

  4. Click the blue arrow to import the package and confirm the action.
    Enable MDE with Onboarding
  5. The package requires editing before deployment, click Edit in the upper right-hand corner.
    Enable MDE with Onboarding
  6. Expand the Package Files section.

    1. Click Add Package Files.

    2. Select Local File.


A screen shot of a package Description automatically generated
  1. Download your Group Policy onboarding script from the MDE portal as described in this link: https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/configure-endpoints-gp?view=o365-worldwide. It should be named ‘WindowsDefenderATPOnboardingPackage.zip’

  2. Select the WindowsDefenderATPOnboardingPackage.zip file that you previously downloaded to add it to the package.

  3. Scroll down to the Deploy Operations section and under Install, checkmark the Require Source Files box.
    A screenshot of a computer Description automatically generated
  4. Scroll down to the Installation Requirements section

    1. Locate the two placeholder registry path checks that begin with "Remove this line after" and click the delete icon, removing each from the configuration.


A screenshot of a computer Description automatically generated
  1. Scroll to the bottom of the page and click Save Package and confirm your action.