Search code examples
windowscommand-lineshutdown

How to remove windows shutdown alert


I'm using the command line shutdown -s -t xxx to set a timer to shutdown but when its about 2 or 5min away he displays a giant blue modal alert telling me windows will shutdown.

Is it possible to remove this alert or set it to 100ms before shutdown?


Solution

  • for example

    timeout -t xxx -nobreak && shutdown -s -t 00