mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
86ae616b3b
schtasks reports SUCCESS as soon as the run is queued, not once the process is actually alive. A silent block (AV/EDR, AppLocker/WDAC) or Task Scheduler defer during OOBE would otherwise stay invisible until the next reboot triggers the task via /SC ONSTART. After --install, poll Get-Process for AutopilotMonitor.Agent.V2 every 500ms up to 10s. Log pid + StartTime on success, or a clear WARNING that points operators at TaskScheduler/Operational + AV/EDR logs on failure. Same change applied to the production and dev variants. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>