Windows Server 2016 Azure VM Windows Defender XDR and Defender for Cloud

Joseph Fitzgerald 30 Reputation points
2026-08-13T17:56:20.01+00:00

I have installed a 3rd party AV Crowdstrike Falcon. I am being asked to ensure Falcon is the primary agent. The VMs are integrated with Defender for Cloud- Server Plans 2 with Endpoint Protection enabled. I have disabled endpoint protection and changed the registry key to put Defender into Passivde mode but with PS command it still shows the Agent has running normal. Can someone offer the next steps? It seems it may be best to remove Defender Endpoint AV all together as Crowdstrike Falcon is the company's security EDR.

Microsoft Security | Microsoft Defender | Microsoft Defender for Cloud
0 comments No comments

1 answer

Sort by: Newest
  1. AI answer

    2026-08-13T17:56:37.4266667+00:00

    For Windows Server 2016 with CrowdStrike as the primary AV, the supported next steps depend on whether the server is still onboarded to Microsoft Defender for Endpoint.

    1. Confirm whether the server is still onboarded to Defender for Endpoint.
      • If it is onboarded, Microsoft Defender Antivirus can run in passive mode.
      • If it is not onboarded, passive mode is not supported on Windows Server 2016. In that case, Microsoft Defender Antivirus must be disabled or uninstalled manually to avoid multiple antivirus products on the server.
    2. If the server is onboarded and passive mode is required, verify these conditions:
      • ForceDefenderPassiveMode must be set before onboarding to Microsoft Defender for Endpoint.
      • On Windows Server 2016, passive mode requires onboarding by using the modern unified solution.
      • Use Get-MpComputerStatus and check AMRunningMode. Expected values are Normal, Passive, or EDR Block Mode.
    3. Check whether tamper protection is preventing the switch.
      • On platform version 4.18.2208.0 and later, if the server is onboarded to Microsoft Defender for Endpoint, tamper protection allows switching to active mode, but not back to passive mode.
      • If Defender Antivirus was already switched to active mode, setting ForceDefenderPassiveMode=1 does not return it to passive mode when tamper protection is enabled.
    4. If the goal is to stop Defender for Endpoint deployment from Defender for Cloud, disabling the Defender for Cloud integration is only part of the process.
      • In Defender for Cloud > Environment settings > select the subscription > Defender plans > Settings & Monitoring.
      • Set the Endpoint protection component to Off.
      • Select Continue and Save.
      • Remove the MDE.Windows extension from the VM.
      • Offboard the device from the Microsoft Defender for Endpoint service.
    5. If CrowdStrike must remain the only AV on this Windows Server 2016 VM, and passive mode is not achievable or not desired, the supported path is to remove Microsoft Defender Antivirus from the server.
      • Run as administrator:
             Uninstall-WindowsFeature Windows-Defender
             Uninstall-WindowsFeature Windows-Defender-Gui
        
      • Restart the server to complete removal.
      • Risk: removing Microsoft Defender Antivirus also removes its local AV capability. If CrowdStrike is later removed, Microsoft Defender Antivirus must be re-enabled.
    6. Avoid unsupported methods.
      • Manual modification of Microsoft Defender Antivirus service and driver start types is not supported.
    7. If Defender for Cloud previously onboarded the VM, registry tags can remain after offboarding and do not affect functionality.
      • Those tags are under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Advanced Threat Protection\DeviceTags
      • Risk: editing the registry incorrectly can cause device issues.

    Based on the described state—Endpoint protection disabled, passive mode registry set, but Get-MpComputerStatus still showing Normal—the most likely supported checks are:

    • verify the VM is still onboarded to Defender for Endpoint,
    • verify whether onboarding used the modern unified solution,
    • verify whether tamper protection is blocking the return to passive mode,
    • if Falcon must be the sole AV, remove MDE.Windows, offboard from Defender for Endpoint, and uninstall Microsoft Defender Antivirus from Windows Server 2016.

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.