r/SCCM • u/_UserAgreement_ • 5h ago
OSD Task Sequence breaks when "Install Software Updates" step is added
I'm deploying only Windows Server 2022 and 2025 via OSD task sequences.
I have a task sequence that works perfectly. To automate patching during deployment, I adjusted a few steps to get the "Install Software Updates" step working. Everything runs as expected, the updates install, but then the server gets restarted by the updates themselves, which breaks the task sequence. The sequence never resumes: the remaining steps (unrelated to updates) never run, and I'm left with the C:_SMSTaskSequence folder.
If I remove the "Install Software Updates" step, the task sequence completes normally and the folder is cleaned up properly.
So it seems the updates trigger a reboot outside of the task sequence engine's control, and the TS can't resume afterward.
My questions:
Has anyone successfully automated software updates during OSD in a different way, for example with a PowerShell script (invoking WUA or UsScanForUpdates-style logic) that installs updates and handles the reboot inside the task sequence?
Am I missing a supported way to make the built-in "Install Software Updates" step survive update-initiated reboots? I'm aware of the usual recommendations (proper boundary groups, MP/SUP availability in the deployed OS, no GPO or deployment enforcement forcing a restart during the TS), but so far the step still breaks the sequence.
As an alternative, I know I can keep my WIM images patched via "Operating System Images" → Schedule Updates. Is that the generally recommended approach for staying current, rather than patching during the TS?
Thanks,
17
u/Unusual-Biscotti687 5h ago
This step has always been broken. Don't. Use an up to date base .wim and ensure your install application steps use up to date versions.
9
u/The-Snarky-One 5h ago
That step has been wonky from the get-go and we decided to remove it years ago.
4
u/Unusual-Biscotti687 3h ago
And I should add - offline image servicing doesn't work any more and hasn't for some time because it depends on full update .cab files quite different from the modern update files WSUS and SCCM software updates now use.
1
u/nodiaque 2h ago
Last time I had that problem, it was because of the "setup configmgr step". In the parameters, I had to put the full management point address with https
1
u/CmdrDTauro 42m ago
Don’t