shut down computer after 2 hours code example Example: windows shutdown command timer shutdown -s -t SECONDS