{"id":984,"date":"2021-03-22T08:59:14","date_gmt":"2021-03-22T07:59:14","guid":{"rendered":"https:\/\/nguenkam.com\/blog\/?p=984"},"modified":"2021-03-22T08:59:58","modified_gmt":"2021-03-22T07:59:58","slug":"fix-virtualbox-vm-session-was-closed-before-any-attempt-to-power-it-on","status":"publish","type":"post","link":"https:\/\/nguenkam.com\/blog\/index.php\/2021\/03\/22\/fix-virtualbox-vm-session-was-closed-before-any-attempt-to-power-it-on\/","title":{"rendered":"FIX: VirtualBox VM Session was closed before any attempt to power it on"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img src=\"https:\/\/www.wintips.org\/wp-content\/uploads\/2020\/02\/image_thumb-8.png\" alt=\"FIX VirtualBox Error &quot;VM Session was closed before any attempt to power it on&quot;\"\/><\/figure>\n\n\n\n<p>The VirtualBox error &#8220;VM Session was closed before any attempt to power it on&#8221; usually occurs when the user shuts down the host machine without shutting down the VM guest machine first.<\/p>\n\n\n\n<h5>How to FIX it ? <\/h5>\n\n\n\n<h5><span class=\"has-inline-color has-black-color\">Method 1.<\/span><span class=\"has-inline-color has-vivid-red-color\">  Discard VM&#8217;s Saved State<\/span><\/h5>\n\n\n\n<p>To do that:<\/p>\n\n\n\n<p><strong>1.<\/strong>&nbsp;Right click on the Virtual Machine and select<strong>&nbsp;Discard Saved State<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/www.wintips.org\/wp-content\/uploads\/2017\/12\/image_thumb-1.png\" alt=\"Discard Saved State Virtual Machine\"\/><\/figure>\n\n\n\n<p><strong>2.<\/strong>\u00a0Then try to\u00a0<strong>start<\/strong>\u00a0the virtual machine. If the problem persists, continue to the next method below.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h5>Method 2. <span class=\"has-inline-color has-vivid-red-color\">Uninstall and Re-Install VirtualBox<\/span><\/h5>\n\n\n\n<p>The next method to solve the &#8220;VM session session was closed before any attempt to power it on&#8221; problem in VirtualBox, is to uninstall and then to reinstall the VirtualBox application, especially if the problem appeared after a Windows Update.<\/p>\n\n\n\n<p><strong>1.<\/strong>\u00a0Go to Control Panel &amp; Uninstall VirtualBox. (Don&#8217;t worry, the VMs will stay untouched).<br><strong>2.<\/strong>\u00a0Reboot your computer.<br><strong>3.<\/strong>\u00a0Download\u00a0<a rel=\"noreferrer noopener\" href=\"https:\/\/www.virtualbox.org\/wiki\/Downloads\" target=\"_blank\">latest version of VirtualBox<\/a>.<br><strong>4.<\/strong>\u00a0Right click on the downloaded file and click &#8220;Run As Administrator&#8221;.<br><strong>5.<\/strong>\u00a0Follow the on screen prompts to install VirtualBox.<\/p>\n\n\n\n<p><strong>6.<\/strong>\u00a0After installation, reboot your computer.<br><strong>7.<\/strong>\u00a0Open VirtualBox manager and start your Virtual Machine.<br><strong>8.<\/strong>\u00a0If the Virtual Machine opens fine, then proceed to install the Guest Additions and the\u00a0<a rel=\"noreferrer noopener\" href=\"http:\/\/download.virtualbox.org\/virtualbox\/5.2.2\/Oracle_VM_VirtualBox_Extension_Pack-5.2.2-119230.vbox-extpack\" target=\"_blank\">Extension Pack<\/a>\u00a0(if needed).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/www.wintips.org\/wp-content\/uploads\/2017\/12\/image_thumb-3.png\" alt=\"fix Failed to open a session for the virtual machine - virtualbox\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h5>Reference:<\/h5>\n\n\n\n<p><a href=\"https:\/\/www.wintips.org\/\">https:\/\/www.wintips.org\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The VirtualBox error &#8220;VM Session was closed before any attempt to power it on&#8221; usually occurs when the user shuts down the host machine without shutting down the VM guest machine first. How to FIX it ? Method 1. Discard VM&#8217;s Saved State To do that: 1.&nbsp;Right click on the Virtual Machine and select&nbsp;Discard Saved [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[73],"tags":[76,257,256,78,258],"_links":{"self":[{"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/984"}],"collection":[{"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=984"}],"version-history":[{"count":2,"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/984\/revisions"}],"predecessor-version":[{"id":986,"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/984\/revisions\/986"}],"wp:attachment":[{"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nguenkam.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}