r/DeployR • u/adminjyan • 17d ago
DeployR Existing OS Task Sequence exits after installing .NET 11 (exit code -1073741510)
When using DeployR to deploy an image, I encountered an issue during the Install Applications step in the Full OS step.
When I attempted to install .NET Runtime Desktop 11.0, none of the applications scheduled after it were installed. After reviewing the logs, I found that the Task Sequence was unexpectedly terminated at that point.
My suspicion is that the installation of .NET Runtime terminated or interfered with the dotnet.exe process that DeployR depends on, causing the DeployR process and the Task Sequence to exit.
Has anyone else encountered this issue when installing or upgrading .NET Runtime during a DeployR deployment? If so, is there a recommended workaround or solution?
1
u/gwblok 2Pint Employee 17d ago edited 17d ago
I'm guessing you have other apps that have a dependancy of .net11, which is why you're installing it? But yes, it would appear that the install is breaking the task sequence engine.
Workaround, do it after the TS is complete, a scheduled task or run once, or via your Management platform.
1
u/mtniehaus 2Pint Employee 17d ago
For whatever reason, installs of other .NET versions end up terminating the processes using other versions. We use .NET 10, and it kills that too.
1
u/mtniehaus 2Pint Employee 14d ago
I did find a couple of workarounds for this:
reg add HKLM\Software\Policies\Microsoft\Windows\Installer /v DisableAutomaticApplicationShutdown /t REG_DWORD /d 1 /f
You should remove that value after the install completes.
We will try to get this documented somewhere.
1
u/Easy-Fox-7345 16d ago
Yes, same issue here. We have apps that require different .NET runtimes to install as pre-requisites. We have to use CCM to provision these apps later after DeployR OSD. Is this not resolvable by design?