how to set a shutdown timer on windows 10 from control panel code example Example: shutdown timer windows 10 shutdown -s -t SECONDS