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.
- Launch Hyper-V Manager.
- In the Actions pane on the right, select New > Virtual Machine and click Next.
- 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.
- 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.
- Select Generation 2, as it supports newer features and operating systems. Click Next to proceed.
- 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
- Select Virtual Network from the dropdown list and click Next.
- For detailed instructions on creating a new external switch, refer to this guide: Create New External Virtual Switch in Hyper-V
- For detailed instructions on creating a new external switch, refer to this guide: Create New External Virtual Switch in Hyper-V
- 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.
- 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.
- 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:
- In the Settings window, navigate to Integration Services.
- Check the box for Guest Services.
- Next, go to Checkpoints in the left-hand pane.
- Uncheck the box for Use automatic checkpoints.
- 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.