Migrate servers to Microsoft Defender for Endpoint by using Configuration Manager
In brief
The article now covers migrating Windows Server 2012 R2 and 2016 from MMA to the unified Defender for Endpoint solution. It clarifies that manual steps apply to Configuration Manager versions earlier than 2207, while version 2207 and later can automate deployment and upgrades, and it updates prerequisites and download instructions.
What Defender admins need to know
Administrators can use the version-specific procedure and updated prerequisite and package guidance when planning server migrations.
Summaries are generated from the documentation change itself.
Documentation change
The comparison below shows only the changed extract. Use the full-page view for complete context.
MigratingMigrate servers fromto Microsoft Monitoring Agent to the unified solutionDefender for Endpoint by using Configuration Manager
This article guides you in migrating servers running Windows Server 2016 or Windows Server 2012 R2 from Microsoft Monitoring Agent (MMA) to the modern, unified solution. In this article, the phrase down-level servers refers to older versions of Windows Server, such as Windows Server 2016 and Windows Server 2012 R2.
Prerequisites
- Use Microsoft Configuration Manager
higher than 2207. Down-level OS devices in your environment onboarded with Microsoft Monitoring Agent. To confirm, verify thatMsSenseS.exeisto migrate servers runningin Task Manager.Presence of the MMA agent. You can verify it by checking if the correct Workspace ID is present in the Control Panel> Microsoft Monitoring Agent.Active Microsoft Defender portal with devices onboarded.ADevice Collectioncontaining down-level servers such asWindows Server 2012 R2 or Windows Server 2016using MMA agent is set up infrom the previous Microsoft Monitoring Agent (MMA)-based Microsoft Defender for Endpoint solution to the modern unified solution. This procedure uses the Defender for Endpoint unified solution upgrade script to install the unified solution, remove the Defender for Endpoint workspace from MMA, and apply the onboarding package.Prerequisites
Before you create the application, make sure your environment meets these requirements:
- Configuration Manager
instance.version earlier than 2207. Configuration Manager version 2107 or later is required if you also use it to configure Endpoint Protection policies. - A device collection that contains servers running Windows Server 2012 R2 or Windows Server 2016 that use the MMA-based Defender for Endpoint solution.
- The correct Defender for Endpoint workspace ID configured in the Microsoft Monitoring Agent item in Control Panel on each server.
- The required servicing stack updates, cumulative updates, and Microsoft Defender Antivirus platform updates. Review the prerequisites for Windows Server 2016 and Windows Server 2012 R2.
- Access to the Microsoft Defender portal and permission to download Defender for Endpoint installation and onboarding packages.
- A Configuration Manager content source that the site server computer account can access.
For more information on installingGather the
listed prerequisites, see related articles section.Gather requireddeployment filesCopyDownload the latest unified solution package, onboardingscript,package, and migrationscript toscript. Save all three files in the same Configuration Manager content sourceyou deploy other apps with Configuration Manager.folder.DownloadOn the OnboardingScriptpage in the Microsoft Defender portal at https://security.microsoft.com/preferences2/endpointsOnboarding, select Windows Server 2016 and Windows Server 2012 R2.For Deployment method, select Group Policy, and then download the
unified solution from Microsoft Defender portal settings pageinstallation package and onboarding package. The migration script requires the noninteractive.cmdonboarding file included in the Group Policy package.:::image type="content" source="media/onboarding-script.png" alt-text="Screenshot of the Defender portal onboarding
scriptpage with server andunified solution downloadGroup Policy selections highlighted." lightbox="media/onboarding-script.png":::
Download the migration script from the document: Server migration scenarios from the previous, MMA-based Microsoft Defender for Endpoint solution
Download the latest Defender for Endpoint unified solution upgrade script, and extract
install.ps1.ThisFor migration details and scriptcan also be found on GitHub: GitHub - microsoft/mdefordownlevelserveroptions, see Server migration scenarios from the previous MMA-based solution.Save
all three filesthe unified solution installer, the onboarding.cmdfile, andinstall.ps1ina shared folder used bythe Configuration Manageras a Software Source.content source folder.:::image type="content" source="media/ua-migration.png" alt-text="Screenshot of
savinga Configuration Manager content source folder containing theshared folder by Configuration Manager.migration deployment files.":::Create the
package as anapplicationCreate a script installer deployment type that runs the migration script in the system context.
In the Configuration Manager console,
go toselect the Software Library>workspace. Expand Application Management, select Applications>, and then select Create Application.SelectOn the General page, select Manually specify the application information, and then select Next.:::::image type="content" source="media/manual-application-information.png" alt-text="Screenshot of
manually specifyingthe Create Application Wizard with manual application informationselection.selected." lightbox="media/manual-application-information.png":::SelectOn the General Information page, enter a name and any other information that your organization requires, and then select Nexton the Software Center screen of the wizard..On the Software Center page, enter the required localized application name, configure any other Software Center details, and then select Next.
On the Deployment
Types,Types page, select Add.On the General page of the Create Deployment Type Wizard, select Script Installer from the Type list. Select Manually
tospecify the deployment type information, and then select Next.GiveOn the General Information page, enter a nameto your scriptfor the deployment type, and then select Next.a. :::::image type="content" source="media/manual-deployment-information.png" alt-text="Screenshotspecifyingof thescriptCreate Deployment Type Wizard with general deployment type information.":::CopyOn theUNCContent page, enter the Universal Naming Convention (UNC) path to the folder thatyour content is located. Example:contains the deployment files in Content location. For example,\\ServerName\h$\SOFTWARE_SOURCE\path.:::image type="content" source="media/deployment-type-wizard.png" alt-text="Screenshot that shows UNC path copy.":::Set the installationIn Installation programby using, enter the followingcommand:command. Replace<workspace ID>with the Defender for Endpoint workspace ID used by the MMA-based solution:Powershell.exe -ExecutionPolicy ByPass -File install.ps1 -RemoveMMA <workspace ID> -OnboardingScript .\WindowsDefenderATPOnboardingScript.cmdSelectNext, and make sureThe ExecutionPolicy parameter valueBypassapplies only toadd your own Workspace ID inthe PowerShell process started by thissection.SelectNext, and then selectadd a clause.command. The
detection method is based on this registry key:migration guidance recommends theHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SenseAllSigned.Selectexecution policy. If theoption:This registry setting must exit onscript runs as SYSTEM, import thetarget system to indicate presence of this application.:::image type="content" source="media/detection-wizard.png" alt-text="Screenshot that shows detection type wizard":::script signing certificate into the Local Computer Trusted Publishers store.
:::image type="content" source="media/deployment-type-wizard.png" alt-text="Screenshot of the deployment type Content page with content location and installation program fields.":::
Select Next. On the Detection Method page, select Add Clause.
In the Detection Rule dialog, configure these settings:
- Setting type: Registry
- Hive: HKEY_LOCAL_MACHINE
- Key:
SYSTEM\CurrentControlSet\Services\Sense - Value: Leave blank.
- Detection option: This registry setting must exist on the target system to indicate presence of this application
The registry key detects whether the Defender for Endpoint sensor service is installed. It doesn't confirm that the server is onboarded or reporting to the Defender for Endpoint service.
:::image type="content" source="media/detection-wizard.png" alt-text="Screenshot of the Detection Rule dialog with the Sense service registry key configured.":::
Select OK, and then select Next.
On the User Experience page, configure these settings:
- Installation behavior: Install for system
- Logon requirement: Whether or not a user is logged on
- Installation program visibility: Use Normal for a pilot deployment if you need to observe the installation. Use Minimized for a broader deployment.
- Allow users to view and interact with the program installation: Clear this option.
- Maximum allowed run time (minutes): Enter a value that allows the script to complete and fits within your maintenance windows. The Configuration Manager default is 120 minutes.
:::image type="content" source="media/user-experience-in-deployment-type-wizard.png" alt-text="Screenshot of the deployment type User Experience page with system installation settings." lightbox="media/user-experience-in-deployment-type-wizard.png":::
Select Next.
On the Requirements page, add requirements if needed to limit installation to Windows Server 2012 R2 and Windows Server 2016, and then select Next.
On the Dependencies page, add any dependencies that your environment requires, and then select Next.
Review the deployment type settings on the Summary page, select Next, and then select Close after the deployment type is created.
In the Create Application Wizard, review the application settings, select Next, and then select Close after the application is created.
Deploy the application
Deploy the application to the device collection that contains the servers you want to migrate.
In the Applications node of the Configuration Manager console, select the application, and then select Deploy.
:::image type="content" source="media/deploy-application.png" alt-text="Screenshot of the Configuration Manager application menu with Deploy selected." lightbox="media/deploy-application.png":::
On the General page of the Deploy Software Wizard, select the device collection that contains the servers to migrate.
On the Content page, add the distribution points or distribution point groups that should host the application content.
On the Deployment Settings page, select Install. Select Required to install the application automatically according to the configured schedule, or select Available to allow an administrator to start installation from Software Center.
Configure scheduling, user notifications, and alert settings for your environment.
Review the deployment settings on the Summary page, select Next, and then select Close after the deployment is created.
Verify the migration
Configuration Manager application detection confirms that the Defender for Endpoint sensor service is installed. Verify onboarding and reporting separately.
In the Configuration Manager console, select the Monitoring workspace, and then select Deployments to review deployment status.
On a migrated server, review
C:\Windows\CCM\Logs\AppEnforce.logfor application enforcement details.Confirm that the server appears in the device inventory in the Microsoft Defender portal and has a recent sensor health status.
To confirm that the server reports detections to the service, run a detection test on the onboarded server.
The migration script creates Event Trace Log (ETL) files by default. During a Configuration Manager deployment, these files are typically in the script's working directory under
C:\Windows\ccmcache\. Provide the ETL files to Microsoft Support when you troubleshoot installation or onboarding failures.Related content
- Microsoft Monitoring Agent setup
- Create applications in Configuration Manager
- Deploy applications in Configuration Manager
- Microsoft Defender for Endpoint with Configuration Manager
- Onboard servers through the Microsoft Defender for Endpoint onboarding experience
- Defending Windows Server 2012 R2 and Windows Server 2016
- Configuration Manager
@@ -1,6 +1,6 @@ ----title: Migrating servers from Microsoft Monitoring Agent to the unified solution-description: Learn how to migrate down-level servers from Microsoft Monitoring Agent to the new unified solution step-by-step from this article.+title: Migrate servers to Microsoft Defender for Endpoint by using Configuration Manager+description: Learn how to use Microsoft Configuration Manager to migrate Windows Server 2012 R2 and 2016 from MMA to Microsoft Defender for Endpoint. ms.service: defender-endpoint ms.subservice: onboard author: paulinbar@@ -9,122 +9,164 @@ ms.localizationpriority: medium ms.collection: - m365-security - tier1-ms.topic: install-set-up-deploy-ms.date: 03/27/2025+ms.topic: how-to+ms.date: 08/13/2026 appliesto: - Microsoft Defender for Endpoint Plan 1 - Microsoft Defender for Endpoint Plan 2-ms.custom: sfi-image-nochange-+ai-usage: ai-assisted+ms.custom: sfi-image-nochange, msecd-doc-authoring-1015+#customer intent: As a security administrator, I want to deploy the unified Defender for Endpoint solution with Configuration Manager so that I can migrate Windows Server 2012 R2 and Windows Server 2016 from the MMA-based solution. ----# Migrating servers from Microsoft Monitoring Agent to the unified solution +# Migrate servers to Microsoft Defender for Endpoint by using Configuration Manager++Use Microsoft Configuration Manager to migrate servers running Windows Server 2012 R2 or Windows Server 2016 from the previous Microsoft Monitoring Agent (MMA)-based Microsoft Defender for Endpoint solution to the modern unified solution. This procedure uses the Defender for Endpoint unified solution upgrade script to install the unified solution, remove the Defender for Endpoint workspace from MMA, and apply the onboarding package. -This article guides you in migrating servers running Windows Server 2016 or Windows Server 2012 R2 from Microsoft Monitoring Agent (MMA) to the modern, unified solution. In this article, the phrase *down-level servers* refers to older versions of Windows Server, such as Windows Server 2016 and Windows Server 2012 R2.+> [!IMPORTANT]+> This manual procedure applies to Configuration Manager versions earlier than 2207. Configuration Manager version 2207 or later can fully automate deployment and upgrades. For current migration options, see [Microsoft Configuration Manager migration scenarios](server-migration.md#microsoft-configuration-manager-migration-scenarios). ## Prerequisites -- Microsoft Configuration Manager higher than 2207.-- Down-level OS devices in your environment onboarded with Microsoft Monitoring Agent. To confirm, verify that `MsSenseS.exe` is running in Task Manager.-- Presence of the MMA agent. You can verify it by checking if the correct Workspace ID is present in the Control Panel> Microsoft Monitoring Agent.-- Active Microsoft Defender portal with devices onboarded.-- A **Device Collection** containing down-level servers such as Windows Server 2012 R2 or Windows Server 2016 using MMA agent is set up in your Configuration Manager instance.+Before you create the application, make sure your environment meets these requirements:++- Configuration Manager version earlier than 2207. Configuration Manager version 2107 or later is required if you also use it to configure Endpoint Protection policies.+- A device collection that contains servers running Windows Server 2012 R2 or Windows Server 2016 that use the MMA-based Defender for Endpoint solution.+- The correct Defender for Endpoint workspace ID configured in the **Microsoft Monitoring Agent** item in Control Panel on each server.+- The required servicing stack updates, cumulative updates, and Microsoft Defender Antivirus platform updates. Review the [prerequisites for Windows Server 2016 and Windows Server 2012 R2](onboard-server.md#prerequisites-for-windows-server-2016-and-2012-r2).+- Access to the Microsoft Defender portal and permission to download Defender for Endpoint installation and onboarding packages.+- A Configuration Manager content source that the site server computer account can access. -For more information on installing the listed prerequisites, see [related articles](#related-articles) section.+## Gather the deployment files -## Gather required files+Download the latest unified solution package, onboarding package, and migration script. Save all three files in the same Configuration Manager content source folder. -Copy the unified solution package, onboarding script, and migration script to the same content source you deploy other apps with Configuration Manager.+1. On the **Onboarding** page in the Microsoft Defender portal at <https://security.microsoft.com/preferences2/endpointsOnboarding>, select **Windows Server 2016 and Windows Server 2012 R2**. -1. Download Onboarding Script and the unified solution from [Microsoft Defender portal settings page](https://sip.security.microsoft.com/preferences2/onboarding).+1. For **Deployment method**, select **Group Policy**, and then download the installation package and onboarding package. The migration script requires the noninteractive `.cmd` onboarding file included in the Group Policy package. - :::image type="content" source="media/onboarding-script.png" alt-text="Screenshot of onboarding script and unified solution download" lightbox="media/onboarding-script.png":::+ :::image type="content" source="media/onboarding-script.png" alt-text="Screenshot of the Defender portal onboarding page with server and Group Policy selections highlighted." lightbox="media/onboarding-script.png"::: - > [!Note]- > You must select the Group Policy from the Deployment method dropdown to obtain the .cmd file.+1. Download the latest [Defender for Endpoint unified solution upgrade script](https://github.com/microsoft/mdefordownlevelserver/archive/refs/heads/main.zip), and extract `install.ps1`. For migration details and script options, see [Server migration scenarios from the previous MMA-based solution](server-migration.md#installer-script). -2. Download the migration script from the document: [Server migration scenarios from the previous, MMA-based Microsoft Defender for Endpoint solution](server-migration.md). This script can also be found on GitHub: [GitHub - microsoft/mdefordownlevelserver](https://github.com/microsoft/mdefordownlevelserver).+1. Save the unified solution installer, the onboarding `.cmd` file, and `install.ps1` in the Configuration Manager content source folder. -3. Save all three files in a shared folder used by Configuration Manager as a Software Source.+ :::image type="content" source="media/ua-migration.png" alt-text="Screenshot of a Configuration Manager content source folder containing the migration deployment files."::: - :::image type="content" source="media/ua-migration.png" alt-text="Screenshot of saving the shared folder by Configuration Manager.":::+<a name='create-the-package-as-an-application'></a> -## Create the package as an application+## Create the application -1. In the Configuration Manager console, go to **Software Library** > **Applications** > **Create Application**.+Create a script installer deployment type that runs the migration script in the system context. -1. Select **Manually specify the application information**.- :::image type="content" source="media/manual-application-information.png" alt-text="Screenshot of manually specifying the application information selection." lightbox="media/manual-application-information.png":::+1. In the Configuration Manager console, select the **Software Library** workspace. Expand **Application Management**, select **Applications**, and then select **Create Application**. -1. Select **Next** on the Software Center screen of the wizard.+1. On the **General** page, select **Manually specify the application information**, and then select **Next**. -1. On the Deployment Types, select **Add**.+ :::image type="content" source="media/manual-application-information.png" alt-text="Screenshot of the Create Application Wizard with manual application information selected." lightbox="media/manual-application-information.png"::: -1. Select **Manually to specify the deployment type information** and select **Next**.+1. On the **General Information** page, enter a name and any other information that your organization requires, and then select **Next**. -1. Give a name to your script deployment and select **Next**.+1. On the **Software Center** page, enter the required localized application name, configure any other Software Center details, and then select **Next**. - a. :::image type="content" source="media/manual-deployment-information.png" alt-text="Screenshot specifying the script deployment information.":::+1. On the **Deployment Types** page, select **Add**. -1. Copy the UNC path that your content is located. Example: `\\ServerName\h$\SOFTWARE_SOURCE\path`.+1. On the **General** page of the Create Deployment Type Wizard, select **Script Installer** from the **Type** list. Select **Manually specify the deployment type information**, and then select **Next**. - :::image type="content" source="media/deployment-type-wizard.png" alt-text="Screenshot that shows UNC path copy.":::+1. On the **General Information** page, enter a name for the deployment type, and then select **Next**. -1. Set the installation program by using the following command:+ :::image type="content" source="media/manual-deployment-information.png" alt-text="Screenshot of the Create Deployment Type Wizard with general deployment type information.":::++1. On the **Content** page, enter the Universal Naming Convention (UNC) path to the folder that contains the deployment files in **Content location**. For example, `\\ServerName\h$\SOFTWARE_SOURCE\path`.++1. In **Installation program**, enter the following command. Replace `<workspace ID>` with the Defender for Endpoint workspace ID used by the MMA-based solution: ```powershell Powershell.exe -ExecutionPolicy ByPass -File install.ps1 -RemoveMMA <workspace ID> -OnboardingScript .\WindowsDefenderATPOnboardingScript.cmd ``` - Select **Next**, and make sure to add your own Workspace ID in this section.+ The _ExecutionPolicy_ parameter value `Bypass` applies only to the PowerShell process started by this command. The migration guidance recommends the `AllSigned` execution policy. If the script runs as SYSTEM, import the script signing certificate into the Local Computer Trusted Publishers store. -1. Select **Next**, and then select **add a clause**.+ > [!IMPORTANT]+ > The _RemoveMMA_ parameter removes only the specified Defender for Endpoint workspace as an optional cleanup step. MMA might still be required for other workspaces or functionality. Confirm that the workspace ID is correct before you deploy the application. -1. The detection method is based on this registry key: `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Sense`.+ :::image type="content" source="media/deployment-type-wizard.png" alt-text="Screenshot of the deployment type Content page with content location and installation program fields."::: - Select the option: **This registry setting must exit on the target system to indicate presence of this application.**- - :::image type="content" source="media/detection-wizard.png" alt-text="Screenshot that shows detection type wizard":::- - > [!TIP]- > The registry key value was obtained by running the following PowerShell command on a device that has the unified solution installed. Other creative methods of detection can also be used. The goal is to identify whether the unified solution has already been installed on a specific device. You can leave the Value and Data Type fields as blank.- - ```powershell- get-wmiobject Win32_Product | Sort-Object -Property Name |Format-Table IdentifyingNumber, Name, LocalPackage -AutoSize- ```+1. Select **Next**. On the **Detection Method** page, select **Add Clause**.++1. In the **Detection Rule** dialog, configure these settings:++ - **Setting type**: **Registry**+ - **Hive**: **HKEY_LOCAL_MACHINE**+ - **Key**: `SYSTEM\CurrentControlSet\Services\Sense`+ - **Value**: Leave blank.+ - Detection option: **This registry setting must exist on the target system to indicate presence of this application**++ The registry key detects whether the Defender for Endpoint sensor service is installed. It doesn't confirm that the server is onboarded or reporting to the Defender for Endpoint service.++ :::image type="content" source="media/detection-wizard.png" alt-text="Screenshot of the Detection Rule dialog with the Sense service registry key configured.":::++1. Select **OK**, and then select **Next**.++1. On the **User Experience** page, configure these settings:++ - **Installation behavior**: **Install for system**+ - **Logon requirement**: **Whether or not a user is logged on**+ - **Installation program visibility**: Use **Normal** for a pilot deployment if you need to observe the installation. Use **Minimized** for a broader deployment.+ - **Allow users to view and interact with the program installation**: Clear this option.+ - **Maximum allowed run time (minutes)**: Enter a value that allows the script to complete and fits within your maintenance windows. The Configuration Manager default is 120 minutes.++ :::image type="content" source="media/user-experience-in-deployment-type-wizard.png" alt-text="Screenshot of the deployment type User Experience page with system installation settings." lightbox="media/user-experience-in-deployment-type-wizard.png":::++1. Select **Next**.++1. On the **Requirements** page, add requirements if needed to limit installation to Windows Server 2012 R2 and Windows Server 2016, and then select **Next**.++1. On the **Dependencies** page, add any dependencies that your environment requires, and then select **Next**.++1. Review the deployment type settings on the **Summary** page, select **Next**, and then select **Close** after the deployment type is created.++1. In the Create Application Wizard, review the application settings, select **Next**, and then select **Close** after the application is created.++## Deploy the application++Deploy the application to the device collection that contains the servers you want to migrate.++1. In the **Applications** node of the Configuration Manager console, select the application, and then select **Deploy**.++ :::image type="content" source="media/deploy-application.png" alt-text="Screenshot of the Configuration Manager application menu with Deploy selected." lightbox="media/deploy-application.png"::: -1. In the **User Experience** section, check the recommended settings shown in the screenshot. You can choose what suits your environment, and then select **Next**. +1. On the **General** page of the Deploy Software Wizard, select the device collection that contains the servers to migrate. - For **Installation program visibility**, it's advisable to install with **Normal** during phase testing then change it to **Minimized** for general deployment.- - > [!TIP]- > The maximum allowed runtime can be lowered from (default) 120 minutes to 60 minutes.- - :::image type="content" source="media/user-experience-in-deployment-type-wizard.png" alt-text="Screenshot that shows user experience in deployment-type wizard." lightbox="media/user-experience-in-deployment-type-wizard.png":::+1. On the **Content** page, add the distribution points or distribution point groups that should host the application content. -1. Add any additional requirements, and then select **Next**.+1. On the **Deployment Settings** page, select **Install**. Select **Required** to install the application automatically according to the configured schedule, or select **Available** to allow an administrator to start installation from Software Center. -1. Under the Dependencies section, select **Next**.+1. Configure scheduling, user notifications, and alert settings for your environment. -1. Select **Next** until completion screen comes up, and then select **Close**.+1. Review the deployment settings on the **Summary** page, select **Next**, and then select **Close** after the deployment is created. -1. Keep selecting **Next** until the completion of Application Wizard. Verify all have been green checked.+## Verify the migration -1. Close the wizard, right-click on the recently created application and deploy it to your down-level-server collection. Locally, the installation can be confirmed at Software Center. For details, check the CM logs at `C:\Windows\CCM\Logs\AppEnforce.log`.+Configuration Manager application detection confirms that the Defender for Endpoint sensor service is installed. Verify onboarding and reporting separately. - :::image type="content" source="media/deploy-application.png" alt-text="Screenshot that shows deployment of created application." lightbox="media/deploy-application.png":::+1. In the Configuration Manager console, select the **Monitoring** workspace, and then select **Deployments** to review deployment status. -1. Verify the status of the migration in Configuration Manager by going to **Monitoring** > **Deployments**.+1. On a migrated server, review `C:\Windows\CCM\Logs\AppEnforce.log` for application enforcement details. -1. Troubleshooting .ETL files are created and automatically saved locally in each server at this location `C:\Windows\ccmcache\#\`. These files can be leveraged by support to troubleshoot onboarding issues.+1. Confirm that the server appears in the device inventory in the Microsoft Defender portal and has a recent sensor health status. -## Related articles+1. To confirm that the server reports detections to the service, [run a detection test on the onboarded server](run-detection-test.md). -- [Microsoft Monitoring Agent Setup](/services-hub/health/mma-setup)-- [Deploy applications - Configuration Manager](/intune/configmgr/apps/deploy-use/deploy-applications)-- [Microsoft Defender for Endpoint - Configuration Manager](/intune/configmgr/protect/deploy-use/defender-advanced-threat-protection)-- [Onboard servers through Microsoft Defender for Endpoint's onboarding experience](onboard-server.md)-- [Microsoft Defender for Endpoint: Defending Windows Server 2012 R2 and 2016](https://techcommunity.microsoft.com/t5/microsoft-defender-for-endpoint/defending-windows-server-2012-r2-and-2016/ba-p/2783292)+The migration script creates Event Trace Log (ETL) files by default. During a Configuration Manager deployment, these files are typically in the script's working directory under `C:\Windows\ccmcache\`. Provide the ETL files to Microsoft Support when you troubleshoot installation or onboarding failures. +<a name='related-articles'></a> +## Related content +- [Microsoft Monitoring Agent setup](/services-hub/health/mma-setup)+- [Create applications in Configuration Manager](/intune/configmgr/apps/deploy-use/create-applications)+- [Deploy applications in Configuration Manager](/intune/configmgr/apps/deploy-use/deploy-applications)+- [Microsoft Defender for Endpoint with Configuration Manager](/intune/configmgr/protect/deploy-use/defender-advanced-threat-protection)+- [Onboard servers through the Microsoft Defender for Endpoint onboarding experience](onboard-server.md)+- [Defending Windows Server 2012 R2 and Windows Server 2016](https://techcommunity.microsoft.com/t5/microsoft-defender-for-endpoint/defending-windows-server-2012-r2-and-2016/ba-p/2783292) 