The virtual machine 'Whonix-Gateway-LXQt' has terminated unexpectedly during startup with exit code 1 (0x1)

Hi.

I get the following error when starting the whonix gateway:

VM Name: Whonix-Gateway-LXQt

The virtual machine ‘Whonix-Gateway-LXQt’ has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in ‘C:\Users\…\VirtualBox VMs\Whonix-Gateway-LXQt\Logs\VBoxHardening.log’.
Result Code:
E_FAIL (0x80004005)
Component:
MachineWrap
Interface:
IMachine …

I tried to make sense of the logs but I get lost in them.

The log is too long to post it in here and I am not allowed to post a link to the file. Not sure how to share that so that you have more info.

Can anyone lend me a hand?

1 Like

Sure, use this Markdown template:

[code]
Paste logs between the code elements here.
[/code]

You can also use the preformatted text button when creating a post to generate a similar template:

Screenshot 2026-03-06 at 18-33-20 The virtual machine 'Whonix-Gateway-LXQt' has terminated unexpectedly during startup with exit code 1 (0x1) - VirtualBox - Whonix Forum

1 Like

I can’t post the log, I get this error:

An error occurred: Body is limited to 60000 characters; you entered 194719.

Edit: OK, I added the link to the log on the website field of my profile. You should be able to see it when clicking my username.

1 Like

Okay, here is the most relevant verbose generated from the log file:

1144.c4c: SUPR3HardenedMain: Load TrustedMain...
1144.2ab4: supR3HardenedIsApiSetDll: ApiSetQueryApiSetPresence(api-ms-win-appmodel-runtime-l1-1-2) -> 0x0, fPresent=1
1144.2ab4: supR3HardenedMonitor_LdrLoadDll: pName=api-ms-win-appmodel-runtime-l1-1-2 (rcNtResolve=0x0) *pfFlags=0x0 pwszSearchPath=0000000000000801:<flags> [calling]
1144.2ab4: supR3HardenedWinVerifyCacheScheduleImports: Import todo: #8 'msvcrt.dll'.
1144.2ab4: supHardenedWinVerifyImageByHandle: -> 0 (\Device\HarddiskVolume3\Windows\System32\kernel.appcore.dll)
1144.2ab4: supR3HardenedWinVerifyCacheInsert: \Device\HarddiskVolume3\Windows\System32\kernel.appcore.dll
1144.2ab4: supR3HardenedDllNotificationCallback: load   00007ffc874c0000 LB 0x0001b000 C:\Windows\SYSTEM32\kernel.appcore.dll [fFlags=0x0]
1144.2ab4: supR3HardenedScreenImage/LdrLoadDll: cache hit (VINF_SUCCESS) on \Device\HarddiskVolume3\Windows\System32\kernel.appcore.dll [avoiding WinVerifyTrust]
1144.2ab4: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ffc874c0000 'api-ms-win-appmodel-runtime-l1-1-2'
1144.2ab4: supR3HardenedWinVerifyCacheProcessImportTodos: Processing 'msvcrt.dll'...
1144.2ab4: supR3HardenedWinVerifyCacheProcessImportTodos: 'msvcrt.dll' -> '\Device\HarddiskVolume3\Windows\System32\msvcrt.dll' [rcNtRedir=0xc0150008]
1144.2ab4: supR3HardenedScreenImage/Imports: cache hit (VINF_SUCCESS) on \Device\HarddiskVolume3\Windows\System32\msvcrt.dll
1144.2ab4: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ffc874e0000 'C:\Windows\system32\rsaenh.dll'
1144.2ab4: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ffc88970000 'C:\Windows\System32\crypt32.dll'
1144.2ab4: supR3HardenedWinVerifyCacheProcessWvtTodos: 0 (was 0) fWinVerifyTrust=1 for '\Device\HarddiskVolume3\Windows\System32\kernel.appcore.dll'
1144.c4c: \Device\HarddiskVolume3\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll: Signature #1/1: -23310 w/ timestamp=0x697cdab2/link.
1144.c4c: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ffc874e0000 'C:\Windows\system32\rsaenh.dll'
1144.c4c: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ffc88970000 'C:\Windows\System32\crypt32.dll'
1144.c4c: supHardenedWinVerifyImageByHandle: -> -23310 (\Device\HarddiskVolume3\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll) WinVerifyTrust
1144.c4c: Error (rc=0):
1144.c4c: supR3HardenedScreenImage/LdrLoadDll: rc=-23310 fImage=1 fProtect=0x0 fAccess=0x0 \Device\HarddiskVolume3\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll: Signature verification failed: -23509: \Device\HarddiskVolume3\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll
1144.c4c: supR3HardenedWinVerifyCacheInsert: \Device\HarddiskVolume3\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll
1144.c4c: Error (rc=0):
1144.c4c: supR3HardenedMonitor_LdrLoadDll: rejecting 'C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll' (C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll): rcNt=0xc0000190
1144.c4c: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0xc0000190 'C:\Program Files\Oracle\VirtualBox\VirtualBoxVM.dll'
1144.c4c: Fatal error:
1144.c4c: supR3HardenedMainGetTrustedMain: LoadLibrary "C:\Program Files\Oracle\VirtualBox/VirtualBoxVM.dll" failed, rc=1790
76a0.7878: supR3HardNtChildWaitFor[2]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 271 ms, the end);
7414.73e8: supR3HardNtChildWaitFor[1]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 1162 ms, the end);

I do not have any technical expertise using VirtualBox, so I will defer support to others that possess it.

2 Likes

Thank you for taking the time though :slightly_smiling_face:

1 Like

VirtualBox issue.

Very most likely not a Whonix issue. The issue is most likely unspecific to Whonix.

Can be resolved as per:

Related:

Note:

When Testing with a Debian VM you very most likely will have the same issue.

Re-installation of the VirtualBox host software is most likely required.

The best way to get free support for this is probably the VirtualBox forums.

2 Likes

TY for the info. I will look into all this.

1 Like