windows 10 set timer to shut down code example Example: shutdown timer windows 10 shutdown -s -t SECONDS