How to Install Windows 10 in Hyper-V Manager

In this article, we will examine how to set up Windows 10 on a new virtual machine using Hyper-V virtualization software, which is widely used in Microsoft’s Windows and Server systems.

How to Install Windows 10 in Hyper-V Manager

How to Install Windows 10 on a Virtual Machine using Hyper-V

Thanks to Hyper-V software, you can easily install and use both Windows and Linux-based operating systems on your physical computer that supports virtualization. All operations on the virtual machines you create are independent of your host computer, so you can make any changes you want without damaging the system files.

Compared to other virtualization programs, Microsoft Hyper-V Client is virtualization software that uses hardware resources most efficiently and offers advanced performance for guest operating systems. It has the Hypervisor system that manages the hardware devices of virtual computers running on the host computer or Windows server well.

This virtualization program is built into Windows operating systems and is not enabled by default. However, you can install it on your computer using the Turn Windows Features On or Off tool from the control panel.

How to Create a New Virtual Machine for Windows 10

In order to use the Windows 10 operating system virtually on your computer, you must first prepare a virtual PC with the correct settings.

After installing Hyper-V, you need to create a new External Switch using Virtual Switch Manager to connect guest systems to your local network or the Internet. This software has a Default Switch adapter that uses NAT connection to access the network, but in most cases, it will be healthier to use External Switch as it causes network problems.

   Step 1

Before starting the virtual machine creation steps, open the Virtual Switch Manager and select the New virtual network switch option. Next, select the Internal or External virtual switch type you will create and click the Create Virtual Switch button.

Creating an External Switch

   Step 2

After creating the external virtual switch, select the Ethernet or Wi-Fi adapter of your physical computer connected to the network from the External Network section and click OK. While the new virtual switch is being created, your network connection may be interrupted for a short time because your host computer’s network adapter will be configured.

Choosing External Adapter

   Step 3

After creating the External Switch, click Action / New / Virtual Machine on Hyper-V Manager.

Creating a New Virtual Machine

   Step 4

To create a new virtual machine with default settings, you can directly click the Finish button or choose to create a custom VM by continuing with Next. In order not to display the Before You Begin window again, check Do not show this page again and click Next to create a custom VM.

Creating a Custom VM

   Step 5

Type the name of the Windows operating system, check the Backup virtual machine’s files in an external location option, and select your external SSD or NVMe disk via Browse.

If the capacity of your host disk is 1 TB or 2 TB, you can choose to backup in the default location.

Changing the Location of the Virtual PC

   Step 6

In this window, you can select Generation 1, which supports BIOS firmware for legacy systems, or Generation 2, which supports UEFI-based firmware supporting newer systems.

Since installing UEFI-supported Windows is recommended for both security and performance, select Generation 2 and click Next.

Selecting Generation 2

   Step 7

To assign a RAM size for the Windows 10 VM according to the RAM capacity of your host computer, type 4096 MB (4 GB) or higher in the Startup Memory section.

Here, you can additionally enable the Dynamic Memory feature to automatically increase the RAM size by the program in case the VM needs more memory. You can configure the maximum RAM size to be used from the host in the Dynamic Memory settings of the VM.

This feature is especially useful if you are running multiple virtual computers. Otherwise, you will use only one VM in your system, it would be better to assign a memory value of 4 GB.

Configuring RAM Size

   Step 8

Select the External virtual network adapter you created using the Virtual Switch Manager tool.

Choosing External Adapter

   Step 9

In this window, you can see that the location where you will backup the virtual PC and the location where the virtual disk will be backed up are the same. If you choose to back up only the virtual disks on an external storage device, you can change the location of the virtual disk.

The maximum virtual HDD capacity for the Windows 10 VM is 127GB, but if you want to specify a smaller size, you can change it in the Size section.

Configuring the Size of the Virtual Disk

   Step 10

To add the Windows 10 ISO file to the VM in the setup options settings, enable the Bootable Image File option and click the Browse button to select the image file you downloaded to your computer.

Adding Windows 10 ISO File

   Step 11

After checking the settings you made in the summary window in the last step of the virtual machine wizard, click Finish.

Closing the VM Summary Window

   Step 12

The virtual computer you created will appear in the Virtual Machines section. Here, to set some settings of the VM first, right-click on it and click Settings.

Configuring Windows 10 Virtual Machine's Settings

   Step 13

Click the Processor hardware in the settings of the Windows 10 virtual PC and increase the number of virtual processors according to the characteristics of your host CPU.

Increasing the Number of Virtual Processors

   Step 14

Finally, first, connect to the guest system to start the Windows 10 VM.

Connecting to the Windows 10 VM

   Step 15

After connecting to the guest operating system, you can run the VM by clicking the Start button from the tool menu.

Running the Virtual Computer

How to Install Windows 10

After creating the Windows virtual PC and configuring its settings, you will now follow the same steps on the VM as if you were installing the system on a physical computer.

   Step 1

After starting the virtual computer, press any key on your keyboard to start the installation with the ISO image mounted on the CD/DVD device.

Press any key to boot CD or DVD

   Step 2

Set the display language, time and region settings, and keyboard layout you want to use on the Windows 10 setup screen and click Next.

Windows 10 Setup Screen

   Step 3

Click the Install Now button on the setup screen to start installing Windows 10 in Hyper-V.

