Affected versions: Windows Server 2022

📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Hyper-V management operations fail and hosted VMs cannot be controlled when VMMS is down.

Environment & Reproduction

Appears after host patching, storage path changes, or virtualization stack corruption.

Get-Service vmms
Get-VM
Get-WindowsFeature Hyper-V

Root Cause Analysis

VM configuration inventory corruption, dependency failure, or invalid host paths can prevent VMMS initialization.

Quick Triage

Capture service status and recent Hyper-V operational logs.

Get-Service vmms
Get-WinEvent -LogName 'Microsoft-Windows-Hyper-V-VMMS-Admin' -MaxEvents 30
Get-VMHost

Step-by-Step Diagnosis

Check Hyper-V role health and VM inventory accessibility.

Get-WindowsFeature Hyper-V,Hyper-V-PowerShell
Get-ChildItem 'C:/ProgramData/Microsoft/Windows/Hyper-V' -ErrorAction SilentlyContinue
Get-VM

Solution – Primary Fix

Restore role components and restart VMMS cleanly.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Restart-Service vmms -Force
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -All
Start-Service vmms

Solution – Alternative Approaches

Rebuild VM registration cache when metadata is stale.

Stop-Service vmms -Force
Start-Service vmms
Get-VM

Verification & Acceptance Criteria

VM enumeration and management commands work with no new VMMS critical events.

Get-Service vmms
Get-VM
Get-WinEvent -LogName 'Microsoft-Windows-Hyper-V-VMMS-Admin' -MaxEvents 10

Rollback Plan

Revert optional feature changes if host stability degrades.

Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -Remove

Prevention & Hardening

Protect Hyper-V metadata paths and run pre-patch host health checks.

Get-VMHost | Export-Csv vmhost-baseline.csv -NoTypeInformation
Illustrative mockup for windows-server-2022 — terminal_or_powershell
Diagnostics commands in PowerShell — Illustrative mockup — Progressive Robot
Illustrative mockup for windows-server-2022 — event_or_log_viewer
Event log verification for Windows Server 2022 — Illustrative mockup — Progressive Robot

Can overlap with VHD path permission issues and cluster service instability.

Related tutorial: View the step-by-step tutorial for Windows Server 2022.

View all Windows Server 2022 tutorials on the Tutorials Hub →

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Microsoft Learn: Hyper-V host troubleshooting and VMMS event interpretation.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.