{"id":616,"date":"2016-01-27T22:24:14","date_gmt":"2016-01-27T22:24:14","guid":{"rendered":"http:\/\/blog.paranoidprofessor.com\/?p=616"},"modified":"2016-03-29T19:45:47","modified_gmt":"2016-03-29T19:45:47","slug":"cant-shutdown-my-windows-pc","status":"publish","type":"post","link":"https:\/\/blog.paranoidprofessor.com\/index.php\/2016\/01\/27\/cant-shutdown-my-windows-pc\/","title":{"rendered":"can&#8217;t shutdown my \u00a7$%&#038;\/#+ Windows PC"},"content":{"rendered":"<p>Most people would likely say that their work computer isn&#8217;t fast enough, but then which computer is.\u00a0 I am not actually unsatisfied, my laptop is good enough for compiling, using secure shell, mail and word processing. The company actually does have a pretty good VPN setup to allow me to work remotely.<\/p>\n<p>Despite the fact that everything works well, I do have one very tiny little complaint.<\/p>\n<p>The only problem is that I cannot properly shutdown when I am working remotely, it just hangs.\u00a0 I have tried to shut it down by briefly pressing the power button sometimes that helps, sometimes it causes the computer to hibernate.<\/p>\n<p>It is a bit difficult to get this corrected by IT as it only happens when I am connecting remotely.\u00a0 When I am at the office and IT looks at it, it never misbehaves.\u00a0 I had someone from IT look into this and they cannot find any reason why my laptop cannot shutdown.<\/p>\n<p>I used to simply power the computer off without shutting down at all.<\/p>\n<p><strong>Command line to the rescue<\/strong><\/p>\n<p>Windows actually provides the <strong><em>shutdown.exe<\/em><\/strong> command which actually works much better than selecting shutdown from the start button.<\/p>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td width=\"20%\">option<\/td>\n<td align=\"left\" width=\"80%\">description<\/td>\n<\/tr>\n<tr>\n<td width=\"20%\">\/s<\/td>\n<td align=\"left\" width=\"80%\">Schedules a shutdown of the computer after a few minutes.<\/td>\n<\/tr>\n<tr>\n<td width=\"20%\">\/r<\/td>\n<td align=\"left\" width=\"80%\">Shuts down the computer and then does a restart.<\/td>\n<\/tr>\n<tr>\n<td width=\"20%\">\/a<\/td>\n<td align=\"left\" width=\"80%\">Aborts the current scheduled shutdown<\/td>\n<\/tr>\n<tr>\n<td width=\"20%\">\/f<\/td>\n<td align=\"left\" width=\"80%\">Force applications to stop without informing the user.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>It isn&#8217;t the shutdown command itself that is so powerful but the force option.\u00a0 I suspect that the software that was used to build the vpn is the problem despite having terminated the connection.<\/p>\n<p>I don&#8217;t want to let windows make all of the decisions, I close all of the applications that I am using but now I can call shutdown to gracefully power down.<\/p>\n<p style=\"text-align: center;\"><strong>shutdown.exe \/s \/f <\/strong><\/p>\n<p style=\"text-align: center;\">\n","protected":false},"excerpt":{"rendered":"<p>Most people would likely say that their work computer isn&#8217;t fast enough, but then which computer is.\u00a0 I am not actually unsatisfied, my laptop is good enough for compiling, using secure shell, mail and word processing. The company actually does &hellip; <a href=\"https:\/\/blog.paranoidprofessor.com\/index.php\/2016\/01\/27\/cant-shutdown-my-windows-pc\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[26,71],"_links":{"self":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts\/616"}],"collection":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/comments?post=616"}],"version-history":[{"count":5,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts\/616\/revisions"}],"predecessor-version":[{"id":819,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/posts\/616\/revisions\/819"}],"wp:attachment":[{"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/media?parent=616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/categories?post=616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.paranoidprofessor.com\/index.php\/wp-json\/wp\/v2\/tags?post=616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}