Skip to main content

Unlock Stolen System [Windows]

Overview​

This automation reverses Lock Stolen System [Windows] on a Windows computer that has been recovered or was locked by mistake. It removes the lockdown password from the system drive so the computer's TPM unlocks the drive at startup again, removes the lock message from the BitLocker recovery screen and sets cPVAL Lock Status to Unlocked. BitLocker stays on.

The lockdown removed the BitLocker recovery password saved before the computer was stolen, so this automation creates a new one. Back it up the same way you back up other recovery passwords, for example to Microsoft Entra ID or Active Directory.

note

This automation is optional and runs on demand only. Don't schedule it or add it to a condition. It runs only after cPVAL Mark System as Stolen is unchecked, so it can't unlock a computer that's still missing.

Requirements​

  • A Windows computer locked by Lock Stolen System [Windows], started with the lockdown password and online in NinjaOne
  • cPVAL Mark System as Stolen unchecked
  • A TPM that's turned on and ready
  • Run As: System
  • PowerShell 5.1

Sample Run​

Image1

Scenarios​

  • Recovered computer: the automation removes the lockdown password and sets cPVAL Lock Status to Unlocked. The computer starts without a password from the next restart.
  • Still marked as stolen: the automation makes no changes and shows as failed. Uncheck cPVAL Mark System as Stolen and run it again.
  • Computer not locked: if the system drive has no lockdown password, the automation makes no changes and shows as failed.
  • TPM not ready: the automation makes no changes and shows as failed, and the computer keeps asking for the lockdown password at startup. Turn on the TPM in the computer's firmware settings, then run the automation again.

Custom Fields​

Custom FieldScopeTypeDescription
cPVAL Mark System as StolenDeviceCheckboxMust be unchecked for the automation to run.
cPVAL System LockdownDeviceCheckboxUncheck the box to prevent further automation.
cPVAL Lock StatusDeviceTextSet to Unlocked after the lockdown is reversed.

Dependencies​

Automation Setup/Import​

Automation Configuration

Output​

Changelog​

2026-11-12​

  • Initial version of the document