Configure the locked-desktop scenario
- Open Windows locked and enable Monitor while Windows is locked.
- Set Monitor disconnected to Restart.
- Set Monitor connected and Resolution/layout changed to Do nothing if only removal should matter.
- Review USB rules too: unplugging a dock may remove both a monitor and USB peripherals.
- Click Save and leave the app running.
This can operate with normal monitoring off. If you also want the event to act during an explicitly armed, unlocked session, choose the corresponding response on Triggers and enable that normal profile separately.
Check what your hardware reports
Exit any regular instance and use Test monitoring.cmd for a whole-app dry run. Lock Windows normally, then disconnect a nonessential external display without disturbing power or storage cables. Reconnect it, sign in and review Event history.
Look for the specific monitor-removal entry rather than only a layout event. Display drivers, docks and connection types can report changes differently. Try the exact cable and port you plan to use; a successful test on another monitor does not establish the same behavior.
Expected response
In an activated release, a reported disconnection while Windows is locked requests restart. The locked profile takes priority over normal settings. Duplicate pending power responses are suppressed, but a dock can still generate several recorded events that explain why a rule was selected.
This does not detect every possible way of obscuring, switching or powering down a display. It also does not prevent physical access or replace the Windows lock. Keep Force apps to close off while assessing the setup and save work before real power-action testing.
For routine display adjustments, use separate resolution/layout rules. For the USB side of a dock disconnect, see USB removal responses.