1. 问题场景
windows 10 系统强制更新,拦都拦不住。强制更新完后,vagrant up
就会报错,错误信息如下:
10f4.1f2c: supR3HardNtChildPurify: Done after 528 ms and 0 fixes (loop #0).
10f4.1f2c: supR3HardNtEnableThreadCreationEx:
3ab8.363c: Log file opened: 6.1.20r143896 g_hStartupLog=0000000000000008 g_uNtVerCombined=0xa04a6200
3ab8.363c: supR3HardenedVmProcessInit: uNtDllAddr=00007ffbf6250000 g_uNtVerCombined=0xa04a6200 (stack ~0000000000daf728)
3ab8.363c: ntdll.dll: timestamp 0x9bed63d6 (rc=VINF_SUCCESS)
3ab8.363c: New simple heap: #1 0000000001100000 LB 0x400000 (for 2052096 allocation)
3ab8.363c: supR3HardenedWinInitAppBin(0x0): '\Device\HarddiskVolume3\Program Files\Oracle\VirtualBox'
3ab8.363c: System32: \Device\HarddiskVolume3\Windows\System32
3ab8.363c: WinSxS: \Device\HarddiskVolume3\Windows\WinSxS
3ab8.363c: KnownDllPath: C:\WINDOWS\System32
3ab8.363c: supR3HardenedVmProcessInit: Opening vboxdrv stub...
3ab8.363c: Error opening VBoxDrvStub: STATUS_OBJECT_NAME_NOT_FOUND
3ab8.363c: supR3HardenedWinReadErrorInfoDevice: NtCreateFile -> 0xc0000034
3ab8.363c: Error -101 in supR3HardenedWinReSpawn! (enmWhat=3)
3ab8.363c: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries)
Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.
10f4.1f2c: supR3HardenedWinCheckChild: enmRequest=2 rc=-101 enmWhat=3 supR3HardenedWinReSpawn: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries)
Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.
3ab8.363c: KiUserExceptionDispatcher: 0xc0000005 (0000000000000001, 0000000000000024) @ 00007ffbf62b3416 (flags=0x0)
rax=0000000000000000 rbx=00007ffbf63ba3c0 rcx=00007ffbf63ba3c0 rdx=00000000fffffffa
rsi=0000000000000000 rdi=00007ffbf63ba000 r8 =0000000000000000 r9 =00007ffbf63ba300
r10=0000000000000000 r11=0000000000da8fc0 r12=0000000000000000 r13=0000000000f50000
r14=0000000000000001 r15=0000000000000000 P1=0000000000000000 P2=0000000000000000
rip=00007ffbf62b3416 rsp=0000000000da8e20 rbp=00000000ffffff00 ctxflags=0010005f
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b eflags=00010213 mxcrx=00001f80
P3=0000000000da86c0 P4=0000000000da8818 P5=0000000000000027 P6=0000000000000000
dr0=0000000000000000 dr1=0000000000000000 dr2=0000000000000000 dr3=0000000000000000
dr6=0000000000000000 dr7=0000000000000000 vcr=0000000000000000 dcr=0000000000000000
lbt=0000000000000000 lbf=0000000000000000 lxt=0000000000000000 lxf=0000000000000000
10f4.1f2c: Error -101 in supR3HardenedWinReSpawn! (enmWhat=3)
10f4.1f2c: NtCreateFile(\Device\VBoxDrvStub) failed: 0xc0000034 STATUS_OBJECT_NAME_NOT_FOUND (0 retries)
Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more information about its state. Rebooting may actually help.
重点分析
3ab8.363c: Error opening VBoxDrvStub: STATUS_OBJECT_NAME_NOT_FOUND
2. 解决方法
系统更新后, virtualBox 的 vboxdrv服务
没有正常启动或者丢失,重新安装即可。
- 找到 virtualBox 的安装目录
- 在 VirtualBox\drivers\vboxdrv 中找到 VBoxDrv.inf,右键 “安装”
- 重新启动系统