{"id":2476,"date":"2010-09-08T08:36:51","date_gmt":"2010-09-08T16:36:51","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=2476"},"modified":"2010-08-31T08:22:10","modified_gmt":"2010-08-31T16:22:10","slug":"how-to-remotely-reboot-a-windows-computer","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/how-to-remotely-reboot-a-windows-computer\/","title":{"rendered":"How to Remotely Restart a Windows Computer"},"content":{"rendered":"<p>The Shutdown command can be used to remotely restart or shutdown a Windows 2000 or later computer.<\/p>\n<p>For example, you can remotely reboot a Windows 7 computer from a Windows XP computer as long as you have administrative privileges. On the destination computer, you may need to ensure that your account has the user right &#8220;Force shutdown from a remote system.&#8221; You can run gpedit.msc at the Start, Run and then add your account to that user right, as shown in the screenshot below.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2010\/08\/force_shutdown.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-2477\" title=\"force_shutdown\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2010\/08\/force_shutdown-300x163.jpg\" alt=\"\" width=\"300\" height=\"163\" \/><\/a><\/p>\n<p>The shutdown is especially handy for Network Administrators and PC Support professionals in a domain environment. Here&#8217;s the syntax used by the shutdown utility.<\/p>\n<blockquote><p>C:\\&gt; shutdown \/?<\/p>\n<p>Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\\\computername] [-t xx] [-c &#8220;comment&#8221;] [-d up:xx:yy]<\/p>\n<p>No args\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Display this message (same as -?)<br \/>\n-i\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Display GUI interface, must be the first option<br \/>\n-l\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Log off (cannot be used with -m option)<br \/>\n-s\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Shutdown the computer<br \/>\n-r\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Shutdown and restart the computer<br \/>\n-a\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Abort a system shutdown<br \/>\n-m \\\\computername\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Remote computer to shutdown\/restart\/abort<br \/>\n-t xx\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Set timeout for shutdown to xx seconds<br \/>\n-c &#8220;comment&#8221;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Shutdown comment (maximum of 127 characters)<br \/>\n-f\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Forces running applications to close without warning<br \/>\n-d [u][p]:xx:yy\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The reason code for the shutdown<br \/>\nu is the user code<br \/>\np is a planned shutdown code<br \/>\nxx is the major reason code (positive integer less than 256)<br \/>\nyy is the minor reason code (positive integer less than 65536)<\/p><\/blockquote>\n<p>To restart a computer make sure you use -r, to shutdown the computer use -s. As mentioned earlier, the shutdown command can be used on a local or a remote computer. To restart a remote computer use -m \\\\computername. For example, if you have a computer that&#8217;s hung on a certain process and you can&#8217;t even remote desktop into it, you can try to restart the computer remotely and force running applications to close without warning by using the following command.<\/p>\n<p>shutdown -m \\\\computername -r -f<\/p>\n<p>If you want to use the GUI version, simply type <strong>shutdown -i<\/strong> to bring up the graphical interface. Here you can add, one or more computers, configure the option to Restart, Shutdown, or Loggoff, display a warning notice on the computer, configure the computer to reboot after a specific interval, and configure the option for Shutdown Event Tracker that will record the reason for the action in the Event Viewer.<\/p>\n<p><a href=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2010\/09\/shutdowngui.jpg\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-2480\" title=\"shutdowngui\" src=\"https:\/\/www.zubairalexander.com\/blog\/wp-content\/uploads\/2010\/09\/shutdowngui-208x300.jpg\" alt=\"\" width=\"208\" height=\"300\" \/><\/a><\/p>\n<p>I mentioned at the beginning of the article that you can use Shutdown utility on Windows 2000 and later computers. Microsoft&#8217;s <a href=\"http:\/\/support.microsoft.com\/kb\/317371\">KB article 317371<\/a> explains how to use Shutdown tool in Windows 2000. However, notice that the older utility used a forward slash (\/) instead of a hyphen (-) for the switches.<\/p>\n<hr \/>\n<p><span style=\"font-size: xx-small; font-family: Verdana;\">Copyright \u00a92010 Zubair Alexander. All rights reserved.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Shutdown command can be used to remotely restart or shutdown a Windows 2000 or later computer. For example, you can remotely reboot a Windows 7 computer from a Windows XP computer as long as you have administrative privileges. On the destination computer, you may need to ensure that your account has the user right [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[43,33,11,41,48,38,30,58,37,40],"tags":[],"class_list":["post-2476","post","type-post","status-publish","format-standard","hentry","category-articles","category-remote-desktop","category-tips-tricks","category-win2k-pro","category-windows-2000","category-windows-2003","category-longhorn-server","category-windows-7","category-windows-vista","category-windows-xp"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/2476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=2476"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/2476\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=2476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=2476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=2476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}