Device protection with Defender for Endpoint · Deploy
Onboard devices and turn on protection
Onboard devices ring by ring and turn on antivirus, tamper protection, attack surface reduction rules, network protection and automated remediation.
- Duration
- 6 to 12 weeks
- Effort
- About 15 to 25 person-days
- Complexity
- High
- Beyond E5
- Servers need Defender for Servers or Defender for Endpoint for servers licences.
On this page
Overview
Onboarding a device to Defender for Endpoint gives the security team visibility: inventory, alerts and the ability to investigate. Protection is separate. Defender Antivirus has to be active with cloud protection, tamper protection has to stop anyone switching it off, and the attack surface reduction rules you tested have to move to Block. Doing both together, ring by ring, means every onboarded device is a protected device, and the security team learns the alerts on a small group before everyone arrives.
Technically, you onboard each ring with the management tool chosen in Plan, check the exit criteria, then apply one set of protection policies: Defender Antivirus in active mode with cloud-delivered protection, tamper protection, EDR in block mode, network protection in block mode, the tested attack surface reduction rules, and the agreed automation level for each device group. Each ring adds devices to the groups those policies target.
You'll end up with: Every in-scope device onboarded, reporting and protected by the same policies, with the old antivirus retired where you decided to switch, and security operations handling alerts from the whole estate.
If you skip it: Devices that are onboarded but not protected give a false sense of safety, and unonboarded devices are where attacks go unseen.
Before you start
The path to this playbook
- Plan device onboarding and protection
- Test attack surface reduction rules in audit mode
- Onboard devices and turn on protection (you are here)
- Test attack surface reduction rules in audit mode: Run attack surface reduction rules and network protection in audit mode on a test ring, find what they would break, and decide each rule's mode.
- Works with Purview
How to do it
Onboarding is shared with Purview: once devices are onboarded here and device onboarding is turned on in Purview, they appear in Purview without a second step. Tell the Purview admin your ring dates. Endpoint DLP (Protect sensitive files on devices) controls what happens to sensitive files on these devices; this playbook doesn't configure it.
- Have the go decision and tested rules
How to do it
The attack surface reduction rule modes and exclusions from Prepare, and the go decision, are the starting configuration.
- Onboard first and protect later, or both together?
Decision: Onboard first and protect later, or both together?
Recommended default: Onboard and protect each ring together, with the same exit criteria
Onboarding without protection settings gives visibility quickly but leaves devices exposed, and the protection step often stalls. Protection settings applied by ring move at the same pace as onboarding.
Pilot to production
5 phasesOnboard and protect ring 11 to 2 weeks
Onboard the ring 1 devices with your management tool, then apply the protection policies to them: Defender Antivirus active with cloud protection, tamper protection, EDR in block mode, network protection in block mode, the tested rules and the agreed automation level.
Move on when Ring 1 meets the exit criteria agreed in Plan.
How to do it
Onboarding. In the Defender portal, the onboarding page gives the package for each operating system, tool and connectivity type. Don't repackage the installer; Microsoft doesn't support it, and it can trigger tampering alerts. The local script suits only up to 10 devices.
Check it works. Confirm the devices are in the inventory, run the detection test, and run a simulated attack.
Watch out for (1)
If you: Check only that devices appear in the inventory
What tends to happen: Devices report in but Defender Antivirus is in passive mode or cloud protection is off, and nobody notices until an incident.
A better approach:Check protection status, not just presence, before you call a ring done.
Switch from the old antivirus2 to 4 weeks, alongside the rings
Where you're replacing another product, onboard with Defender Antivirus in passive mode while the old product runs, then uninstall the old product ring by ring so Defender Antivirus becomes active.
Move on when No device in the finished rings runs two antivirus products.
How to do it
Follow Microsoft's migration guide: prepare, set up (Defender Antivirus in passive mode, exclusions on both products for each other), onboard, then remove the old product. On Windows Server, set passive mode before onboarding; it isn't automatic there.
Watch out for (1)
If you: Leave the old product in place "until the contract ends"
What tends to happen: Defender Antivirus stays passive, so attack surface reduction rules and real-time protection never work.
A better approach:Set a removal date per ring and track devices still running both.
Pilot ring 22 to 3 weeks
Onboard and protect the next 50 to 100 production devices across departments, device models and locations. Security operations handles every alert from these devices as if live.
Move on when Alerts from ring 2 are handled within the agreed time, and no unresolved blocks remain.
How to do it
Watch for apps blocked by rules that ring 1 didn't use, and add exclusions through the same request path as in Prepare.
Watch out for (1)
If you: Let ring 2 alerts wait because it's "only the pilot"
What tends to happen: The team never builds the habit, and the full rollout arrives with a backlog.
A better approach:Treat pilot alerts as real incidents with the same response times.
Roll out to everyone in waves3 to 6 weeks
Onboard the rest of the Windows and macOS devices in larger waves, then the platforms you scheduled later (mobile, Linux, servers with their licences). Each wave meets the same exit criteria.
Move on when Every wave completes without a rise in service desk tickets about blocked apps.
How to do it
Compare the device inventory with your management tool's device list after each wave; devices missing from either list are your gaps.
Hand over to operations1 week
Record the policies, device groups, exclusions and owners, and hand the health checks and exclusion requests to the teams that will run them.
Move on when Operations owns health checks, exclusion requests and alert response.
Review blocked apps and exclusion requests weekly with the champions. Each one becomes a narrow exclusion, a fix to the app, or a confirmed block.
How you'll know it's working
4 measures
Capture a baseline before you start, or you won't be able to show the change.
| Measure | Where you see it | Good direction |
|---|---|---|
| In-scope devices onboarded and protected | Device inventory and Device health report | Up |
| Devices with Defender Antivirus in passive mode with no removal date | Device health report | Down |
| Attack surface reduction rules in Block or Warn mode across the estate | Attack surface reduction rules report | Up |
| Service desk tickets about blocked apps per wave | Service desk | Steady |
Take it with you
plan, decisions, gate checks, 1 template
Plan outline: phases and when to move on
- Onboard and protect ring 1 (1 to 2 weeks). Move on when: Ring 1 meets the exit criteria agreed in Plan.
- Switch from the old antivirus (2 to 4 weeks, alongside the rings). Move on when: No device in the finished rings runs two antivirus products.
- Pilot ring 2 (2 to 3 weeks). Move on when: Alerts from ring 2 are handled within the agreed time, and no unresolved blocks remain.
- Roll out to everyone in waves (3 to 6 weeks). Move on when: Every wave completes without a rise in service desk tickets about blocked apps.
- Hand over to operations (1 week). Move on when: Operations owns health checks, exclusion requests and alert response.
Decisions to record, with the recommended answer
| Decision | Recommended default | Our choice |
|---|---|---|
| Onboard first and protect later, or both together? | Onboard and protect each ring together, with the same exit criteria |
Gate checks: questions to answer before each phase ends
Before leaving Onboard and protect ring 1
- Do ring 1 devices appear in the inventory with Defender Antivirus active?
- Did the detection test and the simulated attack raise alerts?
Before leaving Switch from the old antivirus
- Is the old product removed from every device in finished rings?
Before leaving Pilot ring 2
- Are ring 2 alerts handled within the agreed time?
Before leaving Roll out to everyone in waves
- Does the onboarded count match the management tool's device count?
Before leaving Hand over to operations
- Does every policy and exclusion have an owner in operations?
Message before a wave
Next week your device joins Microsoft Defender protection. Most people won't notice anything. If an app or macro you rely on is blocked, you'll see a notification naming Microsoft Defender: contact the service desk with the app name and what you were doing, and we'll sort it out quickly.
Microsoft Learn
7 links
Configure
Monitor
Contributor

Microsoft 365 architecture and governance · Protiviti