Hyper-V Dynamic memory fails when you have Memory Integrity on

Theo Verweij 1 Reputation point
2022-11-30T17:39:40.847+00:00

On a Windows 2019 Server with Hyper-V on, I am running a Windows 2019 Server.

The VM has Memory Integrity on and, because Memory Integrity is a Virtualization technology, I also switched on nested Virtualization.

In the VM, the following Event is logged:
Source: Hyper-V-Guest-Drivers
Event ID: 5
Message: The dynamic memory driver failed because a nested instance of Hyper-V was detected.

I know you can not use Dynamic Memory with a nested HyperV server, but I don't think that the VBS should block the use of Dynamic Memory.

The most strange thing is that with multiple VM's, all configured the same, only a few give this message; all others are working fine with VBS and Dynamic Memory.

Is it a bug that Dynamic Memory won't (always) work with VBS security on the VM or is there somewhere a setting that enables this configuration?

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Server | Devices and deployment | Configure application groups
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.