auto turn off windows 10 timer code example Example: shutdown in 10 minutes windows cmd shutdown –s –t <seconds>