Event ID - 14040

Event Id14040
SourceMicrosoft-Windows-Hyper-V-VMMS
DescriptionFailed to query domain information.
Event InformationAccording to Microsoft :
Cause :
This event is logged when Failed to query domain information.
Resolution :
Restart VMMS
Vmms.exe (by default in the %windows%\system32 directory) is the service that uses the Msvm_VirtualSystemManagementService WMI object to perform Virtual System Management related operations in Hyper-V and the Hyper-V Manager. A number of different settings and actions on virtual machines may cause the VMMS to timeout or shutdown.
Ensure a connection to a Domain Controler, and then restart the Virtual Machine Management Service (VMMS).
To restart VMMS using the Service Manager:
1. In theHyper-V Manager click the server on which you want to stop the service, then clickAction, then click Stop Service.
2.Click Action, and then clickStart Service.
To restart the VMMS service using the command prompt:
1.On the computer that has the stopped service, open a command prompt as local administrator and type the following:
net stop nvpswmi
If the service is not running, you will see the error "The Hyper-V Networking Management service is not started."
3.On the command prompt type the following command to start the nvpswmi service
net start nvspwmi
If the service start starts you will see the message "The Hyper-V Networking Management service was start successfully."
To restart VMMS using PowerShell:
1.On the computer that has the stopped service, open a command prompt as local administrator and type the following:
C:\PS>restart-service vmms
If this error occurs only with Windows Server 2008 x86 virtual machines that were created in Virtual Server or Virtual PC, then the HAL may not be set as ACPI.
To check this:
1.On the virtual machine, open an elevated Command Prompt window.
2.Type devmgmt.msc to open the Device Manager
3.Click the computer node. If you see “Advanced Configuration and Power Interface (ACPI) PC” you must change the HAL.
To change the HAL on the virtual machine:
1.On the virtual machine, open an elevated Command Prompt window.
2.Type msconfig. exe
3.Click the Boot tab
4.Click the Detect HAL checkbox
5.Click OK twice to close and restart the virtual machine.
6.After the virtual machine is restarted, open device manager and the computer node listing should be “ACPI x86-based PC.”
Note
If you see performance issues when starting this virtual machine in the future, you should turn off the "Detect HAL" setting, since it is not longer required.
Verify :
Check that the VMMS service is in the running state in the Service Control Manager and that the failed operation now succeeds.
Reference LinksEvent ID 14040 from Source Microsoft-Windows-Hyper-V-VMMS

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.