exit code 1 (0x1)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
HaMaJu
Posts: 15
Joined: 10. Dec 2020, 17:10

exit code 1 (0x1)

Post by HaMaJu »

Hi everyone,

I installed on a Windows 7 Professional 64 bit system the virtual box (6.1.16) + extension pack. Neither a normal start or a start without GUI works. Everytime the same error appears (attached) since a few days. Windows XP 32 bit is the guest system.

I already used "sfc /scannow" which found some corrupted files but it couldn't repair them.

I have already reinstalled VB and also disabled the AV (however VB was already working with the AV without any problems) and also checked the Diagnosing VirtualBox Hardening Issues.

Am I perhaps missing something in the log files that could help clarify the problem? :(

Thank you for you help.
Attachments
VBoxHardening.zip
(12.15 KiB) Downloaded 18 times
Error VB.png
Error VB.png (21.48 KiB) Viewed 2793 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: exit code 1 (0x1)

Post by scottgus1 »

The log doesn't show (to me at least) what the problem is. See Diagnosing VirtualBox Hardening Issues, last paragraph of post 3, and post 4.
HaMaJu
Posts: 15
Joined: 10. Dec 2020, 17:10

Re: exit code 1 (0x1)

Post by HaMaJu »

Sadly there is no error message showing with "Thread not alone" or "More than one thread in process" and I already run sfc /scannow multiple times.
Unfortunately I can't figure out myself from the log if a dll is missing or something else is causing the problem and hope one of you can.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: exit code 1 (0x1)

Post by mpack »

On the other hand you do have third party AV installed (Symantec), and you make no mention of what testing you did to eliminate that potential problem.

Also, note that Windows 7 hosts are themselves becoming a rarity, so we don't really have a lot to compare your performance against. Plus they are no longer officially supported hosts in VirtualBox 6.1.x.
HaMaJu
Posts: 15
Joined: 10. Dec 2020, 17:10

Re: exit code 1 (0x1)

Post by HaMaJu »

When I export the system and import it to a Virtual Box on an other system, will this work without any problems or is this a waste of time?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: exit code 1 (0x1)

Post by scottgus1 »

It depends on if the other host systems have hardening troubles too. It all depends on what extra stuff is installed.

As an example, I have never had hardening problems on my two Windows 10 and one Windows 7 hosts. But I don't install extra antivirus or HP ProtectNanny or other software. I just use Windows' built-in AV on the 10 hosts, and I don't browse the internet on the old 7 host.

You can test the other hosts by trying a Linux VM with Ubuntu. If you can start the Linux LiveCD in the VM, then you don't have show-stopping hardening problems.
HaMaJu
Posts: 15
Joined: 10. Dec 2020, 17:10

Re: exit code 1 (0x1)

Post by HaMaJu »

In the hardening log ist written:

1178.1500: Fatal error:
1178.1500: Error loading 'crypt32.dll': 1790 [C:\Windows\system32\crypt32.dll]
13b0.bf8: supR3HardNtChildWaitFor[2]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 1351 ms, the end);
ba4.13d0: supR3HardNtChildWaitFor[1]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 2162 ms, the end);


I guess the "ExitCode=0x1" ist the same as shown in the attached picture, so maybe the crypt32.dll is corrupt?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: exit code 1 (0x1)

Post by mpack »

I doubt that any system DLL is corrupt, plus you said you already tried "sfc /scannow".
HaMaJu
Posts: 15
Joined: 10. Dec 2020, 17:10

Re: exit code 1 (0x1)

Post by HaMaJu »

I solved the problem by downgrading to VB 4.0. I know I no clean and safe solution but at least now everything works again :). So this thread can be closed.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: exit code 1 (0x1)

Post by scottgus1 »

That's actually not a 'solve', it's just running a Virtualbox version that didn't have hardening checks.

Hardening was inserted to plug a security hole enabled by Windows' DLL injection capabilities, where malware that got on the host PC could get greater privileges to wreak havoc through Virtualbox. Hardening works to plug that security hole. Running without Virtualbox hardening is like running without antivirus. You have to really be on top of your game when using an internet-connected PC without A/V. And websites you normally use safely can get infected themselves, and get malware onto your PC. Same caution for running Virtualbox without hardening on an internet-connected PC.

Additionally, 4.0.x is rrreeeaaalllllyyyy old and modern OS's may not run on it. The last version of Virtualbox that did not have hardening is 4.3.12, and Windows 10 would not run on it as a VM.

If you can get another disk for your PC I suggest switching disks and reinstall the PC's OS. Then install Virtualbox. Your VMs should run fine. Then install other programs one at a time, rebooting each time and running Virtualbox. Once you find that Virtualbox throws the hardening error, the last program installed should be the problem. Sometimes a complete reinstall allows everything to coexist. And your PC should perform better.
HaMaJu
Posts: 15
Joined: 10. Dec 2020, 17:10

Re: exit code 1 (0x1)

Post by HaMaJu »

Yes, you are right, I am doing this for a man who is older than 60, as soon as an icon looks different he can't handle it anymore. He is currently just happy that the system works again. Still, the next step will and must be a new and more secure computer. Thank you all for your advice.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: exit code 1 (0x1)

Post by scottgus1 »

Ah, yes, that does make good sense. Very good! If you have other trouble, we'll be here.
Post Reply