Is it possible to avoid the message that displays that the system will shut down in ten minutes if using the following command?
shutdown -s -t 3600
As an alternative, you could use an external timer and a force shutdown at the correct time. For example:
Note that a caveat of this approach is that the
If you want to hide the command window as well, there are many ways to do so.
I personally favour a PowerShell-based command that hides itself (run from a
PowerShell can be configured for remoting, too. And it might be preferable to use the native
You can also use the Task Scheduler utility.
Start Menu -> Search "Task Scheduler"
Action -> Create Basic Task
Choose the time and frequency for which you want the event to occur.
Once you get to the Action section, select "Start a Program" and choose:
and give the appropriate parameters for the arguments:
/s /f /t 0
These argmuments break down as follows: /s shutdown /f force the shutdown /t 0 t for time, 0 seconds
Click finish and you're good to go.
You will have to turn off the automatic logoff command task..
If you want to cancel the shutdown, use this command, use
Shutdown tooltips won't appear on that computer anymore and the icon will be hidden.