Install Windows Now

   Step 4

If you have previously purchased a Windows 10 product key and would prefer to use that key in the VM, type in your license key and click Next. If you are going to use the VM for testing purposes only, click I don’t have a product key.

Selecting I Don't Have a Product Key

   Step 5

You need to choose one of the Home, Home N, Home Single Language, Education, Education N, Pro, or Pro N editions of Windows 10. Select the most commonly used Pro version on PCs and click Next.

Choosing Windows 10 Pro Edition

   Step 6

To accept the Microsoft software license terms, check I accept the license terms and click Next.

Accepting the License Agreement

   Step 7

Since you have installed Windows from scratch and you cannot continue with the Upgrade option on this screen, just click on the Install Windows option.

Install Windows Only

   Step 8

You need to create a new partition on the disk where you want to install Windows. To configure the disk with a capacity of 50 GB, click the New button, then the Apply button, and then click OK in the information window informing that additional spaces can be created.

Creating a New Partition on a Virtual Disk

   Step 9

After creating a new partition on the virtual disk, select the Primary type Drive 0 Partition 3 and click Next to start the Windows installation.

Drive 0 Partition 3

   Step 10

Wait while the Windows installation files are being prepared. The time to copy system files may vary depending on the hardware performance of your host computer, so wait a bit.

Getting Files Ready for Installation

   Step 11

To configure the region settings of your system, select the country you live in and click Yes.

Region Selection

   Step 12

You must also select your host computer’s keyboard layout in the system setup. If you want to use a different layout on your system, you can add a second keyboard layout in the next step.

Choosing the Keyboard Layout

   Step 13

If you prefer to add a second keyboard layout, you can click the Add Layout button. Click Skip if you want to use the keyboard layout you selected in the previous step.

Skipping to Add a Second Keyboard Layout

   Step 14

If you are going to use your virtual machine in a domain environment, you can continue with the Organization option and make your settings. However, if you are going to configure it for personal use, select Personal and click Next.

Set For Personal Use

   Step 15

At this stage, you will be asked to enter a Microsoft account. If you don’t want to log into the VM online, you should click Offline Account.

Offline Account Creation

   Step 16

The setup wizard will offer you the benefits of logging in with the online account again. To continue creating an offline account, click Limited Experience.

Choosing Limited Experience

   Step 17

If you decide to open an online account instead of using an offline account at this step, you can click Or, even better, use an online account to return to the previous settings. To create an offline account, type a new user account name that you will use on the virtual PC and click Next.

Typing a Username

   Step 18

If you do not want anyone else to access your guest operating system, you can create a memorable password.

Creating a Memorable Password

   Step 19

If you prefer to send reports containing an advertisement, location, or error data to Windows 10, click Accept.

Configuring Privacy Settings

   Step 20

Microsoft analyzes your location information, typing, or search history to improve your system experience, allowing you to get better results through Cortana. If you want to enable Cortana in the VM, you can click Accept or click Learn More for more information.

Activating Cortana

   Step 21

After configuring the necessary settings, your virtual system will be ready in a few minutes. Do not turn off your VM and wait while the setup wizard configures the final settings for your system.

Do not turn off your computer

   Step 22

After the final settings are configured, you need to do Display Configuration to connect to the VM. So you can configure the screen resolution of the VM on your host machine as you want.

Connecting to Windows 10

   Step 23

After choosing the screen resolution, you will be able to access the Windows 10 desktop environment. You can find out the version of the system you have installed by executing the winver command in the Run window.

Checking the Windows Version

How to Check Internet Connection

One of the first things you should do after installing Windows 10 on the VM is to test the local network and Internet connection. After testing your network connection, you can start making the changes you want to your system.

   Step 1

To test the internet connection, right-click on the start menu, open Command Prompt (CMD), and test your connection by pinging Google servers by executing the ping 8.8.8.8 command.

If you get results like the image below, that is, if you get TTL (Time-to-Live) values, you can understand that there is no problem with your Internet connection.

Ping Google Servers Using CMD

   Step 2

Open the Microsoft Edge browser and check that you can access the Google homepage.

Visiting the Google Search Engine

How to Use USB Flash Memory in Virtual Machine

Using USB flash memory in VMs on Hyper-V can be solved with a very simple method. To do this, you must first plug a flash drive into your host’s USB 3.0/3.1 port and then configure local resources when connecting to the VM.

   Step 1

Plug a USB memory into your host computer and then connect to your virtual computer in Hyper-V. Then, when the screen configuration window opens, click Show Options.

Show Options

   Step 2

In the Local Resources tab, under Drives, tick your flash drive and click OK.

Local Resources

   Step 3

Under My Computer / Redirected drives and folders, you can now see the USB stick you have plugged into your physical computer.

Checking USB Flash Drive in VM

   Step 4

You can also see all the files or folders that you have copied into the flash memory on the virtual PC on the host. Thus, you can transfer data between the host and the VM more easily.

Controlling Flash Memory Shared Usage Between VM and Host

   Related Articles


How to Install Windows XP in Hyper-V
How to Install Windows 7 in Hyper-V
How to Install Windows 8 in Hyper-V
How to Install Ubuntu in Hyper-V
How to Install Windows Vista in Hyper-V

Add a Comment

Your email address will not be published. Required fields are marked *

error: