Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while VM start #13508

Open
piotrek5000 opened this issue Oct 15, 2024 · 2 comments
Open

Error while VM start #13508

piotrek5000 opened this issue Oct 15, 2024 · 2 comments

Comments

@piotrek5000
Copy link

After Windows 11 update, virtual machine dont't run.

Error message in terminal
There was an error while executing VBoxManage, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["startvm", "MACHINE_ID", "--type", "headless"]

Stderr: VBoxManage.exe: error: The virtual machine 'MACHINE_NAME' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\USER_NAME\VirtualBox VMs\MACHINE_NAME\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

Error messages in VBoxHardening.log

37c4.3188: 00007ff6df274000-00007ffbf0e9ffff 0x0001/0x0000 0x0000000
37c4.3188: *00007ffbf0ea0000-00007ffbf0ea0fff 0x0002/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf0ea1000-00007ffbf1010fff 0x0020/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf1011000-00007ffbf1069fff 0x0002/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf106a000-00007ffbf1072fff 0x0008/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf1073000-00007ffbf1083fff 0x0002/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf1084000-00007ffbf1086fff 0x0008/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf1087000-00007ffbf1087fff 0x0004/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf1088000-00007ffbf1102fff 0x0002/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf1103000-00007ffbf1103fff 0x0020/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf1104000-00007ffbf1105fff 0x0000/0x0080 0x1000000 \Device\HarddiskVolume3\Windows\System32\ntdll.dll
37c4.3188: 00007ffbf1106000-00007ffffffeffff 0x0001/0x0000 0x0000000
37c4.3188: VBoxHeadless.exe: Differences in section #8 (.rsrc) between file and memory:
37c4.3188: 00007ff6df2725f8 / 0x01125f8: 00 != 50
37c4.3188: 00007ff6df2725f9 / 0x01125f9: 00 != 41
37c4.3188: 00007ff6df2725fa / 0x01125fa: 00 != 44
37c4.3188: 00007ff6df2725fb / 0x01125fb: 00 != 44
37c4.3188: 00007ff6df2725fc / 0x01125fc: 00 != 49
37c4.3188: 00007ff6df2725fd / 0x01125fd: 00 != 4e
37c4.3188: 00007ff6df2725fe / 0x01125fe: 00 != 47
37c4.3188: 00007ff6df2725ff / 0x01125ff: 00 != 58
37c4.3188: Restored 0xa08 bytes of original file content at 00007ff6df2725f8
37c4.3188: Error (rc=-5607):
37c4.3188: ntdll.dll: SizeOfImage (0x263000) isn't close enough to the mapping size (0x266000)
37c4.3188: Error (rc=-5607):
37c4.3188: supHardenedWinVerifyProcess failed with -5607: ntdll.dll: SizeOfImage (0x263000) isn't close enough to the mapping size (0x266000)
37c4.3188: Error -5607 in supR3HardNtChildPurify! (enmWhat=5)
37c4.3188: supHardenedWinVerifyProcess failed with -5607: ntdll.dll: SizeOfImage (0x263000) isn't close enough to the mapping size (0x266000)

@Celestialchips
Copy link

I found a work around for this issue a lot of people are getting the same issue after upgrading windows to the most recent 24h2 version, after reinstalling virtualbox. I found that I am able to run in normal mode then I am able to run Vagrant ssh into the VM the only thing is the VM GUI is running in the background of your machine.

@bdshanto
Copy link

For Windows OS, I solved the issue by the commands:

bcdedit /set hypervisorlaunchtype off

Windows 11/10 Fix ntdll.dll Crash Error

sfc /scannow 
Dism.exe /online /cleanup-image /restorehealth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants