From dd8e155a11dabea79de7018d24b1d430b2abe28c Mon Sep 17 00:00:00 2001 From: Oliver Kieselbach Date: Tue, 31 Mar 2026 23:35:16 +0200 Subject: [PATCH] comment update --- scripts/Bootstrap/Install-AutopilotMonitor.ps1 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/Bootstrap/Install-AutopilotMonitor.ps1 b/scripts/Bootstrap/Install-AutopilotMonitor.ps1 index e2119dd1..da8de18c 100644 --- a/scripts/Bootstrap/Install-AutopilotMonitor.ps1 +++ b/scripts/Bootstrap/Install-AutopilotMonitor.ps1 @@ -8,7 +8,7 @@ 1. Creates a unique session ID for this enrollment 2. Downloads the monitoring agent binaries 3. Verifies integrity via SHA-256 hash from version.json - 4. Installs agent binaries (agent uses built-in backend URL or CLI override) + 4. Installs agent binaries (agent uses built-in backend URL) 5. Registers agent as Scheduled Task (runs on computer startup) 6. Agent self-destructs when enrollment completes @@ -40,9 +40,7 @@ .CHANGELOG 2026-03-31 Replaced OS age + MDM pre-flight checks with multi-signal guard: registry deployment marker, WMI/filesystem user profile detection, - and 12h bootstrap window. OOBEInProgress dropped (unreliable). Fixes ghost sessions on hybrid - join pre-provisioned devices where Intune re-targets the bootstrap - script after self-destruct. + lastloggedonUser set, explorer.exe running, and 12h bootstrap window. 2026-03-30 Fixed non-ASCII characters (em-dashes, Unicode symbols) that broke script parsing under PowerShell 5.1 / IME AgentExecutor 2026-03-29 Hardened integrity check: SHA-256 verification via version.json