shutdown automatically windows 10 code example Example: shutdown timer windows 10 shutdown -s -t SECONDS