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