Close Menu
ElMajdal.netElMajdal.net
    ElMajdal.netElMajdal.net
    Contact Us
    • Home
    • Windows
      • Windows 11
      • Windows 10
      • Windows 8
      • Windows 7
    • Servers
      • Windows Server
      • Windows Server 2008
      • Exchange Server
    • MAC OS
    • ISA/TMG
    ElMajdal.netElMajdal.net
    Home»Windows Server»How To Create A Virtual Machine With Hyper-V in Windows Server 2016/2019/2022
    Windows Server

    How To Create A Virtual Machine With Hyper-V in Windows Server 2016/2019/2022

    4 Mins Read
    WhatsApp Facebook Twitter Telegram Reddit Email
    blank
    Share
    WhatsApp Facebook Twitter Telegram Reddit Email

    Introduction

    In the realm of server management, virtualization has become an indispensable tool for optimizing resources and enhancing flexibility. Hyper-V, Microsoft’s virtualization platform, empowers users to create and manage virtual machines efficiently. In this tutorial, we’ll walk through the process of creating a virtual machine using Hyper-V in Windows Server 2016, 2019, or 2022.

    Prerequisites: Before diving into the virtual machine creation process, ensure that your Windows Server is equipped with Hyper-V. This feature can be installed through the Server Manager or PowerShell. In a previous article, we have showed you how to install the Hyper-V role : If you haven’t yet installed Hyper-V, read the following article :  How To Install Hyper-V In Windows Server 2016/2019/2022

    To create a new virtual machine follow the below steps : 

    1. Open Hyper-V Manager.  Click on Start then typing hyper-v , then click on Hyper-V Manager
    2. Hyper-V management console will open
    3. From the Action pane, click New, and then click Virtual Machine.
      Or navigate to the left pane, right-click on the Hostname ( in my case ELMAJDAL-HVS), and choose New then Virtual Machine from the menu.
    4. On the Before You Begin page, Click the Next button.
    5. On the Specify Name and Location page, you will have to type the name of the Virtual Machine and choose a custom location to store the virtual machine in it.
      Enter a name for the Virtual Machine, for example i will installing Windows 11, so I will name the virtual machine as Windows 11. If you want to store your virtual machines files in a location other that the default location, select the checkbox beside Store the virtual machine in a different location, click the Browse button and choose the new location.
    6. Specify the generation of the Virtual Machine. For most scenarios, Generation 2 is recommended; to know the difference between the Hyper-V generations, read this article : What Is the Difference Between Hyper-V Generation 1 And Generation 2 Virtual Machines
      Note: Make sure to read the above article, as it has detailed information for each supported guest operating system.
      In this example, I will be setting up a Windows 11 64-bit version as a guest, so I will choose Generation 2
    7. On the Assign Memory page, specify the amount of memory (RAM) to allocate to the virtual machine. Adjust the slider according to your requirements and click Next.
      I will assign 8GB RAM for the virtual machine . Click Next to continue
    8. On the Configure Networking page, Choose the Virtual Switch for utilizing the Virtual Machine’s networking.
      Once the virtual machine network adapter is selected, click Next
    9. Configure the Virtual Hard Disk, setting parameters as per your preferences. Choose to create a new virtual hard disk or use an existing one. Set the size of the hard disk and click Next.
    10. On the Installation Options page, choose how you want to install the operating system on the virtual machine. You can install it later or use an ISO file for installation. Click Next to proceed.
      Select Install an operating system from a a bootable image file, and browse to your .iso file
    11. Review your settings on the summary screen and click ‘Finish’ to create the virtual machine. Click the Finish button if everything is in order.
    12. The Virtual machine has been created and is now available inside Hyper-V management console.
    13. To initiate it, right-click and choose Start.
    14. To connect to the console of the Virtual Machine, right-click and select Connect.
    15. Proceed with the installation of GuestOS using the standard procedure.
    16. Once the installation is complete, the Virtual Machine with GuestOS is now operational.

    Congratulations! You’ve successfully created a virtual machine using Hyper-V on your Windows Server 2016, 2019, or 2022. This virtualization technology opens the door to a more flexible and efficient server environment, allowing you to maximize resources and streamline your IT infrastructure.

    Related article :
    FIX For : This PC Can’t Run Windows 11 (Hyper-V)

    Share. WhatsApp Facebook Twitter Telegram Reddit Email
    Previous ArticleHow To Add An Application To Run Automatically At Startup In Windows 10
    Next Article FIX For : This PC Can’t Run Windows 11 (Hyper-V)

    Related Article

    How To Enable Active Directory Recycle Bin On Windows Server

    How To Transfer FSMO Roles In Active Directory Using PowerShell

    How To Check Active Directory Forest And Domain Functional Level In Windows Server

    Latest Posts

    How To Enable Active Directory Recycle Bin On Windows Server

    How To Check The Health Of Your Laptop’s Battery In Windows

    How To Transfer FSMO Roles In Active Directory Using PowerShell

    How To Check Active Directory Forest And Domain Functional Level In Windows Server

    Advertisement

    For any Feedback, click on the Contact Us link

    Quick Links
    • Contact Us
    • Windows 11
    • Windows 8
    • Windows 10
    • Windows 7
    • Windows Server
    • Windows Server 2008
    • Exchange Server
    • macOS
    • ISA Server
    • Privacy Policy
    • Contact Us
    • Windows 11
    • Windows 8
    • Windows 10
    • Windows 7
    • Windows Server
    • Windows Server 2008
    • Exchange Server
    • macOS
    • ISA Server
    • Privacy Policy
    © ElMajdal 2007-2026

    Type above and press Enter to search. Press Esc to cancel.