Vagrant and VirtualBox are not working on Win10 home

-1

OS: Windows 10 Home (Hyper-V is not installed)

OS Version: 10.0.19041 Build 19041

Vagrant Version: 2.2.14

VirtualBox Version: 6.1.18

My Vagrantfile:

Vagrant.configure("2") do |config|
  config.vm.box = "centos-7"
end

failed to vagrant up

I upgraded my Windows 10 to the last update yesterday and now, when I launch vagrant up command, I get this error :

λ vagrant up
Bringing machine 'dt' up with 'virtualbox' provider...
==> dt: Checking if box 'centos/7' version '2004.01' is up to date...
==> dt: Clearing any previously set forwarded ports...
==> dt: Clearing any previously set network interfaces...
==> dt: Preparing network interfaces based on configuration...
    dt: Adapter 1: nat
    dt: Adapter 2: hostonly
==> dt: Forwarding ports...
    dt: 22 (guest) => 2222 (host) (adapter 1)
==> dt: Running 'pre-boot' VM customizations...
==> dt: Booting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "efc7e234-7d55-47f9-aba2-141ce77afd7e", "--type", "headless"]

Stderr: VBoxManage.exe: error: The configuration constructor in main failed due to a COM error. Check the release log of the VM for further details. (VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR)
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole

And more VirtualBox log:

00:00:00.416289 VirtualBox VM 6.1.18 r142142 win.amd64 (Jan  7 2021 15:32:19) release log
00:00:00.416295 Log opened 2021-02-05T03:47:42.036051600Z
00:00:00.416296 Build Type: release
00:00:00.416300 OS Product: Windows 10
00:00:00.416302 OS Release: 10.0.19041
00:00:00.416302 OS Service Pack: 
00:00:16.506657 Firmware type: UEFI
00:00:16.507126 Secure Boot: VERR_PRIVILEGE_NOT_HELD
00:00:16.507147 Host RAM: 16271MB (15.8GB) total, 8064MB (7.8GB) available
00:00:16.507151 Executable: E:\VirtualBox\VBoxHeadless.exe
00:00:16.507152 Process ID: 10364
00:00:16.507152 Package type: WINDOWS_64BITS_GENERIC
00:00:16.510606 Installed Extension Packs:
00:00:16.510645   None installed!
00:00:16.511543 Console: Machine state changed to 'Starting'
00:00:16.750459 SUP: seg #0: R   0x00000000 LB 0x00001000
00:00:16.750471 SUP: seg #1: R X 0x00001000 LB 0x0010a000
00:00:16.750476 SUP: seg #2: R   0x0010b000 LB 0x0004a000
00:00:16.750479 SUP: seg #3: RW  0x00155000 LB 0x00013000
00:00:16.750483 SUP: seg #4: R   0x00168000 LB 0x0000e000
00:00:16.750486 SUP: seg #5: RW  0x00176000 LB 0x00003000
00:00:16.750490 SUP: seg #6: R   0x00179000 LB 0x0000b000
00:00:16.750493 SUP: seg #7: RWX 0x00184000 LB 0x00002000
00:00:16.750496 SUP: seg #8: R   0x00186000 LB 0x00007000
00:00:16.751805 SUP: Loaded VMMR0.r0 (E:\VirtualBox\VMMR0.r0) at 0xXXXXXXXXXXXXXXXX - ModuleInit at XXXXXXXXXXXXXXXX and ModuleTerm at XXXXXXXXXXXXXXXX using the native ring-0 loader
00:00:16.751824 SUP: VMMR0EntryEx located at XXXXXXXXXXXXXXXX and VMMR0EntryFast at XXXXXXXXXXXXXXXX
00:00:16.751831 SUP: windbg> .reload /f E:\VirtualBox\VMMR0.r0=0xXXXXXXXXXXXXXXXX
00:00:16.753343 Guest OS type: 'RedHat_64'
00:00:16.754261 fHMForced=true - No raw-mode support in this build!
00:00:16.756936 File system of 'E:\VirtualBox VMs\BaifuProject_dt_1612494005078_13977\Snapshots' (snapshots) is unknown
00:00:16.756945 File system of 'E:\VirtualBox VMs\BaifuProject_dt_1612494005078_13977\centos-7-1-1.x86_64.vmdk' is ntfs
00:00:32.889142 supR3HardenedErrorV: supR3HardenedScreenImage/LdrLoadDll: rc=VERR_LDRVI_NOT_SIGNED fImage=1 fProtect=0x0 fAccess=0x0 \Device\HarddiskVolume7\Windows\System32\NetSetupShim.dll: Not signed.
00:00:32.889339 supR3HardenedErrorV: supR3HardenedMonitor_LdrLoadDll: rejecting 'C:\Windows\System32\NetSetupShim.dll' (C:\Windows\System32\NetSetupShim.dll): rcNt=0xc0000190
00:00:32.889517 NetworkAttachmentType_HostOnly: Failed to get NetCfg, hrc=ERROR_TRUST_FAILURE 0x800706FE (0x800706fe)
00:00:32.889581 AssertLogRel F:\tinderbox\win-6.1\src\VBox\Main\src-client\ConsoleImpl2.cpp(5644) int __cdecl Console::i_configNetwork(const char *,unsigned int,unsigned int,struct INetworkAdapter *,struct CFGMNODE *,struct CFGMNODE *,struct CFGMNODE *,bool,bool): !FAILED(hrc)
00:00:32.889585 hrc=ERROR_TRUST_FAILURE 0x800706FE
00:00:32.889962 Constructor failed with rc=VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR pfnCFGMConstructor=00007ffef5351e60
00:00:33.066028 VMSetError: F:\tinderbox\win-6.1\src\VBox\VMM\VMMR3\VM.cpp(318) int __cdecl VMR3Create(unsigned int,const struct VMM2USERMETHODS *,void (__cdecl *)(struct UVM *,void *,int,const char *,unsigned int,const char *,const char *,char *),void *,int (__cdecl *)(struct UVM *,struct VM *,void *),void *,struct VM **,struct UVM **); rc=VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR
00:00:33.066034 VMSetError: The configuration constructor in main failed due to a COM error. Check the release log of the VM for further details.
00:00:33.066482 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={The configuration constructor in main failed due to a COM error. Check the release log of the VM for further details. (VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR)}, preserve=false aResultDetail=-6400
00:00:33.066729 Console: Machine state changed to 'PoweredOff'
00:00:33.096550 Power up failed (vrc=VERR_MAIN_CONFIG_CONSTRUCTOR_COM_ERROR, rc=E_FAIL (0X80004005))

Any ideas? Thanks~~

vagrant
virtualbox
asked on Stack Overflow Feb 5, 2021 by Lvxiuquan

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0