{"id":236,"date":"2020-02-26T14:45:45","date_gmt":"2020-02-26T12:45:45","guid":{"rendered":"https:\/\/binaryvikings.io\/?p=236"},"modified":"2020-03-02T21:30:04","modified_gmt":"2020-03-02T19:30:04","slug":"virtualbox-failed-to-open-a-session-for-the-virtual-machine","status":"publish","type":"post","link":"https:\/\/binaryvikings.io\/?p=236","title":{"rendered":"VirtualBox (failed to open a session for the virtual machine)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-240\" src=\"https:\/\/binaryvikings.io\/wp-content\/uploads\/2020\/02\/quickguide.png\" alt=\"\" width=\"865\" height=\"242\" srcset=\"https:\/\/binaryvikings.io\/wp-content\/uploads\/2020\/02\/quickguide.png 865w, https:\/\/binaryvikings.io\/wp-content\/uploads\/2020\/02\/quickguide-300x84.png 300w, https:\/\/binaryvikings.io\/wp-content\/uploads\/2020\/02\/quickguide-768x215.png 768w\" sizes=\"auto, (max-width: 865px) 100vw, 865px\" \/><\/p>\n<p>I was trying to boot up a VM on VirtualBox, testing Ubuntu 19.02 but was faced with the error below.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-237\" src=\"https:\/\/binaryvikings.io\/wp-content\/uploads\/2020\/02\/virtualboxerror.png\" alt=\"\" width=\"245\" height=\"334\" srcset=\"https:\/\/binaryvikings.io\/wp-content\/uploads\/2020\/02\/virtualboxerror.png 245w, https:\/\/binaryvikings.io\/wp-content\/uploads\/2020\/02\/virtualboxerror-220x300.png 220w\" sizes=\"auto, (max-width: 245px) 100vw, 245px\" \/><\/p>\n<p>The VirtualBox error reads (in clear search-able text):<\/p>\n<blockquote>\n<p style=\"text-align: left;\">Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d\/87) (VERR_NEM_VM_CREATE_FAILED).<\/p>\n<p style=\"text-align: left;\">Result Code:<br \/>\nE_FAIL (0x80004005)<br \/>\nComponent:<br \/>\nConsoleWrap<br \/>\nInterface:<br \/>\nIConsole {872da645-4a9b-1727-bee2-5585105b9eed}<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>The issue has got to do with Hyper-V (Microsoft&#8217;s version of HyperVisor) being installed\/enabled on your system. You can either remove it in Programs and Files, or turn it off in command line. I would strongly recommend\u00a0<em>not<\/em> uninstalling, so here is the less tedious way through command line:<\/p>\n<ol>\n<li>Open <strong>cmd<\/strong> with <strong>administrator rights<\/strong><\/li>\n<li>Type in\u00a0<strong>bcdedit \/set hypervisorlaunchtype off<\/strong><\/li>\n<li>Restart your computer<\/li>\n<\/ol>\n<p>This should solve your issue when booting up.<\/p>\n<p>&nbsp;<\/p>\n<p>Hope it helped!<\/p>\n<p>Over&#8217;n&#8217;out,<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was trying to boot up a VM on VirtualBox, testing Ubuntu 19.02 but was faced with the error below. The VirtualBox error reads (in<\/p>\n","protected":false},"author":1,"featured_media":243,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[12,13,17],"tags":[],"class_list":["post-236","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","category-support","category-virtual-machines"],"_links":{"self":[{"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236"}],"version-history":[{"count":5,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions\/275"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=\/wp\/v2\/media\/243"}],"wp:attachment":[{"href":"https:\/\/binaryvikings.io\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/binaryvikings.io\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}