Skip to content
LessIT

Defender for Endpoint

Onboard a Windows Server Fleet to MDE

Plan deployment rings, create onboarding packages via Group Policy and Intune, deploy to Windows Server 2019/2022/2025, verify sensor health, and troubleshoot onboarding failures across your enterprise fleet.

Beginner 75 min 10 steps

Where it fits: lab 1 of 7

Onboard and harden Windows and Linux endpoints. Onboard devices to Defender for Endpoint, block risky behavior with ASR, network protection, device control and App Control, and cover Linux.

  1. Onboard a Windows Server Fleet to MDE 75 min
  2. Configure Attack Surface Reduction Rules 90 min
  3. Network Protection & Custom Indicators for IP/URL/Domain 120 min
  4. Device Control: USB and Removable Storage Management 90 min
  5. Deploy & Tune Endpoint Detection Policies 2.5 h
  6. App Control for Business: End-to-End Deployment 3 h
  7. Secure Linux Endpoints with Entra ID, Intune and Defender for Endpoint 9.5 h

What this lab covers

Microsoft Defender for Endpoint (MDE) is a cloud-delivered endpoint security platform that provides preventative protection, post-breach detection, automated investigation, and response capabilities. Onboarding is the process of enrolling endpoints with the MDE sensor so that telemetry flows from your servers to the Microsoft Defender portal. Without onboarding, your servers are invisible to MDE: no alerts, no vulnerability assessments, no threat analytics. This lab walks you through a structured, enterprise-grade approach to onboarding a fleet of Windows Servers using Group Policy.

The enterprise scenario

Scenario: Contoso Ltd operates 500+ Windows Servers across three data centers running Windows Server 2019, 2022, and 2025.

The security team must onboard all servers to MDE within 30 days to meet a regulatory compliance deadline. They need a phased rollout strategy (deployment rings) to minimize risk and avoid disrupting production workloads. The IT team uses Active Directory Group Policy as their primary endpoint management tool for servers.

What you will learn

  • Verify MDE prerequisites and test connectivity to required service URLs
  • Design deployment rings for phased server onboarding
  • Download and configure the MDE onboarding package from the Microsoft Defender portal
  • Create and configure a Group Policy Object (GPO) for automated onboarding
  • Set diagnostic data and telemetry levels via Group Policy
  • Deploy to a pilot ring and validate sensor registration
  • Run detection tests to confirm end-to-end telemetry flow
  • Organize servers with device groups and tags

Before you start

  • Licensing: Microsoft Defender for Endpoint Plan 2 (or Microsoft 365 E5 / E5 Security)
  • Operating System: Windows Server 2019, Windows Server 2022, or Windows Server 2025 (Desktop Experience or Server Core)
  • Access: Domain Administrator or local Administrator privileges on target servers
  • Group Policy: Group Policy Management Console (GPMC) installed on a management workstation
  • Portal Access: Security Administrator or Global Administrator role in security.microsoft.com
  • Network: Outbound HTTPS (443) connectivity to MDE service URLs from all target servers
  • TLS: TLS 1.2 enabled on all target servers (default on Server 2019/2022)
  • Antivirus: Microsoft Defender Antivirus in active mode (not disabled or replaced by third-party AV)

The 10 steps

  1. Review MDE Prerequisites and Service URLs
  2. Configure Deployment Rings
  3. Download the Onboarding Package
  4. Create the Group Policy Object for Onboarding
  5. Configure Diagnostic Data Settings via GPO
  6. Deploy to Pilot Ring and Verify Sensor
  7. Validate Telemetry with a Detection Test
  8. Create Device Groups and Tags
  9. Roll Out to Remaining Rings
  10. Monitor Fleet Health Dashboard

Related labs