‎09-05-2024 11:52 PM
Today was my first day at attempting to create a deployment package, which includes four steps: uninstall two applications, check for Services removal from Registry, install one application, and reboot.
The package ran without issue, but I have a question about the Reboot option. I set my package to reboot after 5 minutes in the "Final action" field. I received a message, "You're about to be signed out. Windows will shut down in 5 minutes." However, three minutes later, I received another message, "You're about to be signed out. Windows will shut down in 2 minutes."
Is there always a 2-minute warning, regardless of what time I set for my reboot?
Solved! Go to Solution.
‎09-11-2024 05:40 PM
Dear Tragar,
The 2-minute warning is generated by Windows.
If you run a similar command as the one below, and request a timeout in 5 minutes, you will also get the 2-minute warning.
shutdown -r -t 300 -c "Your system will reboot in 5 minutes."
‎09-11-2024 05:40 PM
Dear Tragar,
The 2-minute warning is generated by Windows.
If you run a similar command as the one below, and request a timeout in 5 minutes, you will also get the 2-minute warning.
shutdown -r -t 300 -c "Your system will reboot in 5 minutes."
‎09-13-2024 01:47 PM
Good to know! Once again, much appreciated Frank!
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now