This is a tricky one and doubtful that anyone will have the answer, however I am running out of ideas and not sure what to do next.
The situation: Many computers will not be able to install any apps that used the PSADT to build them.
The script will “crash” without any error message- it will just blip and it’s gone, and eventually SCCM will return error 3221225477 - the program has terminated abnormally or crashed. If I check the PSADT log of an affected system, it will always be in the same place:
[Initialization] :: OS Type is [Workstation]
[Initialization] :: Current Culture is [en-US] and UI language is [EN]
[Initialization] :: Hardware Platform is [Physical]
[Initialization] :: PowerShell Host is [ConsoleHost] with version [5.1.18362.1714]
[Initialization] :: PowerShell Version is [5.1.18362.1714 x64]
[Initialization] :: PowerShell CLR (.NET) version is [4.0.30319.42000]
[Initialization] :: *****************************************************************************
That’s it.
We have found no common factors in the affected devices other than OS, everything is on W10 1909. They are different hardware types, some apps are the same but a lot are different. It’s never the same app either, and once this starts happening to a device, NONE of the apps built with PSADT will work and they all crash the same way. Running the script manually produces the same result. I have used PSADT 3.6.8 up to 3.8.4 with the same results. We can re-image the device and they will work for a while but eventually the issue comes back. I have not found a way to re-create the issue.
It is a very small percentage of devices, out of 30k endpoints we have maybe 2 dozen reports of this happening. But as we all know, if the wrong PC goes down at the wrong time, the whole world blows up. I also have a lot of eyes on me since I primarily use the PSADT for almost every app I do, and I have probably 300 in our enterprise now including many of our main EMR applications.
We have had a call out to MS, they are going over trace logs but nothing has come of it yet. We have tried all the “normal” stuff, reinstalling all .NET’s, repairing WMI, etc… Checked RAM and HD of devices, etc… and coming up with nothing.
If anyone has any ideas, I’d love to hear it! Thanks-