How to Create a Virtual Machine in Windows 10 (2023)

Running a virtual machine is a good way to use an operating system without installing it on your PC. For instance, you can test drive the latest Windows version or a new Ubuntu Linux distribution without any risk. Here's how to create a virtual machine in Windows 10 without installing third-party software.

Meet Hyper-V in Windows 10

Microsoft provides a built-in tool called Hyper-V to create a virtual machine on Windows 10. It’s only available on these platforms:

  • Windows 10 Enterprise (64-bit)
  • Windows 10 Pro (64-bit)
  • Windows 10 Education (64-bit)

If your PC runs Windows 10 Home, you must install a third-party virtual machine client. Hyper-V is not available on this platform.

While Hyper-V is a useful tool, it may not be the ideal solution for software development. As Microsoft explains about Hyper-V, programs and apps that require specific hardware—like a discrete graphics processor—may not work correctly in a virtual machine.

Even more, simply enabling Hyper-V may cause performance issues for “latency-sensitive, high-precision applications.”

Not just any computer can run a virtual machine, however. You’ll need to see if your PC’s processor can handle a virtual machine before moving forward.

How to Check Virtual Machine Hardware Compatibility

Here are the hardware requirements from Microsoft:

  • 64-bit Processor with Second Level Address Translation (SLAT)
  • CPU support for VM Monitor Mode Extension (VT-c on Intel CPUs)
  • Minimum of 4GB system memory

Here are the BIOS settings required to run a virtual machine:

  • Hardware Enforced Data Execution Prevention
  • Virtualization Technology (or a similar label, depending on the motherboard manufacturer)

Still not sure your Windows 10 PC can run a virtual machine using Hyper-V? Microsoft provides the means to find out. Follow these steps:

  1. Right-click the Start button and select Windows PowerShell (Admin).

    How to Create a Virtual Machine in Windows 10 (1)

  2. Type "Systeminfo" in the PowerShell window and press the Enter key on your keyboard.

    How to Create a Virtual Machine in Windows 10 (2)

  3. Scroll down to the bottom of the results to find the Hyper-V Requirements section. Here's how to interpret those results:

    • If you see "Yes" next to the four Hyper-V requirements: Your PC can run a virtual machine.
    • If you see "No" next to the four Hyper-V requirements: Your CPU doesn’t support virtual machines and/or you need to adjust settings in the BIOS.
    • If you see "No" next to "Virtualization Enabled in Firmware" in the results: You will need to reboot into the PC's firmware and enable this feature. The setting's label depends on your PC's motherboard and BIOS version.
    • If you see "A hypervisor has been detected. Features required for Hyper-V will not be displayed" in the results: You’re already running Hyper-V in Windows 10.

How to Enable Hyper-V in Windows 10 Pro, Enterprise, and Education

It's likely your Windows 10 PC doesn't have Hyper-V features turned on by default. If that's the case, you won't find any Hyper-V entries on the Start Menu. Follow these steps to get your virtual machine support up and running.

  1. Type "Hyper-V" in the taskbar's search field and press the Enter key on your keyboard.

  2. Select Turn Windows features on or off in the results, then select Open.

    How to Create a Virtual Machine in Windows 10 (3)

  3. On the next screen, check the box next to the Hyper-V option, then select OK.

    How to Create a Virtual Machine in Windows 10 (4)

  4. Select Restart Now. Your PC will reboot.

    How to Create a Virtual Machine in Windows 10 (5)

    (Video) Windows Hyper-V Virtual Machine Tutorial

How to Create a Virtual Machine in Windows 10 Using Hyper-V Quick Create

This is one of two methods to create a virtual machine using Windows 10's built-in tool. It's the quickest and visually easier of the two. Here you'll find options to install two Linux builds, the MSIX Packaging Tool Environment, and the Windows 10 Development Environment.

