UDC settings: pre-stage from server backups, fix arg format, action prompts
Root cause found via decompiling UDC_Setup.exe: it never writes udc_settings.json from CLI args. Instead it pulls Settings_Backups\udc_settings_<num>.json from \\tsgwp00525\shared\SPC\UDC -- which is unreachable at imaging time (no SFLD creds yet). Silent File.Exists() false, settings never copy, UDC lands on Evendale defaults. Fix: stage 80 udc_settings_*.json backups under shopfloor-setup/Standard/udc-backups/ (same tree as ntlars-backups, xcopy'd to C:\Enrollment\ by existing startnet.cmd). 00-PreInstall pre-creates C:\ProgramData\UDC\udc_settings.json from the matching backup BEFORE UDC_Setup.exe runs. Installer's server-side copy silently fails (unreachable), our pre-staged file survives. Also: - preinstall.json UDC InstallArgs corrected: "West Jefferson" -9999 (quoted spaced site + dash-prefixed number, confirmed via decompile) - Update-MachineNumber.ps1 UDC.exe relaunch: quoted site + dash number - Monitor-IntuneProgress: action prompts (Select Device Category after Phase 1; Initiate ARTS Lockdown after Phase 5/creds), Display flow (3-phase: Registration -> Config -> Lockdown), Phase 6 IME-based lockdown detection Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -138,7 +138,7 @@
|
||||
"Name": "UDC",
|
||||
"Installer": "UDC_Setup.exe",
|
||||
"Type": "EXE",
|
||||
"InstallArgs": "WestJefferson -9999",
|
||||
"InstallArgs": "\"West Jefferson\" -9999",
|
||||
"KillAfterDetection": true,
|
||||
"DetectionMethod": "Registry",
|
||||
"DetectionPath": "HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\UDC",
|
||||
|
||||
Reference in New Issue
Block a user