How to Install Windows Server on Hyper V

This guide provides a step-by-step walkthrough for installing Windows Server on Hyper-V. By the end of this tutorial, you’ll have a fully operational Windows Server VM, ready for further configuration and testing.

If you need to install the Hyper-V role on Windows first, refer to this guide – Microsoft Docs: Install Hyper V on Windows

What This Guide Covers:
1. Creating a new Hyper-V Virtual Machine
2. Installing Windows Server (2016)

Once you complete this setup, you can proceed with additional configurations, such as installing Active Directory (AD) on your new server.

1. Creating a new Hyper-V Virtual Machine

1. Right-click your Hyper-V Manager host machine, and select New > Virtual Machine…

Hyper-V New Virtual Machine
New Virtual Machine HyperV

2. Enter the name of the new VM and the location on disk.

Hyper-V VM Name and Location

3. Select Generation of VM.

Hyper-V Virtual Machine Generation

4. Enter the memory allocation amount.

Hyper-V Virtual Machine Memory Allocation

5. Select a network connection (I’ll set this up later).

Hyper-V Virtual Machine Network

6. Enter the dynamic virtual hard disk limit, and for this tutorial, I’m leaving the vHD location as default (driven from the previous selection).

Hyper-V Virtual Machine Hard Disk

7. Select an Operating System ISO file.

Hyper-V Virtual Machine ISO

8. Review configuration and hit finish.

Hyper-V New Virtual Machine Summary

9. Power up the new VM!

Hyper-V Virtual Machines
Hyper-V Virtual Machine List

2. Installing Windows Server (2016)

1. Connect to the new VM (ensuring step 7 above was followed).

Hyper-V VM without OS

2. Hit any key.

Hyper-V boot from CD

3. After 30 seconds or so of loading, select your location.

Windows Server 2016 Installation Language

4. Click to start the Windows Server installation.

Windows Server 2016 Installation

5. GUI this time around, and Datacenter Edition for the test environment.

Windows Server 2016 Datacenter Installation

6. Accept the usual.

Windows Server 2016 License Agreement

7. Check advanced options.

Windows Server 2016 Installation Type

8. Install on the 50GB vHD.

Windows Server 2016 Installation Location

9. Hit next, and away it goes…

Windows Server 2016 Install

10. The installation will finish up and restart once it’s done. Before the Windows Server login screen is shown, the built-in administrator password needs to be set.

Windows Server 2016 Admin Password

11. Login with the above password.

Windows Server 2016 Administrator Login

12. Hurray, it’s Windows 2016 everybody!

Windows Server 2016 Server Manager

Now that your Windows Server VM on Hyper V is up and running, you can proceed with additional configurations, such as:
Installing Active Directory (AD) for domain services. The post I’m linking is a direct follow-up of this with the HyperV focus.
Configuring network settings and firewall rules. If you have Windows Firewall enabled, my blog tag as linked might be useful.
Setting up roles and features based on your use case. I’m linking to my FCI feature blog tag which is the Windows feature I install as a Microsoft SQL DBA most commonly.


Comments

Leave a Reply

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

Recent Posts
Categories
Tags

Always On Availability Groups (AAG) (4) AWS (4) AWS Redshift (6) Database Admin (72) Database Backups & Recovery (14) Database Mirroring (2) Error Messages (5) Failover Cluster Instances (FCI) (1) Git Commands (6) Importing & Exporting Data (2) Linked Servers (3) Linux Administration (2) Logging & Monitoring (1) Microsoft Patching (2) MySQL (4) Postgres (6) PowerShell Scripts (2) SQL Certificates & Encryption (3) SQL Server Agent (5) SQL Server CDC (2) SQL Server Data Types (2) SQL Server Management Studio (SSMS) (17) SQL Server Networking (3) SQL Server on Linux (1) SQL Server Patching (2) SQL Server Performance Tuning (6) SQL Server Processes (SPIDs) (7) SQL Server Replication (2) SQL Server Scripts (13) SQL Server Security (4) SQL Server Storage (10) Windows Admin (20) Windows Authentication (2) Windows Automation (1) Windows Events (2) Windows Firewall (4) Windows Subsystem for Linux (WSL) (18)