If you want to run a preview build of Windows 10, you'll need to manually download an ISO.

  1. Select the Start button, scroll down on the Start Menu, then select Windows Administrative Tools to expand it.

    How to Create a Virtual Machine in Windows 10 (6)

  2. Select Hyper-V Quick Create.

    How to Create a Virtual Machine in Windows 10 (7)

  3. In the following Create Virtual Machine window, select one of the four listed installers, then select Create Virtual Machine. Do not move on to Step 4.

    However, if you have a different OS you want to use, continue on with Step 4.

    How to Create a Virtual Machine in Windows 10 (8)

  4. Select Local installation source to load an ISO file you've already downloaded to your PC.

    How to Create a Virtual Machine in Windows 10 (9)

  5. Select Change installation source.

    How to Create a Virtual Machine in Windows 10 (10)

  6. Locate and select an ISO image on your PC, and then select Open.

    How to Create a Virtual Machine in Windows 10 (11)

  7. Finally, select Create Virtual Machine.

    How to Create a Virtual Machine in Windows 10 (12)

How to Create a Virtual Machine in Windows 10 Using Hyper-V Manager

At first glance, this version looks old-school compared to the Quick Create version. However, this interface is the meat of your virtual machine loading and unloading. Here you're provided with advanced tools for importing a virtual machine, creating a virtual machine from scratch using a step-by-step process, and more.

You can access the simpler Quick Create tool from this interface as well.

(Video) How To Create a Virtual Machine running Windows 10

  1. Select Start, scroll down on the Start Menu, then select Windows Administrative Tools to expand it.

    How to Create a Virtual Machine in Windows 10 (13)

  2. Select Hyper-V Manager.

    How to Create a Virtual Machine in Windows 10 (14)

  3. In the following Hyper-V Manager window, select Quick Create located under Actions on the right.

    How to Create a Virtual Machine in Windows 10 (15)

  4. In the following Create Virtual Machine window, select one of the four listed installers and select Create Virtual Machine. Do not move on to Step 5.

    However, if you have a different OS you want to use, continue on with Step 5.

    How to Create a Virtual Machine in Windows 10 (16)

  5. Select Local installation source.

    How to Create a Virtual Machine in Windows 10 (17)

  6. Select Change installation source.

    How to Create a Virtual Machine in Windows 10 (18)

  7. Locate and select an ISO image stored locally on your PC., then select Open.

    How to Create a Virtual Machine in Windows 10 (19)

  8. Finally, select Create Virtual Machine.

    How to Create a Virtual Machine in Windows 10 (20)

A Virtual Machine Example: Ubuntu 19.04

Once you select the Ubuntu 19.04 option and click Create Virtual Machine, the Hyper-V client will download and install Ubuntu in a software “container” (aka virtual machine). Once completed, Hyper-V prompts you with two buttons.

  1. Click Connect to load the Virtual Machine Connection window.

    (Video) How to create a windows 10 Virtual Machine

    Click Edit settings to access the settings for the hardware emulation needed to run a fake PC. This includes firmware, security, memory, processor, storage, and network connection.

    How to Create a Virtual Machine in Windows 10 (21)

  2. Click the Start button in the Virtual Machine Connection window to launch your emulated operating system.

    How to Create a Virtual Machine in Windows 10 (22)

  3. Follow the platform’s on-screen instructions as if you’re setting up a new PC. You will not need to run this setup again unless you create a new virtual machine.

    How to Create a Virtual Machine in Windows 10 (23)

How to Load Your Virtual Machine

Because you're not installing a second operating system directly onto your PC, there's no shortcut on the Start Menu or the desktop. There's also no option to load your virtual machine from the Hyper-V Quick Create tool. Instead, you must load and shut down your virtual machine using the Hyper-V Manager.

  1. Select the Start button, scroll down on the Start Menu, then select Windows Administrative Tools to expand it.

    How to Create a Virtual Machine in Windows 10 (24)

  2. Select Hyper-V Manager.

    How to Create a Virtual Machine in Windows 10 (25)

  3. In the following Hyper-V Manager screen, highlight your saved virtual machine listed under Virtual Machines.

    How to Create a Virtual Machine in Windows 10 (26)

  4. Select Connect located in the bottom right corner.

    How to Create a Virtual Machine in Windows 10 (27)

  5. The Virtual Machine Connection screen appears. Select the Start button to "turn on" your virtual machine.

    How to Create a Virtual Machine in Windows 10 (28)

  6. To save the current state of your virtual machine, select the orange Save icon located on the Virtual Machine Connection toolbar.

    (Video) you need to learn Virtual Machines RIGHT NOW!! (Kali Linux VM, Ubuntu, Windows)

    How to Create a Virtual Machine in Windows 10 (29)

  7. To shut down your virtual machine, select the red Shut Down icon located on the Virtual Machine Connection toolbar. This is similar to telling your PC to power down.

    Selecting the white Turn Off icon is similar to unplugging your desktop or depleting the battery.

    How to Create a Virtual Machine in Windows 10 (30)

