I am using PSADT to warn users of an upcoming Windows 10 upgrade. Basically all this specific deployment does is call wscript popup and display a message on the user’s screens. I have set the timeout of the message for 15 minutes, but the PC’s don’t always honor that timeout and the message will stay on the screen indefinitely or until the user clicks ok.
Normally this would be ok, but if the dialog box is still up on the screen when the deadline has passed to upgrade the PC, it hangs until the dialog box is closed.
Is there a way to set a maximum runtime for deploy-application.exe within the script? I utilize SCCM to re-run the advertisement every 6 hours for 2 weeks, and then every 2 hours when we get within 48 hours of the deadline. However, on some workstations I remote into, I see 5 to 7 dialog windows because previous runs have not closed.
Any direction would be much appreciated.