Techub Knowledge Center
TechubKnowledge Center • Illustrated Guides • Troubleshooting

Describe the VM task or exact error — for example, a virtual machine will not start.

Set Up Hyper-V & Virtual Machines • Virtualization & Virtual Machines

Create a Windows Virtual Machine

Build a supported Windows guest with trusted media, suitable resources and a deliberate network connection.

DifficultyBeginner to intermediate
Time20–45 minutes for checks; installation, transfer or recovery can take longer
Guide typeIdentify, act & verify
GoalVerify the VM task and preserve recovery

Work on the intended VM. Use only hosts, guests and accounts you own or are authorized to manage. Start with read-only checks and a verified independent backup before disruptive changes. Host changes can affect every guest. Preserve complete virtual disk chains; never delete AVHDX files manually. Keep credentials and recovery keys private. Production, clustered, domain-controller and protected workloads require their supported recovery procedures.

First — identify the host, guest and task

Record the host OS/edition, guest OS, VM name and generation, state, disk paths, switch and exact error. These guides use Microsoft Hyper-V examples; other platforms use different controls. Screenshots may illustrate older interfaces or an optional management tool. Use current supported instructions and your own values. Do not copy sample resource amounts or network names.

What you’ll need

Current host, guest and workload documentation · Authorized management account · Private error/time notes · Independent backup and required keys · Host resource and storage headroom · Maintenance, isolation and recovery plan for changes

Step 1 — Check host, license and trusted media

Confirm supported host/guest versions, licensing, available resources and an authentic Microsoft installation ISO. Keep the guest’s security and backup needs in the plan. Do not download an unknown prebuilt VM merely for convenience.

What to look for: A trusted installer and permitted guest use.

What the result means: Virtualization does not remove licensing, update or security requirements.

Step 2 — Create a named VM with the right generation

In Hyper-V Manager select the intended host, then New and Virtual Machine. Choose a clear name and storage path with enough capacity. For supported Windows 11 guests use generation 2 and meet Microsoft’s current VM requirements.

Microsoft’s Hyper-V wizard example has Generation 2 selected. Use a generation supported by the intended guest; generation cannot be changed after creation. This is a control example from a Linux preparation guide.
Microsoft’s Hyper-V wizard example has Generation 2 selected. Use a generation supported by the intended guest; generation cannot be changed after creation. This is a control example from a Linux preparation guide.Image: Microsoft · Source · View full-size image

What to look for: The intended host, path and supported generation.

What the result means: Generation cannot be changed later with a simple toggle.

Step 3 — Size memory, CPU and virtual storage

For Windows 11, meet at least its current 4 GB memory, two virtual processors and 64 GB storage minimums, plus the supported host CPU requirements; allocate more for the actual workload while leaving host headroom. Create a new uniquely named VHDX with sufficient planned capacity. Do not overwrite or attach another VM’s active disk.

Microsoft’s Hyper-V wizard example shows 4096 MB startup memory. This is a sample allocation; follow current guest requirements and reserve memory for the host and other VMs.
Microsoft’s Hyper-V wizard example shows 4096 MB startup memory. This is a sample allocation; follow current guest requirements and reserve memory for the host and other VMs.Image: Microsoft · Source · View full-size image

What to look for: Resources sufficient for installation and normal use.

What the result means: A dynamically expanding disk can consume more host space as the guest writes.

Step 4 — Configure required guest security

For generation 2 review Secure Boot and the required vTPM/security settings for the intended Windows release. Protect encryption recovery material. Review these settings while the VM is off as required by the host/version.

Microsoft ITOps Talk’s Windows 11 Hyper-V example shows Enable Secure Boot, the Microsoft Windows template and Enable Trusted Platform Module selected. It illustrates guest VM security settings; review current guest requirements and preserve recovery keys before changing an existing VM.
Microsoft ITOps Talk’s Windows 11 Hyper-V example shows Enable Secure Boot, the Microsoft Windows template and Enable Trusted Platform Module selected. It illustrates guest VM security settings; review current guest requirements and preserve recovery keys before changing an existing VM.Image: Microsoft · Source · View full-size image

What to look for: The current Windows guest requirements are met.

What the result means: Disabling Secure Boot or TPM to bypass an installer is not this workflow.

Step 5 — Attach media and choose networking

Attach the trusted ISO to the virtual DVD drive and select the intended supported switch. An external switch places the guest on the LAN; an isolated switch has different connectivity. Start and connect to the VM, then install only onto its verified new virtual disk.

What to look for: The correct installer, target disk and network.

What the result means: The setup screen belongs to the guest, but attached host resources still require care.

Step 6 — Finish, update and test

Complete the normal supported Windows setup, install updates and test the intended app and network. Remove installer media from the normal boot path where appropriate. Configure independent guest/VM backup and perform a sample recovery.

What to look for: A licensed supported guest with working services and recovery.

What the result means: A successful installation is not an automatic backup.

What did you find?
Guest requirements are unmetCorrect supported settings rather than bypassing them.
An existing disk is selected unexpectedlyStop before installation or formatting.
The guest lacks network accessCheck switch type and guest network settings.
The guest is readyUpdate, protect and verify its intended workload.
Microsoft, guest OS & workload help

Use current Microsoft instructions for the actual Hyper-V host version, VM generation and configuration version, plus the guest OS, application and backup vendor’s supported procedure. Hyper-V Manager and Windows Admin Center are different interfaces. Historical screenshots locate controls; sample guest releases, paths and sizing are not recommendations.

Coordinate host, network, storage and recovery changes with their owners. Domain controllers, clusters, encrypted or shielded VMs, replicated services and databases need their workload-specific process. Keep disk chains intact and retain usable recovery material. Never post passwords, keys, full private logs or backup contents publicly.

Parts & supplies — only if needed

Most initial checks use supported management tools and approved access. Buy memory, storage, network equipment or backup media only after measurements and exact hardware, host and workload compatibility checks. Additional virtual allocation does not create physical resources.

Technical references

Still need help?

Need help with a VM or Hyper-V task?

Bring the host and guest versions, VM state, exact error/time and checks already tried. Explain the backup and recovery position. Keep credentials, keys, internal addresses and private diagnostic data out of public screenshots.

Visit Techub Services ↗