FAQ

  • How do I disable Hyper-V in Windows 10?

    To disable in Windows 10, press the Windows key+X and go to Apps and Features > Programs and Features > Turn Windows features on or off. Locate Hyper-V and uncheck the box. Click OK to save changes and restart.

  • What is a Java Virtual Machine?

    A Java Virtual Machine (JVM) is a virtual machine that provides an environment to run Java apps or code. The code can be either Java-based or code compiled by Java bytecode.

Was this page helpful?

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

Tell us why!

(Video) Introduction to Virtual Machines in Windows 10 (ft. Hyper-V, VirtualBox)

FAQs

How to create a virtual machine in Windows 10? ›

Windows 10 Fall Creators Update (Windows 10 version 1709)
  1. Open Hyper-V Quick Create from the start menu.
  2. Select an operating system or choose your own by using a local installation source. If you want to use your own image to create the virtual machine, select Local Installation Source. ...
  3. Select "Create Virtual Machine"
Apr 25, 2022

How to create virtual machine step by step? ›

  1. Step 1: Prepare your computer for Virtualization. ...
  2. Step 2: Install Hypervisor (Virtualization Tool) ...
  3. Step 3: Import a Virtual Machine. ...
  4. Step 4: Start the Virtual Machine. ...
  5. Step 5: Using the Virtual Machine. ...
  6. Step 6: Shut down the Virtual Machine.

What is the best way to create a virtual machine? ›

  1. Step 1: Download and Install VirtualBox. ...
  2. Step 2: Create a Virtual Machine. ...
  3. Step 3: Allocate Memory. ...
  4. Step 4: Setup the Hard Drive. ...
  5. Step 5: Select Hard Drive File Type. ...
  6. Step 6: Select Storage on Physical Hard Drive. ...
  7. Step 7: Setup File Location and Size. ...
  8. Step 8: Install the Operating System.

How much RAM should you have for a virtual machine? ›

You can run 3 or 4 basic virtual machines on a host that has 4GB of RAM, though you'll need more resources for more virtual machines. On the other end of the spectrum, you can also create large virtual machines with 32 processors and 512GB RAM, depending on your physical hardware.

Does Windows 10 have a virtual machine? ›

One of the features included in Windows 10 is the ability to create virtual machines. A virtual machine is a packaged operating system that can run on top of a “host” operating system. Virtualization allows the same host to run multiple “guest” operating systems, and easily move virtual machines between hosts.

How do I create a Windows virtual machine for free? ›

Step 1: Log in to your Microsoft Azure account. Step 2: Now search for Free services in the given search bar. Step 3: Select the Create option under the Windows Virtual Machine section in order to create a Windows VM.

Videos

1. How To Make A Windows 10 Virtual Machine 2022
(The Tech Loop)
2. How to Create Free Virtual Machine on Hyper-V with Free Windows 10?
(WindowsChimp)
3. How to install Windows 10 in VirtualBox 2022
(TopNotch Programmer)
4. How to Install VirtualBox on Windows 10
(ProgrammingKnowledge2)
5. What is Desktop Virtualization and how to create a Windows 10 Virtual Machine in VMware
(Learning and Technology with Frank)
6. How to create a virtual machine on your windows pc using VirtualBox | Sinhala
(123 Sinhala)
Top Articles
Latest Posts
Article information

Author: Jamar Nader

Last Updated: 03/03/2023

Views: 6004

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.