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