Cloud Computing 9 min read

Master Hyper-V: Step-by-Step Guide to Enable and Create Windows Virtual Machines

Learn the essential concepts of virtualization, explore Hyper-V’s key features, and follow detailed instructions to enable Hyper-V on Windows, configure system requirements, create and customize virtual machines—including Windows 11 installations—using PowerShell, CMD, and graphical settings, with tips for optimal performance.

Architecture Digest
Architecture Digest
Architecture Digest
Master Hyper-V: Step-by-Step Guide to Enable and Create Windows Virtual Machines

Virtualization Key Concepts

Virtualization revolves around several core ideas:

Host (Physical Machine) : The actual hardware that runs the hypervisor.

Guest (Virtual Machine) : An isolated environment with its own OS and applications.

Hypervisor : The core component that allocates host resources to guests. It comes in two types:

Type 1 (Bare‑metal) – installed directly on hardware for maximum performance and stability.

Type 2 – runs on top of an existing OS, easier to install but slightly less efficient.

Resource Pooling : Physical resources are aggregated into a shared pool that can be dynamically allocated.

Snapshots & Cloning : Capture a VM’s state at a point in time for backup, recovery, or testing.

Benefits of Virtualization

Higher resource utilization by sharing hardware.

Improved flexibility and scalability – multiple VMs can be provisioned on a single host.

Simplified management through centralized tools.

High availability and disaster recovery via live migration and aggregation.

Developers, IT professionals, and enthusiasts can run multiple operating systems on a single machine, and Hyper‑V makes this possible on Windows.

Hyper‑V Overview

Microsoft’s hypervisor that runs multiple virtual machines on a single physical server.

Included with Windows Server and optional on Windows 10/11 Pro, Enterprise, or Education editions.

Enables cost savings, higher application availability, and easier testing of different OS configurations.

Supports Windows, Linux, FreeBSD, and other guest OSes.

System Requirements

Windows 10/11 Pro, Enterprise, or Education.

64‑bit processor with Second Level Address Translation (SLAT).

CPU must support VT‑c (Intel) or AMD‑V (AMD).

At least 4 GB of RAM (2 GB minimum, 4 GB recommended).

Enable Hyper‑V

Open PowerShell as Administrator and run:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All

Or use DISM from CMD/PowerShell:

DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V

After the feature is installed, restart the computer.

Create a Virtual Machine

Launch Hyper‑V Quick Create from the Start menu, choose an OS image or select Local Installation Source to browse a custom .iso or .vhdx file.

For Windows 11 installation, select the downloaded ISO, give the VM a name, and keep the default network (Default Switch) or a pre‑created virtual switch.

In the VM settings, under Security , enable Trusted Platform Module to avoid the “cannot run Windows 11” error.

Adjust memory to at least 4096 MB for a smooth experience.

After configuration, click Create Virtual Machine . The Quick Create wizard will finish the setup and start the installation process.

Hyper‑V interface
Hyper‑V interface

Install Windows 11 on the VM

Select the local installation source, browse to the Windows 11 ISO, and proceed. Ensure the Secure Boot option is unchecked for Linux images.

After the VM boots, you may see a “Press any key to boot from CD or DVD” prompt; press a key to continue.

When the Windows setup appears, choose the custom installation option ("Only install Windows (advanced)") and follow the on‑screen steps.

If the VM boots to a black screen, disable Enhanced Session Mode under the View menu, restart the VM, and you should see the login screen.

Windows 11 installation screen
Windows 11 installation screen

Once Windows 11 is installed, you can log in and start using the virtual machine.

Additional Resources

Download the latest Microsoft virtual machine images from Microsoft Developer site . The installation steps are the same as described above.

virtual machineWindowsvirtualizationHyper-V
Architecture Digest
Written by

Architecture Digest

Focusing on Java backend development, covering application architecture from top-tier internet companies (high availability, high performance, high stability), big data, machine learning, Java architecture, and other popular fields.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.