Main Forum > Tweaking.com Support & Help

Windows Repair AIO breaks Hyper-V - Solved

(1/1)

nickrad:
I had a problem today with Hyper-v on Windows 10 Pro that I eventually traced back to Windows Repair AIO.

Steps to reproduce:

1. Run the "repair wmi" option on a Windows 10 pro system with the optional hyper-v feature enabled.

2. Run the "hyper-v manager" program.

Result: Hyper-v manager will fail to start with error "invalid class". Also logs 3 errors in the event log:


--- Code: ---The latest class definitions for the WMI namespace 'root\virtualization\v2' are not registered in the CIM repository.

Source: Hyper-V-VMMS
EventID: 19010
--- End code ---


--- Code: ---Virtual Machine Management service failed to start.

Source: Hyper-V-VMMS
EventID: 14096
--- End code ---


--- Code: ---The Hyper-V Virtual Machine Management service terminated with the following error:
Not enough storage is available to complete this operation.

Source: Service Control Manager
EventID: 7023
--- End code ---

Resolution: Run the following commands from an elevated command prompt:


--- Code: ---mofcomp  %systemroot%\system32\WindowsVirtualization.v2.mof
--- End code ---


--- Code: ---Mofcomp %systemroot%\system32\en-US\WindowsVirtualization.v2.mfl
--- End code ---

nickrad:
Just to be clear, I solved the issue myself. This is just a bug report so the developers can figure out what's causing the problem and prevent it from happening.

Unfortunately I can't help explain why it's happening. The log file for your program clearly says that it's registering those 2 files, but I guess it's not taking? I have no idea, I just know that I can reliably reproduce and solve the issue using the steps above.

Anyway, I attached the log file in case it helps.

Navigation

[0] Message Index

Go to full version