Install a Windows Virtual Machine
   1 min read

In this article, I use Hyper-V to install a Windows 10 virtual machine (on a Windows machine). This is useful when performing development work that requires installing software runtimes such as Java.

Prerequisites

Install Hyper-V

  1. Search for “feature” in the Windows search bar and select Turn Windows features on or off:

    Screenshot of Windows search bar.


  2. Select Hyper-V and expand the menu to check that Hyper-V Management Tools and Hyper-V Platform are selected, then select OK :

    Screenshot of Turn Windows features on or off menu.


  3. If Windows needs to reboot your PC, select Restart now:

    Screenshot of Computer Vision ‘Create’ link.


  4. Search for “hyper-v quick” in the Windows search bar and select Hyper-V Quick Create:

    Screenshot Windows search bar.


    Alternatively, search for “windows administrative tools” in the Windows search bar and select Windows Administrative Tools. Browse the list of tools and select Hyper-V Quick Create.

  5. Select Windows 10 dev environment and Create Virtual Machine:

    Screenshot of ‘Create virtual machine’ screen.


  6. Wait for download, verification, and extraction of the Windows 10 dev environment image:

    Screenshot of ‘Downloading image Windows 10 dev environment’ screen.


  7. Select Connect:

    Screenshot of ‘Virtual machine created’ screen.


  8. Select Start to launch your virtual machine:

    Screenshot of ‘Virtual machine connection’ screen.


  9. Select whether you want to allow your PC to be discoverable by other PCs and devices:

    Screenshot of ‘Windows 10 dev environment virtual machine connection’ screen.


Next steps