{"id":627,"date":"2015-05-22T08:08:22","date_gmt":"2015-05-22T13:08:22","guid":{"rendered":"http:\/\/www.thedarktimes.us\/wordpress\/?p=627"},"modified":"2015-05-22T08:08:22","modified_gmt":"2015-05-22T13:08:22","slug":"how-to-restart-a-remote-server-using-command-prompt","status":"publish","type":"post","link":"https:\/\/www.thedarktimes.us\/wordpress\/windows-server-2012\/how-to-restart-a-remote-server-using-command-prompt\/%20","title":{"rendered":"How to: Restart a Remote Server Using Command Prompt"},"content":{"rendered":"<p>Launch command prompt (as administrator) and run the below command. User should have administrator permissions on the server.<\/p>\n<div id=\"codeSnippetWrapper\">\n<div id=\"codeSnippet\">\n<pre><span id=\"lnum1\">   1:<\/span> SHUTDOWN \/r \/f \/t 0 \/m \\\\&lt;ServerName&gt; \/c \"&lt;Description&gt;\"<\/pre>\n<\/div>\n<\/div>\n<p>\/r\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Shutdown and restart the computer.<\/p>\n<p>\/f\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Force running applications to close without forewarning users.<\/p>\n<p>\/t xxx\u00a0\u00a0\u00a0\u00a0 Set the time-out period before shutdown to xxx seconds.<br \/>\nThe valid range is 0-600, with a default of 30.<\/p>\n<p>\/m \\\\computer Specify the target computer.<\/p>\n<p>\/c &#8220;comment&#8221; Comment on the reason for the restart or shutdown.<\/p>\n<p>If there aren\u2019t any issues the system will be restarted<\/p>\n<div id=\"codeSnippetWrapper\">\n<div id=\"codeSnippet\">\n<pre><span id=\"lnum1\">   1:<\/span> C:\\Windows\\system32&gt;;SHUTDOWN \/r \/f \/t 0 \/m \\\\xyz \/c \"Hotfix Installation\"<\/pre>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Launch command prompt (as administrator) and run the below command. User should have administrator permissions on the server. 1: SHUTDOWN \/r \/f \/t 0 \/m \\\\&lt;ServerName&gt; \/c &#8220;&lt;Description&gt;&#8221; \/r\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Shutdown and restart the computer. \/f\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Force running applications to close without forewarning users. \/t xxx\u00a0\u00a0\u00a0\u00a0 Set the time-out period before shutdown to xxx seconds. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-627","post","type-post","status-publish","format-standard","hentry","category-windows-server-2012"],"_links":{"self":[{"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/posts\/627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/comments?post=627"}],"version-history":[{"count":1,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/posts\/627\/revisions"}],"predecessor-version":[{"id":628,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/posts\/627\/revisions\/628"}],"wp:attachment":[{"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/media?parent=627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/categories?post=627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thedarktimes.us\/wordpress\/wp-json\/wp\/v2\/tags?post=627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}