Windows finally has a remote lock that isn't a wipe. Push one setting from Intune and the laptop signs everyone out, hides every sign-in option and shows a "Device locked" screen until an admin unlocks it. Nothing is erased and the device stays managed. It's in preview, it runs through a custom OMA-URI profile and two groups, and it does not touch the user's account, so pair it with an Entra session revoke.
🧭 Lock, Wipe or Disable: Pick the Right Tool
A lost laptop is three separate problems: the device, the data on it and the account that was signed in. Remote lock solves the first one only.
| Situation | Use this | What it does |
|---|---|---|
| Laptop lost or stolen, might come back | Remote lock (Windows, preview) | Locks the device, keeps data, enrollment and BitLocker in place |
| Laptop gone for good, or holds data you can't risk | Wipe | Resets the device and removes data |
| Employee leaving, device returning to the pool | Retire or Autopilot reset | Removes company data and management, or resets for the next user |
| Password or tokens might be compromised | Disable the user or revoke sessions in Entra ID | Stops the account everywhere, on every device |
| Suspected compromise, need the device off the network | Defender for Endpoint isolation (outside this feature) | Cuts network access while you investigate |
Intune's built-in Remote lock button still only covers phones, Macs and a few other platforms. For Windows, this preview is the path, and it's driven by a configuration profile instead of a button.
🔒 What Remote Lock Does and Doesn't Do
| It does | It doesn't |
|---|---|
| Signs out every active session | Touch the user's account (credentials stay valid elsewhere) |
| Hides all sign-in options (PIN, password, web sign-in, local admin) | Isolate the device from the network |
| Shows a locked screen with your reason and help desk contact | Erase any data |
| Keeps BitLocker on and the device enrolled | Block Windows Recovery, Safe Mode or booting from USB |
| Survives restarts and holds while offline | Offer any local or offline unlock |
The last row matters most for support. There is no PIN, recovery code or local admin trick. The only way back in is the unlock profile from Intune.
🛠️ One-Time Setup: Two Profiles, Two Groups
Build this before you need it. During an incident you want to add a device to a group, not read documentation.
| # | Create | Name it | Settings |
|---|---|---|---|
| 1 | Entra security group (assigned membership) | Remote lock - ON | Empty until a device is lost |
| 2 | Entra security group (assigned membership) | Remote lock - OFF | Empty until a device is recovered |
| 3 | Custom profile, Windows 10 and later | Remote lock - ON | LockState 1, plus LockReason and RecoveryHint |
| 4 | Custom profile, Windows 10 and later | Remote lock - OFF | LockState 0 |
| 5 | Assignments | Profile 3 to group 1, profile 4 to group 2 | Device groups, not user groups |
The path in the Intune admin center: Devices > Windows > Configuration > Create > New policy > Windows 10 and later > Templates > Custom.
The OMA-URIs
| Setting | OMA-URI | Data type | Value |
|---|---|---|---|
| Lock state (required) | ./Device/Vendor/MSFT/RemoteDeviceLock/LockState | Integer | 1 lock, 0 unlock |
| Lock reason (optional) | ./Device/Vendor/MSFT/RemoteDeviceLock/LockReason | String | Shown on the lock screen, up to 1,024 characters |
| Recovery hint (optional) | ./Device/Vendor/MSFT/RemoteDeviceLock/RecoveryHint | String | Help desk contact, up to 256 characters |
Copy them one at a time:
./Device/Vendor/MSFT/RemoteDeviceLock/LockState./Device/Vendor/MSFT/RemoteDeviceLock/LockReason./Device/Vendor/MSFT/RemoteDeviceLock/RecoveryHintLock screen text that actually helps the person holding the laptop:
LockReason: This device was reported lost and has been locked by Contoso IT.
RecoveryHint: If this is your laptop, call the help desk at 1-800-555-0100 or email helpdesk@contoso.com.🚨 Runbook: A Laptop Is Lost
| Step | Action | Where |
|---|---|---|
| 1 | Add the device to Remote lock - ON | Entra ID or Graph PowerShell |
| 2 | Trigger a sync so it doesn't wait for the next check-in | Intune > Devices > the device > Sync |
| 3 | Revoke the user's sessions, or disable the account if credentials may be exposed | Entra ID |
| 4 | Confirm the profile shows Succeeded for the device | Intune > the profile > Device status |
| 5 | Log the incident with the BitLocker recovery key location | Your ticketing system |
The same thing in Microsoft Graph PowerShell:
Connect-MgGraph -Scopes "GroupMember.ReadWrite.All","Device.Read.All","User.RevokeSessions.All"
# Find the Entra device object and the lock group
$device = Get-MgDevice -Filter "displayName eq 'LAPTOP-0142'"
$lock = Get-MgGroup -Filter "displayName eq 'Remote lock - ON'"
# Lock: add the device to the lock group
New-MgGroupMember -GroupId $lock.Id -DirectoryObjectId $device.Id
# Kill the user's refresh tokens and browser sessions on every device
Revoke-MgUserSignInSession -UserId "alex@contoso.com"Reading the status
The CSP reports the effective state on the device through a read-only Status node:
| Status | Meaning |
|---|---|
0 | Unlocked |
1 | Locked |
2 | Lock pending |
3 | Error |
🔓 Runbook: The Laptop Comes Back
| Step | Action |
|---|---|
| 1 | Remove the device from Remote lock - ON |
| 2 | Add it to Remote lock - OFF |
| 3 | Sync the device and wait for the unlock profile to show Succeeded |
| 4 | Have the user sign in; their files and apps are where they left them |
| 5 | Remove the device from Remote lock - OFF once it's confirmed unlocked |
$unlock = Get-MgGroup -Filter "displayName eq 'Remote lock - OFF'"
Remove-MgGroupMemberDirectoryObjectByRef -GroupId $lock.Id -DirectoryObjectId $device.Id
New-MgGroupMember -GroupId $unlock.Id -DirectoryObjectId $device.Id🧱 The Gaps You Still Cover Yourself
Remote lock blocks the Windows sign-in screen. It does not block the boot path, so anyone with the laptop can still reach Windows Recovery, Safe Mode or boot from a USB stick. What protects your data at that point is BitLocker.
| Gap | Cover it with |
|---|---|
| Drive pulled out or device reimaged | BitLocker on every device, enforced by an Intune disk encryption policy |
| User signed in somewhere else with the same password | Entra ID: revoke sessions, reset the password, or disable the account |
| Device needs to be cut off from the network | Defender for Endpoint device isolation |
| Device is never coming back | Intune Wipe |
Put remote lock in your lost-device process now, test it on one spare laptop, and write down the unlock steps for the help desk. It's a preview, so check the official page before you roll it out wide.
📚 Official References
| Resource | What's There |
|---|---|
| Remote lock for Windows (preview) | The feature, the OMA-URIs, the lock screen and the scope limits |
| Intune device action: remote lock | The built-in remote lock button and the platforms it covers |
| Deploy OMA-URIs to target a CSP through Intune | How custom profiles deliver CSP settings |
| Revoke-MgUserSignInSession | Revoking a user's sessions after a lost device |