From 6fac73c947d108f6922aead1594bb52444c410da Mon Sep 17 00:00:00 2001 From: cproudlock Date: Fri, 9 Oct 2026 09:59:11 -0400 Subject: [PATCH] startnet: map Y: before status push and preflight on every path The gea-standard/gea-engineer path (purpose -> tenant -> enroll_staged) never mapped the enrollment share, so winpe-status-push.ps1 and preflight.ps1 silently skipped those builds. Map it at :end if absent. --- playbook/shopfloor-setup/BIOS/hardware-report.ps1 | 5 ++--- playbook/startnet.cmd | 5 +++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/playbook/shopfloor-setup/BIOS/hardware-report.ps1 b/playbook/shopfloor-setup/BIOS/hardware-report.ps1 index 6589f80..33dcb55 100644 --- a/playbook/shopfloor-setup/BIOS/hardware-report.ps1 +++ b/playbook/shopfloor-setup/BIOS/hardware-report.ps1 @@ -2,9 +2,8 @@ # its Hardware Coverage page can flag models with no driver pack or BIOS. # # Called by check-bios.cmd, which every WinPE boot runs from the BIOS share -# before the imaging menu. That is deliberate: the enrollment share (Y:, -# where winpe-status-push.ps1 lives) is never mapped on the gea-standard / -# gea-engineer path, so anything hung off Y: misses those builds. +# before the imaging menu, so it reports every boot - including ones that +# never pick an image - rather than only those that reach the Y: status push. # # Sends the exact WMI model PESetup matches driver packs on, the Dell # system SKU (what Dell's catalogs key on) and the BIOS version. Runs in diff --git a/playbook/startnet.cmd b/playbook/startnet.cmd index 969ba10..9dda5a1 100644 --- a/playbook/startnet.cmd +++ b/playbook/startnet.cmd @@ -449,6 +449,11 @@ goto end :end echo. +REM Map the enrollment share for the status push and preflight below. The +REM shopfloor/enroll menus map it earlier; the gea-standard/gea-engineer +REM path (purpose -> tenant -> enroll_staged) never did, so neither ran. +if not exist Y:\ net use Y: \\%PXESERVER%\enrollment /user:%SHAREUSER% %SHAREPASS% /persistent:no >NUL 2>&1 + REM --- Push initial "WinPE staging" status to PXE webapp --- REM Externalized to Y:\scripts\winpe-status-push.ps1 so future edits don't REM require a boot.wim rebuild. Best-effort; the script logs to