{"id":115,"date":"2018-02-10T10:45:57","date_gmt":"2018-02-10T10:45:57","guid":{"rendered":"http:\/\/basicwebsitesolutions.com\/blog\/?p=115"},"modified":"2018-02-10T10:45:57","modified_gmt":"2018-02-10T10:45:57","slug":"windows-how-to-restart-or-shutdown-your-computer-in-command-line-or-dos-mode","status":"publish","type":"post","link":"https:\/\/basicwebsitesolutions.com\/blog\/2018\/02\/10\/windows-how-to-restart-or-shutdown-your-computer-in-command-line-or-dos-mode\/","title":{"rendered":"Windows : How to restart or shutdown your computer in command line or DOS mode"},"content":{"rendered":"<p>I know what you&#8217;re thinking, how come you need to know this thing if there is a shutdown or restart button.\u00a0 Well, extra wisdom is better than nothing. I had a case where the shutdown and restart button is missing. My first guess is that the pc has been infected with a virus.<\/p>\n<p>But just in case you encounter this scenario and you have the run command, you can type the following line<\/p>\n<p>To shut down your computer, type:\u00a0<em>shutdown \/s<\/em><\/p>\n<p>To restart your compute,r type:\u00a0<em>shutdown \/r<\/em><\/p>\n<p>To log off your computer, type:\u00a0<em>shutdown \/l<\/em><\/p>\n<p>For a complete list of options, type:\u00a0<em>shutdown \/?<\/em><\/p>\n<p>After typing your chosen option, press Enter. The computer will execute your desired task.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-117 size-full\" src=\"http:\/\/basicwebsitesolutions.com\/blog\/wp-content\/uploads\/2018\/02\/Untitled.png\" alt=\"\" width=\"979\" height=\"512\" srcset=\"https:\/\/basicwebsitesolutions.com\/blog\/wp-content\/uploads\/2018\/02\/Untitled.png 979w, https:\/\/basicwebsitesolutions.com\/blog\/wp-content\/uploads\/2018\/02\/Untitled-300x157.png 300w, https:\/\/basicwebsitesolutions.com\/blog\/wp-content\/uploads\/2018\/02\/Untitled-768x402.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I know what you&#8217;re thinking, how come you need to know this thing if there is a shutdown or restart button.\u00a0 Well, extra wisdom is better than nothing. I had a case where the shutdown and restart button is missing. My first guess is that the pc has been infected with a virus. But just &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/basicwebsitesolutions.com\/blog\/2018\/02\/10\/windows-how-to-restart-or-shutdown-your-computer-in-command-line-or-dos-mode\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Windows : How to restart or shutdown your computer in command line or DOS mode&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,2],"tags":[],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-day-to-day-life","category-windows-and-beyond"],"_links":{"self":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":1,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":118,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/posts\/115\/revisions\/118"}],"wp:attachment":[{"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/basicwebsitesolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}