windows 10 shutdown code example Example 1: full shutdown windows 10 cmd shutdown /s /f /t 0 Example 2: shutdown timer windows 10 shutdown -s -t SECONDS