SCCM - Program failed (run time exceeded)

Hello. So we’ve been using the PSADT for years and it is great. But lately we’ve been seeing quite a few computers fail with Program failed (run time exceeded) errors in SCCM. For example, our last deployment had about 65 PCs fail with this error and about 1880 succeeded. What happens is one of the Show-InstallationProgress or Show-InstallationPrompt boxes remains on the screen. Users are unable to interact with this box in any way, they need to reboot the PC. Has anyone else seen this?

Here is the end of the log file from one of the PCs:

<![LOG[[Post-Installation] :: Close the installation progress dialog.]LOG]!><time=“22:03:32.647-300” date=“02-12-2021” component=“Close-InstallationProgress” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: Displaying custom installation prompt with the non-default parameters: [-NoWait:$true -ButtonRightText “OK” -Icon “Information” -Message “MModal Fluency Direct 10.0.6119.2113 has been successfully installed.”].]LOG]!><time=“22:03:32.915-300” date=“02-12-2021” component=“Show-InstallationPrompt” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: MModal_FluencyDirect_10.0.6119.2113_EN_01 Installation completed with exit code [0].]LOG]!><time=“22:03:32.989-300” date=“02-12-2021” component=“Exit-Script” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: Check if PowerPoint is in either fullscreen slideshow mode or presentation mode…]LOG]!><time=“22:03:33.005-300” date=“02-12-2021” component=“Test-PowerPoint” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: PowerPoint application is not running.]LOG]!><time=“22:03:33.021-300” date=“02-12-2021” component=“Test-PowerPoint” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: PowerPoint is running in fullscreen mode [False].]LOG]!><time=“22:03:33.034-300” date=“02-12-2021” component=“Test-PowerPoint” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: Display balloon tip notification asynchronously with message [Installation complete.].]LOG]!><time=“22:03:33.063-300” date=“02-12-2021” component=“Show-BalloonTip” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: [C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe] is a valid fully qualified path, continue.]LOG]!><time=“22:03:33.078-300” date=“02-12-2021” component=“Execute-Process” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: Working Directory is [C:\Windows\System32\WindowsPowerShell\v1.0].]LOG]!><time=“22:03:33.087-300” date=“02-12-2021” component=“Execute-Process” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: Executing [C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe [PowerShell ScriptBlock]]…]LOG]!><time=“22:03:33.094-300” date=“02-12-2021” component=“Execute-Process” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: NoWait parameter specified. Continuing without waiting for exit code…]LOG]!><time=“22:03:33.102-300” date=“02-12-2021” component=“Execute-Process” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Post-Installation] :: -------------------------------------------------------------------------------]LOG]!><time=“22:03:33.115-300” date=“02-12-2021” component=“Exit-Script” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“7840” file=“Deploy-Application.ps1”>
<![LOG[[Asynchronous] :: [App Deploy Toolkit Main] called with switch [-ShowInstallationPrompt].]LOG]!><time=“22:03:36.235-300” date=“02-12-2021” component=“PSAppDeployToolkit” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“8280” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Asynchronous] :: Displaying custom installation prompt with the non-default parameters: [-Icon “Information” -Message “MModal Fluency Direct 10.0.6119.2113 has been successfully installed.” -ButtonRightText “OK”].]LOG]!><time=“22:03:36.490-300” date=“02-12-2021” component=“Show-InstallationPrompt” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“8280” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Asynchronous] :: Installation action not taken within a reasonable amount of time.]LOG]!><time=“23:58:36.501-300” date=“02-12-2021” component=“Show-InstallationPrompt” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“8280” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Asynchronous] :: Installation action not taken within a reasonable amount of time.]LOG]!><time=“01:53:36.491-300” date=“02-13-2021” component=“Show-InstallationPrompt” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“8280” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Asynchronous] :: Installation action not taken within a reasonable amount of time.]LOG]!><time=“03:48:36.507-300” date=“02-13-2021” component=“Show-InstallationPrompt” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“8280” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Asynchronous] :: Installation action not taken within a reasonable amount of time.]LOG]!><time=“05:43:36.518-300” date=“02-13-2021” component=“Show-InstallationPrompt” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“8280” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Asynchronous] :: Installation action not taken within a reasonable amount of time.]LOG]!><time=“07:38:36.522-300” date=“02-13-2021” component=“Show-InstallationPrompt” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“8280” file=“AppDeployToolkitMain.ps1”>
<![LOG[[Asynchronous] :: Installation action not taken within a reasonable amount of time.]LOG]!><time=“09:33:36.532-300” date=“02-13-2021” component=“Show-InstallationPrompt” context=“NT AUTHORITY\SYSTEM” type=“1” thread=“8280” file=“AppDeployToolkitMain.ps1”>

Which toolkit version are you using?

3.8.3.

Thank you,
JimO