{"id":273,"date":"2014-09-20T09:33:32","date_gmt":"2014-09-20T17:33:32","guid":{"rendered":"https:\/\/www.myzips.com\/blog\/windows-xp-shutdown-shortcuts\/"},"modified":"2015-03-31T15:07:48","modified_gmt":"2015-03-31T23:07:48","slug":"windows-xp-shutdown-shortcuts","status":"publish","type":"post","link":"https:\/\/www.myzips.com\/blog\/windows-xp-shutdown-shortcuts\/","title":{"rendered":"Windows XP Shutdown Shortcuts"},"content":{"rendered":"<p>Are scheduled defragmentation sessions, downloads, or file transfers keeping you up because you&#8217;d like to turn off your computer when they&#8217;re done?<br \/>\n<!--adsense--><br \/>\nAre you frustrated when you click Shut Down on your Windows machine but nothing happens? To have better control of your shutdown procedures, I recommend using the command line. This will allow you to have the computer turn itself off at a specified time, to force shutdowns of Windows no matter which program is &#8220;hanging&#8221;, restart your computer, log off, and even potentially shut down or restart a network computer for which you have administrative rights. <\/p>\n<p>You can enter this command by clicking Start > Run. Type the command &#8220;shutdown&#8221; without the quotes and modify it with any of the following parameters or arguments:<\/p>\n<ul>\n<li>shutdown -i will display a simple graphical interface for shutting down, logging off, or restarting network computers.\n<\/li>\n<li>shutdown -l will log your computer off\n<\/li>\n<li>shutdown -s the most common variant of this command, this simply shuts down your computer the usual way\n<\/li>\n<li>shutdown -r shut down and restart the computer shutdown -a will abort a shut down procedure (if there is a still a countdown running to the shutdown; this command *cannot* be used to halt a shutdown in progress)\n<\/li>\n<li>shutdown -f begins a forced shutdown, kills hanging tasks as soon as the command is issued\n<\/li>\n<li>shutdown -t ?? replace the question marks with any number of seconds, up to an 8-digit integer (this means you can have your computer shutdown from 0 seconds up to roughly 1157 days, or 3 years and 2 months in the future.)\n<\/li>\n<li>shutdown -c if you have scheduled a shutdown, logoff, or restart, you may use 127 characters or less to inform the user about the reason for the shutdown\n<\/li>\n<\/ul>\n<p>These parameters can be applied as a string. For example, if I wished to shut down my computer 4 hours and 30 minutes from now, and to ensure that it did not hang and thus stay on until morning, I would click Start, then Run, then I&#8217;d enter &#8220;shutdown -s -f -t 16200&#8221; without the quotes. Likewise, if I got up during the night and decided that I should keep the computer on after all, I&#8217;d enter the command &#8220;shutdown -a&#8221; while the timer was still on. The -t ?? parameter is very useful, and can be applied in conjunction with almost any other parameter. <\/p>\n<p>Please note that arguments for the shutdown command need to be issued in this order: -i -l -s -r -a -f -t ?? -c This means that if you wanted to combine a comment code with a forced restart command and a timer, you&#8217;d have to write the string in this fashion: &#8220;shutdown -r -f -t ?? -c ???&#8221; with the question marks replaced by values.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are scheduled defragmentation sessions, downloads, or file transfers keeping you up because you&#8217;d like to turn off your computer when they&#8217;re done? Are you frustrated when you click Shut Down on your Windows machine but nothing happens? To have better control of your shutdown procedures, I recommend using the command line. This will allow you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/posts\/273"}],"collection":[{"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/comments?post=273"}],"version-history":[{"count":1,"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/posts\/273\/revisions"}],"predecessor-version":[{"id":1023,"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/posts\/273\/revisions\/1023"}],"wp:attachment":[{"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/media?parent=273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/categories?post=273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myzips.com\/blog\/wp-json\/wp\/v2\/tags?post=273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}