📋 Guide Info

25 min read

Updated February 23, 2026

6,700 reads

IntuneSecurityBitLockerLAPSASRFirewallCompliance
Intune Autopilot v2 Series Part 2

Intune Autopilot v2 – Part 2: Complete Device Hardening with Compliance & Security Policies

Liladhar Sapkota - Author
Liladhar SapkotaFebruary 23, 2026

Complete Hardening Guide: One Place, All Policies

After devices are enrolled with Autopilot v2, this is your single source of truth for hardening them. I've built and tested these policies across multiple organisations – they work, they're validated, and you can deploy them with confidence. No more piecing together information from different Microsoft articles. Here's everything in one place.

Prerequisite: Complete Part 1 (Device Preparation) before applying these hardening policies. Devices must be enrolled with Autopilot v2.
Why this guide is different: This is built, tested and validated documentation from real-world production deployments. You won't need to jump between 20 different Microsoft docs – everything is here in one place, step by step, exactly how we set up device hardening for organisations using Autopilot v2.
1

Compliance Policies

Compliance policies are the gatekeepers that check if a device meets your security requirements like encryption, password strength, and antivirus health before it can access company resources.

How we set this up in production: We create a base compliance policy for all Windows devices requiring BitLocker, Defender health, and password length of at least 8 characters. Then we mark devices non-compliant after 7 days and send notifications to users.

Compliance policy overview
Compliance policy - Create
Compliance policy settings
Compliance policy - Choose policy
Compliance policy assignment
Compliance policy - Configuration
Compliance actions
Compliance policy - Compliance settings
Compliance policy list
Compliance policy - Non compliance action
Real-world tip: Create separate compliance policies for different device types. Kiosk devices get stricter policies than standard user devices.
2

Microsoft Defender Antivirus

Defender Antivirus is your built-in malware protection that runs in real-time, scanning files and processes as they're accessed.

How we set this up in production: We enable cloud-delivered protection with moderate blocking level, set real-time monitoring for all files, and schedule a quick scan daily plus a full scan weekly.

Antivirus policy configuration
Defender Antivirus - Create policy
Real-time protection
Defender Antivirus - setup profile
Scan settings
Defender Antivirus - Name and description
Antivirus exclusions
Defender Antivirus - Config settings
Production note: We always enable cloud-delivered protection – it catches new threats within hours instead of days.
3

BitLocker Disk Encryption

BitLocker encrypts the entire Windows drive so if a device is lost or stolen, the data is unreadable without the recovery key.

How we set this up in production: We enable silent encryption so users never see prompts – it just happens in the background. Recovery keys are automatically escrowed to Azure AD so helpdesk can retrieve them when needed.

BitLocker base settings
BitLocker - create policy
BitLocker advanced settings
BitLocker - Config settings
Key setting we always use: "Silently enable BitLocker on devices" – users don't even know it's happening, and we still get the protection.
4

Windows Firewall Configuration

Windows Firewall controls inbound and outbound network traffic, blocking unauthorised access while allowing legitimate communication.

How we set this up in production: We enable the firewall for all three profiles (Domain, Private, Public) with default inbound block and outbound allow.

Firewall profile settings
Windows Firewall - profile settings
Firewall rules
Windows Firewall - rules
Advanced firewall settings
Windows Firewall - rules
Firewall logging
Windows Firewall - rules
5

Attack Surface Reduction Rules

ASR rules block specific behaviours that malware commonly uses – things like Office apps launching child processes, scripts running from USB drives, or ransomware attempting to encrypt files.

How we set this up in production: We enable all ASR rules in audit mode first for two weeks to see what would be blocked. Then we gradually switch them to block mode, starting with the safest rules.

ASR rules overview
Attack Surface Reduction - create rules
ASR rule configuration
Attack Surface Reduction - rule configuration
Production tip: Always start with audit mode. You'll thank me later when you don't accidentally block critical business apps.
6

Exploit Protection

Exploit protection applies mitigations like DEP, ASLR, and CFG to both system-wide and specific applications, making it harder for attackers to exploit memory vulnerabilities.

Exploit protection settings
Exploit Protection - system settings
7

Windows LAPS (Local Admin Password Solution)

LAPS manages the local administrator password on every device, rotating it regularly and storing it securely in Azure AD.

How we set this up in production: We enable LAPS with password rotation every 30 days, using 20-character complex passwords. Passwords are backed up to Azure AD, and we grant helpdesk access to retrieve them when needed.

LAPS configuration
Windows LAPS - basic configuration
LAPS advanced settings
Windows LAPS - password settings
Critical production note: LAPS backs up passwords to Azure AD. Test this first with a few devices to make sure recovery works before rolling out broadly.
8

Local Administrator Group Control

This policy controls exactly which users can perform admin tasks on a device without creating local accounts.

How we set this up in production: We add a security group containing our helpdesk team to the local administrators group on every device. We never add individual users – always groups.

Local group policy
Local Admin Group - policy configuration
Local group members
Local Admin Group - member selection
Real-world tip: Create a "Device Admins" group in Azure AD and add your helpdesk there. Then use that group in this policy. Much easier to manage.
9

Conditional Access Policies

Conditional Access is the policy engine that decides who can access what, from where, and under what conditions – like requiring compliant devices for access to company email.

How we set this up in production: We create a policy that requires devices to be marked as compliant before accessing Exchange Online and SharePoint. We also add MFA for all external access.

Conditional Access overview
Conditional Access - policy overview
Coming soon: I'll create separate step-by-step documentation for Conditional Access with detailed policies. This is just a preview.

Frequently Asked Questions

How do I verify BitLocker recovery keys in Intune?
How to check if Windows LAPS is working?
What's the difference between compliance policy and configuration profile?
Liladhar Sapkota - IT Professional
About the Author

Liladhar Sapkota is an IT professional with expertise in Microsoft 365, Intune, and automation. Writing documentation based on real production experience.