Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Virtual Machines

Direct answer

A Hyper-V VM has multiple independent states: configuration validity, registration, power/runtime state, guest OS state and application state. Troubleshooting must keep those layers separate.

When to use this

Use this topic for VM lifecycle, state transitions, registration/configuration questions and as the entry point before narrowing to a specific virtual device.

First 30 seconds

1. Each VM has a configuration (.vmcx), runtime state (.vmrs) and VHDX disks.

2. Configuration version decides features and compatibility.

3. Update version only when all hosts support it.

4. Status shows problems (e.g. paused-critical).

5. Use notes for owner/purpose.

Operational verification

VM config → worker process → VHDX/vNIC

Evidence · next step

Continue to the first failing VM hardware, guest or application boundary.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show device or application health from Running state alone.

Next check: Continue to the first failing VM hardware, guest or application boundary.

Platform / version applicability
hyper-v
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformhyper-v
Scope / prerequisiteUse this topic for VM lifecycle, state transitions, registration/configuration questions and as the entry point before …
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

VM configuration/registration → hypervisor resource allocation → virtual devices → guest firmware/OS → guest services → application

Step 2 Common mistakes Narrow the fault
  • VMs stored on C:.
  • Automatic stop action set to save state, filling disk with memory files.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Registered ≠ running.
  • Running ≠ guest booted.
  • Guest booted ≠ application healthy.
  • A VM configuration can be valid yet incompatible with destination CPU, storage or networking.
Key checks
  • Get-VM | ft Name,State,Generation,Version,Status — VM inventory
  • Get-VM <vm> | Get-VMHardDiskDrive,Get-VMNetworkAdapter — devices
  • Update-VMVersion <vm> — upgrade config version (one-way)
ReferenceWhy it matters1 section · depth on demand

In depth

Day-to-day VM management in Hyper-V with PowerShell:

New-VM -Name app01 -Generation 2 -MemoryStartupBytes 8GB -NewVHDPath D:\VMs\app01.vhdx -NewVHDSizeBytes 80GB -SwitchName vSwitch-Prod
Set-VMProcessor app01 -Count 4
Set-VMNetworkAdapterVlan -VMName app01 -Access -VlanId 20
Set-VMFirmware app01 -EnableSecureBoot On -SecureBootTemplate MicrosoftWindows
Enable-VMIntegrationService -VMName app01 -Name 'Guest Service Interface'
Start-VM app01
Get-VM | ft Name,State,CPUUsage,MemoryAssigned,Uptime,Version

Update-VMVersion upgrades the configuration version after all cluster nodes run the newer Windows Server (one-way).

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Hyper-V VM state is platform evidence; it does not collapse guest and application health into the same state.

Commands

Get-VM
New-VM -Name vm01 -Generation 2 -MemoryStartupBytes 4GB -SwitchName External
Set-VM vm01 -ProcessorCount 4 -AutomaticStopAction ShutDown
Get-VM vm01 | Get-VMHardDiskDrive

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor dochyper-v current

Authoritative/upstream documentation reviewed for bounded claims in Hyper-V → Virtual Machines. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
hyper-v vmhyper-v virtual machinevm state
Embedded reference data

Quick lookup tables

Hyper-V → Virtual Machines reference map

Fast Hyper-V boundaries for Hyper-V → Virtual Machines.

BoundaryMeaningEvidence limit
ConfigurationPersistent VM definitionNot runtime allocation
RuntimeOff/Starting/Running/etc.Running ≠ guest healthy
GuestOS respondsNot application proof
ApplicationOriginal service test succeedsEnd-to-end acceptance
Confirmation

Confirm action

Continue?