I have troubles launching virtial machines: Detected loader lock ownership.
VM fails to start with E_FAIL (0x80004005) and is reproduced constantly. Contrary to previous reported cases, it is not connected with Kaspersky Antivirus or any other antivirus, and it affects not all virtual machines.
So, the details:
These 2 lines cause fail
This loader lock presents in all virtual machines logs, but does not affect the launch process:Detected loader lock ownership: rc=Unknown Status 22900 (0x5974) '\Device\HarddiskVolume1\WINDOWS\system32\faultrep.dll'.
Detected loader lock ownership: rc=Unknown Status 22900 (0x5974) '\Device\HarddiskVolume1\WINDOWS\system32\winsta.dll'.
During last month or two it appears occasionally. One or few of existing virtual machines fails to start with thess errors in VBoxHardening.log regardless of guest architecture, VM parameters or guest OS. Other VMs work without problems.Detected loader lock ownership: rc=Unknown Status 22900 (0x5974) '\Device\HarddiskVolume1\WINDOWS\WinSxS\amd64_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.5190_x-ww_04280519\comctl32.dll'.
Now one Win7 x86 guest is affected, another one works (it was the exact clone of the first one made a month ago). Looks like VMs in the "current state (changed)" are affected more frequently, then VMs that have snapshots, and the bug disappears when you reset the VM to the previous snapshot (but I'm not sure about these facts).
Host OS: Windows Server 2003 x64 SP2 installed somewhere in 2012
VirtualBox: 5.0.6 r100337 installed in Oct. 2015
No changes were made neither in OS not in VirtualBox during recent months.
- HyperV is not here
- This is not signed / unsigned DLL issue, Server 2003 have no and did not require signed DLLs or drivers.
- Not connected with UAC / Run as Admin: there is no UAC and I always run VirtualBox from admin account
- Microsoft Virtual PC was installed in December, it caused some troubles with Host-Only network adapter, but I know how to avoid them for VMs created earlier. The issue is not connected with Virtual PC, since it did not happen all spring, when both were used intensively.
- SFC / checkdisk passed last week, the issue happened earlier.
- BIOS virtualization enabled. Both VMs good and bad are VT-x/AMD-V and Nested Paging enabled.
{Unknown exception is trimmed? Where is } ?01:04:06.845703 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={4afe423b-43e0-e9d0-82e8-ceb307940dda} aComponent={MediumWrap} aText={Unknown exception
01:04:06.845703 F:\tinderbox\win-5.0\out\win.amd64\release\obj\VBoxAPIWrap\MediumWrap.cpp[2245] (long __cdecl MediumWrap::GetEncryptionSettings(unsigned short **,unsigned short **))}, preserve=false aResultDetail=0
I do not use VM encryption.
Does anybody know the reason why the issue happens and how to fix it?