Create Virtual Machines in Hyper-V

The Hyper-V Manager console in Windows Server can be used to create VMs on a Hyper-V host. It can also be used to launch console sessions with existing VMs and perform many other management tasks.

  1. Launch Hyper-V Manager.
  2. In the Actions pane on the right, select New > Virtual Machine and click Next.
  3. Specify a name for the VM and the location where the files will be stored.
    • For instance, you might name it VMS22 and choose to store in E:\Hyper-V\VM. If you do not specify a location, the VM will be stored in the default directory. Click Next to proceed.
  4. Select Generation 2, as it supports newer features and operating systems. Click Next to proceed.
  5. Specify the amount of memory that is assigned to the VM at startup, then specify whether Dynamic Memory should be used.
    • Dynamic Memory allows Hyper-V to adjust a VM’s memory allocation while it is running. Click Next to proceed.
    • 4GB = 4,096 / 8GB = 8,192 / 16GB = 16,384
  6. Select Virtual Network from the dropdown list and click Next.
  7. Select Create a new virtual hard disk and specify storage space. More virtual hard disks can be added to the VM after creation. Click Next to proceed.
  8. Choose Install an operating system from a bootable CD/DVD-ROM and click Browse to locate your ISO file for the operating system you want to install.
  9. Review the summary and click Finish to create the VM.

Before powering on your virtual machine, consider adjusting these optional settings for optimal performance and management:

  1. In the Settings window, navigate to Integration Services.
  2. Check the box for Guest Services.
  3. Next, go to Checkpoints in the left-hand pane.
  4. Uncheck the box for Use automatic checkpoints.
  5. Click OK to save changes.

To establish a console connection to a VM, right-click the VM and select Connect… then click Start in the Virtual Machine Connection window and press any key when prompted to boot from the ISO file.

Author: admin

Leave a Reply

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