HEBook a call
Book a callHE
Blog

Lock a lost PC without wiping it: remote lock for Windows

16 November 2026 · Gilad Keidar

Microsoft news

Laptop missing? You can lock it from Intune without erasing a single file. What it does, how to set it up and what it does not cover.

A laptop goes missing. A wipe is drastic if it turns up in a taxi an hour later. Doing nothing leaves a signed-in device in unknown hands. Remote lock for Windows is the middle option.

This is still a Preview feature. Microsoft labels remote lock as Preview, so behavior may change before general availability.

What it does

How to enable it

In the preview, remote lock runs through a custom OMA-URI profile in Intune. Devices must be Microsoft Entra joined, hybrid joined or MDM-enrolled, on Windows Pro, Enterprise or Education.

  1. Create the profile. In the Intune admin center, go to Devices > Windows > Configuration > Create > New policy. Choose Windows 10 and later, then Templates > Custom.
  2. Add the settings. Name the profile (for example, "Remote lock - ON") and add the settings below, with LockState = 1.
  3. Assign it to a lock group. Assign the profile to a device group reserved for locked devices. Adding a device to the group locks it at its next check-in.
  4. Unlock. To unlock, create a second profile with LockState = 0, assign it to an unlock group, and move the device from the lock group to the unlock group.
SettingOMA-URITypeValue
Lock state (required)./Device/Vendor/MSFT/RemoteDeviceLock/LockStateInteger1 = lock, 0 = unlock
Lock reason (optional)./Device/Vendor/MSFT/RemoteDeviceLock/LockReasonStringShown on the lock screen, up to 1,024 characters
Recovery hint (optional)./Device/Vendor/MSFT/RemoteDeviceLock/RecoveryHintStringHelp desk contact, up to 256 characters

The read-only Status node reports the effective state: 0 Unlocked, 1 Locked, 2 Lock pending, 3 Error.

What it does not do

Our take

Treat remote lock as one step in a lost-device runbook, not a replacement for it. The runbook we recommend:

  1. Lock. Lock the device in Intune.
  2. Revoke sessions. Revoke the user’s sessions in Microsoft Entra ID.
  3. Check encryption. Confirm BitLocker is on.
  4. Wipe only if needed. Wipe only if the device does not come back.

Create the lock and unlock groups before you need them. A stolen laptop is a bad time to design them.

Want help setting up Intune device controls and a lost-device runbook? Book a meeting with OnCloud.

Book a meeting

Sources