Part 1: How to install Hyper-V 2019 Server Core? Part 2: Hyper-V 2019 Core Server – Initial Configuration Part 3: Hyper-V 2019 Core Remote Management Part 4: Create Your First Virtual Machine in Hyper-V 2019 In this article, we will talk about exporting and importing the virtual machine from one to another Hyper-V 2019 Server. We will export and import virtual machine, configuration files, checkpoints and smart paging file. In order to show how to do it, we use two Hyper-V 2019 instances that are hosted on different physical server models and different hardware configurations. But that is not an issue as soon as imported virtual machine has enough resources to run operating system, apps, and services. There are two ways to connect to the Hyper-V 2019 host. We can do it remotely from Windows 10 Pro or Enterprise machine or to connect directly to the Hyper-V 2019 server (if you are not using Core Server). If you would like to connect to the Hyper-V server from your Windows 10 Pro or Enterprise machine, please follow the instructions from article Part 3: Hyper-V 2019 Core Remote Management. In our case, we will connect to Hyper-V remotely from Windows 10 Pro machine. This article has two parts. The first part includes exporting the virtual machine and the second part includes importing the virtual machine. So, let’s start with the first part. In the second step, we will import the virtual machine to an empty Hyper-V Server. If you have exported virtual machine to local disk or external disk, you will need to make it accessible on the destination server. As we exported virtual machines to shared network storage, we don’t need to do anything except to add a proper network path. Please follow the instructions below.
Register the virtual machine in-place (use the existing unique ID)Restore the virtual machine (use the existing unique ID)Copy the virtual machine (Create a new unique ID)
In our case, we will import the virtual machine by creating a new unique ID.
Virtual machine configuration fileCheckpoint storeSmart Paging folder
By default Microsoft stores all data in the C:\ProgramData\Microsoft\Microsoft\Hyper-V, but you can change it if you need it. If you want to change the storage locations, please select Store the virtual machine in a different location and then change location paths. In our case, we will choose default locations and then click Next.
Creating Virtual Machines in Hyper-V 2019 using PowerShellHow to Monitor Performance of Hyper-V Virtual Machines?How to Add a Virtual Disk to Hyper-V 2019Create Your First Virtual Machine in Hyper-V 2019