{"componentChunkName":"component---src-templates-post-template-js","path":"/note-bootpc-without-open-en","result":{"data":{"markdownRemark":{"id":"848303ea-6bc5-5093-b2a3-7b78f0120603","html":"<blockquote>\n<p>This page has been machine-translated from the <a href=\"/note-bootpc-without-open\">original page</a>.</p>\n</blockquote>\n<p>This time, I will summarize <strong>the BIOS setting that lets you automatically power on a shut down PC when the AC adapter is connected</strong>.</p>\n<p>When I work at home, I use a laptop stand like the one on the left in the image to save space.</p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 500px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/e2836f272bfe12767a0236ae7caed19c/41099/image0.jpg\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 75%; position: relative; bottom: 0; left: 0; background-image: url('data:image/jpeg;base64,/9j/2wBDABALDA4MChAODQ4SERATGCgaGBYWGDEjJR0oOjM9PDkzODdASFxOQERXRTc4UG1RV19iZ2hnPk1xeXBkeFxlZ2P/2wBDARESEhgVGC8aGi9jQjhCY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2NjY2P/wgARCAAPABQDASIAAhEBAxEB/8QAFwAAAwEAAAAAAAAAAAAAAAAAAAMFAv/EABYBAQEBAAAAAAAAAAAAAAAAAAEAAv/aAAwDAQACEAMQAAABbuOnDcJ5P//EABsQAAICAwEAAAAAAAAAAAAAAAACARIDERMx/9oACAEBAAEFAnyKWTUeNM2OjH//xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAEDAQE/AT//xAAUEQEAAAAAAAAAAAAAAAAAAAAQ/9oACAECAQE/AT//xAAaEAACAgMAAAAAAAAAAAAAAAAAEQEQAiEx/9oACAEBAAY/AkajGm66f//EABoQAQADAAMAAAAAAAAAAAAAAAEAESFBUYH/2gAIAQEAAT8hBerGopkMzCVdBRvjqBmP3Z//2gAMAwEAAgADAAAAEJ8//8QAFhEAAwAAAAAAAAAAAAAAAAAAARAx/9oACAEDAQE/EIV//8QAFREBAQAAAAAAAAAAAAAAAAAAERD/2gAIAQIBAT8QGf/EAB0QAQACAgIDAAAAAAAAAAAAAAEAESFRMWFBcYH/2gAIAQEAAT8QUrVwJQ53qJDpCcfWEHwWpfuZUba55hYODcFedl3daOp//9k='); background-size: cover; display: block;\"\n  ></span>\n  <picture>\n          <source\n              srcset=\"/static/e2836f272bfe12767a0236ae7caed19c/8ac56/image0.webp 240w,\n/static/e2836f272bfe12767a0236ae7caed19c/d3be9/image0.webp 480w,\n/static/e2836f272bfe12767a0236ae7caed19c/b0a15/image0.webp 500w\"\n              sizes=\"(max-width: 500px) 100vw, 500px\"\n              type=\"image/webp\"\n            />\n          <source\n            srcset=\"/static/e2836f272bfe12767a0236ae7caed19c/09b79/image0.jpg 240w,\n/static/e2836f272bfe12767a0236ae7caed19c/7cc5e/image0.jpg 480w,\n/static/e2836f272bfe12767a0236ae7caed19c/41099/image0.jpg 500w\"\n            sizes=\"(max-width: 500px) 100vw, 500px\"\n            type=\"image/jpeg\"\n          />\n          <img\n            class=\"gatsby-resp-image-image\"\n            src=\"/static/e2836f272bfe12767a0236ae7caed19c/41099/image0.jpg\"\n            alt=\"img\"\n            title=\"img\"\n            loading=\"lazy\"\n            style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n          />\n        </picture>\n  </a>\n    </span></p>\n<p>However, as shown in the image, <strong>I use the PC with the lid closed all the time, so opening the PC just to power it on is very cumbersome</strong>.<br>\nTo solve this, <strong>I changed the BIOS setting so that the laptop powers on automatically when the AC adapter is connected</strong>.</p>\n<h2 id=\"how-to-configure-the-bios\" style=\"position:relative;\"><a href=\"#how-to-configure-the-bios\" aria-label=\"how to configure the bios permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>How to Configure the BIOS</h2>\n<p>The setup is very simple.</p>\n<p>Once you have started the BIOS (the method differs depending on the PC), look for the setting item called <code class=\"language-text\">Restore after AC Power Loss</code>.</p>\n<p>It may differ depending on the PC, but it is probably in a location like the following.</p>\n<p><code class=\"language-text\">Setting > Advanced > Power Management Setup > Restore after AC Power Loss</code></p>\n<p>Once you find that setting item, <strong>change the setting value to <code class=\"language-text\">Enable</code></strong>.<br>\nThis will make the <strong>PC start automatically when you connect the AC adapter while the PC is shut down</strong>.</p>\n<p>By the way, <strong>even if you shut down the PC while the AC adapter is connected, it will not restart on its own</strong>, so you can use it without worry.<br>\n<em>If you want to start it again, just unplug and replug the AC adapter.</em></p>\n<h2 id=\"this-does-not-work-on-surface\" style=\"position:relative;\"><a href=\"#this-does-not-work-on-surface\" aria-label=\"this does not work on surface permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>This Does Not Work on Surface</h2>\n<p>That said, some PCs cannot use the setting above.</p>\n<p>I could not enable the automatic startup setting above on the Surface Laptop I had on hand, and in the end I gave up.<br>\nThe reason is that although Surface uses a UEFI called SurfaceUEFI, the setting above cannot be changed from the UEFI screen.</p>\n<p>Also, even if you enable <code class=\"language-text\">automatic power-on after power loss</code> using the method described later, it seems the PC still does not start when you unplug and replug the power because of the hardware power management behavior.</p>\n<p>The following page also describes this in detail, but just like the people in the comments, I could not boot the PC even after enabling <code class=\"language-text\">automatic power-on after power loss</code>.</p>\n<p><a href=\"https://social.technet.microsoft.com/Forums/ja-JP/82ebce30-d76d-46c0-8ca6-26f10fd415f1/surface-pro-12398-uefi1239838917304461228912300automatic-poweron-after-power?forum=win10itprogeneralJP\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">About the Surface Pro UEFI item “automatic power-on after power loss”</a></p>\n<h2 id=\"how-to-change-surfaceuefi-settings\" style=\"position:relative;\"><a href=\"#how-to-change-surfaceuefi-settings\" aria-label=\"how to change surfaceuefi settings permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>How to Change SurfaceUEFI Settings</h2>\n<p>As a result, automatic startup could not actually be enabled on Surface, but since I went to the trouble, I will summarize how to change the SurfaceUEFI configuration.</p>\n<p>You can change SurfaceUEFI settings by using <strong>Microsoft Surface UEFI Manager</strong>.</p>\n<p><a href=\"https://docs.microsoft.com/ja-jp/surface/use-system-center-configuration-manager-to-manage-devices-with-semm\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Manage devices with SEMM (Surface) using Microsoft Endpoint Configuration Manager - Surface | Microsoft Docs</a></p>\n<p><code class=\"language-text\">Microsoft Surface UEFI Manager</code> can be downloaded from the documentation above.<br>\nFor the certificate, I used a self-signed <code class=\"language-text\">.pfx</code> certificate file created with OpenSSL in WSL.</p>\n<p>For creating the self-signed certificate, I referred to the following article.<br>\n<a href=\"https://qiita.com/ttoori-ttoori/items/f756a1baabda6359995d\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">How I created a self-signed certificate (pfx file) with openssl - Qiita</a></p>\n<p>For how to import the self-signed certificate you created into the Windows certificate store, I referred to the following article.<br>\n<a href=\"https://docs.lansa.com/14/ja/lansa018/content/lansa/webserviceseng01_0380.htm\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Windows configuration for trusting a self-signed certificate</a></p>\n<h2 id=\"summary\" style=\"position:relative;\"><a href=\"#summary\" aria-label=\"summary permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Summary</h2>\n<p>I could not enable the setting on Surface, but I could enable it on the ThinkPad I use as my main machine, and it works comfortably.</p>\n<p>It is very convenient, so if you use a laptop while keeping it closed, please give it a try.</p>","fields":{"slug":"/note-bootpc-without-open-en","tagSlugs":["/tag/notes/","/tag/english/"]},"frontmatter":{"date":"2021-01-06","description":"This post summarizes the BIOS setting that lets you automatically power on a shut down PC when the AC adapter is connected.","tags":["Notes","English"],"title":"How to Power On a Laptop by Connecting the AC Adapter: A Useful Automatic Startup Setting for Using It While Closed","socialImage":{"publicURL":"/static/dc4d8b7f8795f3c3d3489d9957d155f2/no-image.png"}}}},"pageContext":{"slug":"/note-bootpc-without-open-en"}},"staticQueryHashes":["251939775","401334301","825871152"]}