"vagrant up" and VirtualBox Crashes Windows 10


I'm trying to get a vagrant box for ubuntu and running on my windows machine, and every time I type in "vagrant up" I get a BSOD. I've turned off Hyper-V in windows as this was the suggested fix. The issue is still there.

The error code I see in the VirtualBox logs is as follows:

00:00:05.633668          ERROR [COM]: aRC=E_ACCESSDENIED (0x80070005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aCompo
nent={MediumWrap} aText={The object is not ready}, preserve=false aResultDetail=0

The file from a crash analysis is linked as follows:

Pastebin link to crash analysis

I'm currently running Virtualbox 5.2.2 and vagrant 2.0.1 on a Windows 10 machine.

Does anyone know how to work around this?


asked on Super User Dec 12, 2017 by PapaJer • edited Dec 13, 2017 by PapaJer

1 Answer


This is because of the Virtualization Based Security feature that Windows has from 1607 onwards.


Check msinfo32.exe (System Information) and scroll to the bottom of your system summary. If you see "A hypervisor has been detected..." you're in secure mode and can't run other virtual environments without crashing windows.

Use an admin cli and type the following:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v "EnableVirtualizationBasedSecurity" /t REG_DWORD /d 0 /f

Restart the machine after this and check the system information again. You should see something like the following image:

What you should see if it works

answered on Super User Jan 9, 2018 by PapaJer

User contributions licensed under CC BY-SA 3.0