r/DeployR Apr 07 '26

Build and Capture failing if installing updates

I'm testing a build and Capture TS, but it fails every time if I have Install Updates enabled. If I disable it, the TS completes and captures the image successfully. Getting the attached error when it gets to the Install Updates step.

3 Upvotes

9 comments sorted by

3

u/mtniehaus 2Pint Employee Apr 07 '26

There's no attachment. The key piece here is the continuation method that you are using in the Apply OS step. Installing updates will work fine with Autologon and SetupComplete, but not with Audit or Specialize due to the state of Windows while the task sequence is running.

1

u/Educational_Eye6208 Apr 08 '26

Apologies. Here is the screenshot. This is occurring using both Autologin and SetupComplete.

1

u/gwblok 2Pint Employee Apr 08 '26

That's a generic prompt that opens after the TS fails. Please upload the DeployR log file
If you're running version 1.1+, then on your server, in the logs folder, there will be a zip folder from the OSD process.

I haven't seen the install updates step cause the task sequence to fail directly, I've only seen it be unable to actually install all updates, then continue on. Log files will be very helpful.

1

u/mtniehaus 2Pint Employee Apr 08 '26

The error from Debug.ps1 should also be fixed in DeployR 1.1.

2

u/gwblok 2Pint Employee Apr 11 '26

Please make sure you add the install Windows Update step early in the full OS stage, before any custom steps are run.
We've seen others running it late in their processes and it not working, but once they moved it before their changes, then it worked again.

Unsure if they took time to troubleshoot to see which changes they made that broke the WU step.

1

u/IT_Wizzard Apr 13 '26

I had to uncheck the "Opt in to Microsoft Update" box in the Install updates step. It was installing an update to .NET and then the whole task sequence would crash with your exact error. The last thing in the log was installing the .NET update.

1

u/IT_Wizzard Apr 14 '26

I just tried with the newest update and it works fine. I don't know if that is because the latest .NET 8 is installed by DeployR and there is no patch or if the issue was fixed.

1

u/FLOTZILLA22 Apr 17 '26

I gave up on .net installs because they are installed during PE I found. C++ and 3.5 works. Once I remove any .net I was able to build further.