Windows 10

Testing the Windows 10 Technical Preview in a Hyper-V VM

So you’ve joined the Windows Insiders program, downloaded the Windows 10 Technical Preview, and are ready to get installing and testing, but you’ve realized you don’t have a spare physical machine available to install Windows 10 on. No worries: This is where you can use Hyper-V to give yourself a bigger virtual lab.

How to Get Hyper-V

There are a number of ways to acquire Hyper-V:

  • Windows Server Hyper-V: If you have a test lab that is based on Windows Server Hyper-V then you can create one or more virtual machines and start testing using virtual machines on that infrastructure.
  • Hyper-V Server: If you have one or more physical machines you can download the free Hyper-V Server 2012 R2, and manage it using the Remote Server Administration Toolkit for Windows 8.1. This will allow you to create lots of Windows 10 virtual machines.
  • Client Hyper-V: You can enable client Hyper-V on your Windows 8.1 (for best results) Pro or Enterprise PC or laptop and use your machine’s resources to create a few Windows 10 virtual machines.

Create the Virtual Machine

1. The first step is to use Hyper-V Manager (HVM) to create a new virtual machine; you can launch HVM from the Administrative Tools or find it in the Start Screen. Click New > Virtual Machine in the Actions pane to start the New Virtual Machine wizard. Name the virtual machine and choose a storage location, ideally not on the C: drive.

Setting up a new virtual machine for Windows 10
Create a new virtual machine to run Windows 10 in. (Image: Aidan Finn)

2. Choose a generation (maybe this is a good time to choose Generation 2) and configure the required memory for the virtual machine. If you have created a virtual switch (to route the virtual machine to the network via a NIC on the physical computer) then connect the virtual machine to the virtual switch of your choice.

Sponsored Content

Passwords Haven’t Disappeared Yet

123456. Qwerty. Iloveyou. No, these are not exercises for people who are brand new to typing. Shockingly, they are among the most common passwords that end users choose in 2021. Research has found that the average business user must manually type out, or copy/paste, the credentials to 154 websites per month. We repeatedly got one question that surprised us: “Why would I ever trust a third party with control of my network?

3. Create a virtual hard disk with sufficient capacity for the guest OS and any applications you will install and data that you will store in the virtual machine.

4. Find your Windows 10 technical preview ISO file and mount it by choosing the Install An Operating System From A Bootable Image File option in the wizard.

Configure a new Hyper-V virtual machine to install Windows 10
Mount the Windows 10 ISO image. (Image: Aidan Finn)

Finishing the wizard will create the virtual machine and mount the ISO. I would recommend editing the settings of the virtual machine (right-click and choose Settings) and adding some virtual processors and re-configuring the memory to exactly what you require.

Installing Windows 10

1. In HVM, right-click the virtual machine and select Connect to open a window that allows you to interact with the virtual machine. Start the virtual machine (Action menu and Start). The virtual machine will start and the Windows 10 installer will be booted up; you can see everything in the Connect window and interact with it via keyboard/mouse just as you would with a physical machine via its monitor and keyboard/mouse.

Setting up Windows 10 in a Hyper-V virtual machine
The Windows 10 installer in the Connect window of the virtual machine. (Image: Aidan Finn)

2. The first screen is the usual regional settings dialog so configure the installer as required for your language and keyboard.

3. Accept the license terms, choose a custom installation, and click Next to accept the default disk configuration of a single volume within the virtual hard disk – best practice is to add virtual hard disks to have new volumes. Now the installation will kick off and you can go take a break.

Waiting for Windows 10 to install in a Hyper-V VM
Windows 10 installing in a Hyper-V virtual machine. (Image: Aidan Finn)

4. The setup process will reboot the virtual machine and eventually you’ll be greeted with the out of box experience (OOBE) to specialize your machine.

Accept or edit the Windows 10 installation settings
Customize the installation of Windows 10. (Image: Aidan Finn)

5. Configure your Windows settings, set up your account, and a few minutes later you will have a brand spanking new installation of Windows 10 running in your Hyper-V virtual machine.

The Windows 10 Technical Preview running in a Hyper-V VM
A new Windows 10 installation running in Hyper-V. (Image: Aidan Finn)

6. Usually we would upgrade the Hyper-V integration components via the Connect window. There’s no need to do that anymore with the new OS because Microsoft will deliver new integration components via Windows Update. You should run Windows Update to ensure that the machine has the latest updates (note: there were two updates available on the first day of the preview).

After the Installation

You can follow my tip in Manually Install a Guest OS in a Hyper-V Virtual Machine to customize and sysprep the virtual machine to create a template. This will allow you to create a rapidly deployed copy of this virtual machine at any point in the future and will save you a lot of time if you need to start from scratch with a new machine.

Related Topics:


Don't have a login but want to join the conversation? Sign up for a Petri Account

Comments (0)

Leave a Reply

Aidan Finn, Microsoft Most Valuable Professional (MVP), has been working in IT since 1996. He has worked as a consultant and administrator for the likes of Innofactor Norway, Amdahl DMR, Fujitsu, Barclays and Hypo Real Estate Bank International where he dealt with large and complex IT infrastructures and MicroWarehouse Ltd. where he worked with Microsoft partners in the small/medium business space.
Don't leave your business open to attack! Come learn how to protect your AD in this FREE masterclass!REGISTER NOW - Thursday, December 2, 2021 @ 1 pm ET

Active Directory (AD) is leveraged by over 90% of enterprises worldwide as the authentication and authorization hub of their IT infrastructure—but its inherent complexity leaves it prone to misconfigurations that can allow attackers to slip into your network and wreak havoc. 

Join this session with Microsoft MVP and MCT Sander Berkouwer, who will explore:

  • Whether you should upgrade your domain controllers to Windows Server
    2019 and beyond
  • Achieving mission impossible: updating DCs within 48 hours
  • How to disable legacy protocols and outdated compatibility options in
    Active Directory

Sponsored by: