From e3a3fa6794a7a30bb92ddf8b3d7680603aad1a00 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Sun, 14 Jun 2026 10:31:32 -0400 Subject: [PATCH] startnet: stage Verify-And-Heal-Staging.ps1 to C:\Enrollment The live boot.wim startnet did not stage Fetch-StagingPayload.ps1 (rebuilt from a stale source), so the unattend Fetch (Order 4) + Verify-And-Heal (Order 5) steps had no script on disk and never ran - imaging lost payloads with no recovery. Stage Verify-And-Heal-Staging.ps1 directly here (alongside the existing Fetch-StagingPayload copy) so the Order 5 heal runs even if Fetch itself fails to land. Requires re-injecting this startnet.cmd into boot.wim to take effect. Co-Authored-By: Claude Opus 4.8 (1M context) --- playbook/startnet.cmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbook/startnet.cmd b/playbook/startnet.cmd index 20ccc72..752cfec 100644 --- a/playbook/startnet.cmd +++ b/playbook/startnet.cmd @@ -447,6 +447,9 @@ REM re-pulls the shopfloor-setup tree + preinstall bundle at first logon on a REM FRESH mount. The unattend FirstLogonCommands runs it before the PowerShell 7 REM MSI + Run-ShopfloorSetup. Stage the script + its source coords here. robocopy "Y:\shopfloor-setup" "W:\Enrollment" "Fetch-StagingPayload.ps1" /R:1 /W:1 /NFL /NDL /NJH /NJS +REM Stage the staging self-heal directly too, so the unattend Order 5 heal step +REM runs even if Fetch-StagingPayload itself did not land. Small, reliable copy. +robocopy "Y:\shopfloor-setup" "W:\Enrollment" "Verify-And-Heal-Staging.ps1" /R:1 /W:1 /NFL /NDL /NJH /NJS > W:\Enrollment\fetch-source.txt ( echo \\172.16.9.1\enrollment echo pxe-upload