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.
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

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 Field | Scope | Type | Description |
|---|---|---|---|
| cPVAL Mark System as Stolen | Device | Checkbox | Must be unchecked for the automation to run. |
| cPVAL System Lockdown | Device | Checkbox | Uncheck the box to prevent further automation. |
| cPVAL Lock Status | Device | Text | Set to Unlocked after the lockdown is reversed. |
Dependencies
- Custom Field: cPVAL Mark System as Stolen
- Custom Field: cPVAL Lock Status
- Automation: Lock Stolen System [Windows]
- Solution: Lock Stolen System
Automation Setup/Import
Output
- Activity Details
- Custom Field: cPVAL Lock Status
Changelog
2026-11-12
- Initial version of the document