I just found this project a couple of months ago and I think it's great work. I am still seeing the issue with the latest 3.6 builds from 3/4. I am using Altiris Notification Server and this is one of the last things to work out. Manually the prompt is there. It's also there from a Admin cmd box but it does not appear when pushed from Altiris.
Command-Line used => Deploy-Application.exe -AllowRebootPassThru -TerminalServerMode -DeploymentType Install
Script Snippet => Show-InstallationRestartPrompt -Countdownseconds 600 -CountdownNoHideSeconds 60
Error from log file.
<![LOG[[Post-Installation] :: Invoking Show-InstallationRestartPrompt asynchronously with a [600] second countdown...]LOG]!><time="14:38:16.386-420" date="03-09-2015" component="Show-InstallationRestartPrompt" context="NT AUTHORITY\SYSTEM" type="1" thread="3" file="Deploy-Application.ps1">
<![LOG[[Post-Installation] :: Change terminal server into user execute mode...]LOG]!><time="14:38:16.461-420" date="03-09-2015" component="Disable-TerminalServerInstallMode" context="NT AUTHORITY\SYSTEM" type="1" thread="3" file="Deploy-Application.ps1">
<![LOG[[Post-Installation] :: Failed to change terminal server into user execute mode.
These test machines are virtual boxes so I expect the warning about RDP sessions. Note, I have seen the same issue on physical machine. No restart prompt.
Is there anything I should be looking for to help track this down.
Thanks.
Command-Line used => Deploy-Application.exe -AllowRebootPassThru -TerminalServerMode -DeploymentType Install
Script Snippet => Show-InstallationRestartPrompt -Countdownseconds 600 -CountdownNoHideSeconds 60
Error from log file.
<![LOG[[Post-Installation] :: Invoking Show-InstallationRestartPrompt asynchronously with a [600] second countdown...]LOG]!><time="14:38:16.386-420" date="03-09-2015" component="Show-InstallationRestartPrompt" context="NT AUTHORITY\SYSTEM" type="1" thread="3" file="Deploy-Application.ps1">
<![LOG[[Post-Installation] :: Change terminal server into user execute mode...]LOG]!><time="14:38:16.461-420" date="03-09-2015" component="Disable-TerminalServerInstallMode" context="NT AUTHORITY\SYSTEM" type="1" thread="3" file="Deploy-Application.ps1">
<![LOG[[Post-Installation] :: Failed to change terminal server into user execute mode.
These test machines are virtual boxes so I expect the warning about RDP sessions. Note, I have seen the same issue on physical machine. No restart prompt.
Is there anything I should be looking for to help track this down.
Thanks.