本文帮助您在Windows 11/10Hyper-V中导入、导出或克隆虚拟机。有时,您可能希望将虚拟机移动到另一台计算机并立即开始使用它。在这种情况下,您可以使用本指南在Hyper-V(Hyper-V)中导入、导出和关闭虚拟机。
Hyper-V是您可以在(Hyper-V)Windows 11/10中找到的内置虚拟化工具。假设您已经在 Hyper-V 虚拟机中安装了操作系统(installed an OS in the Hyper-V virtual machine),但出于某种原因您希望将安装移动到另一台计算机上。在这种情况下,您可以使用Hyper-V(Hyper-V)的内置选项来完成工作。
如何从Hyper-V导出虚拟机(Hyper-V)
要从Hyper-V导出虚拟机,请执行以下步骤:
- 搜索Hyper-V Manager并在您的计算机上打开它。
- 单击(Click)左侧的主机。
- 右键单击(Right-click)要导出的虚拟机。
- 选择 导出 (Export )选项。
- 单击 浏览 (Browse )按钮并选择一个位置。
- 单击 导出 (Export )按钮。
要了解有关这些步骤的更多信息,请继续阅读。
首先,您需要在计算机上打开Hyper-V 管理器(Hyper-V Manager)。如果它已经打开,请确保没有虚拟机正在运行。另一方面,如果没有打开,则 在任务栏搜索框中搜索(Taskbar)hyper-v manager,然后单击单个结果将其打开。
之后,选择左侧文本Hyper-V Manager下的主机。现在,您可以在屏幕上看到所有虚拟机。右键单击要导出的所需虚拟机,然后选择 导出 (Export )按钮。
它会打开一个弹出窗口,要求您选择要保存所有导出文件的文件夹。您可以通过单击“ 浏览 (Browse )”按钮选择任何文件夹。
选择后,单击“ 导出 (Export )”按钮开始将虚拟机导出到您之前选择的文件夹。
单击“导出 (Export )”按钮后只需片刻 。完成后,您可以打开文件夹并找到所有文件。
如何在Hyper-V中导入虚拟机(Hyper-V)
要在Hyper-V(Hyper-V)中导入虚拟机,请执行以下步骤:
- 在您的计算机上打开Hyper-V 管理器。(Hyper-V Manager)
- 单击 导入虚拟机(Import Virtual Machine) 选项。
- 单击 下一步 (Next )按钮。
- 单击 浏览 (Browse )按钮以选择导出的文件夹。
- 选择要导入的虚拟机。
- 选择 还原虚拟机(Restore the virtual machine) 选项,然后单击 下一步(Next)。
- 选择(Choose)文件夹来存储虚拟机文件。
- 单击 浏览 (Browse )按钮选择文件夹来存储虚拟硬盘。
- 单击 完成(Finish) 按钮。
让我们详细检查这些步骤。
要开始使用,您需要在计算机上打开Hyper-V 管理器(Hyper-V Manager)。您可以借助任务栏(Taskbar)搜索框来打开它。接下来,单击 右侧可见 的导入虚拟机 选项,然后单击(Import Virtual Machine )下一步 (Next )按钮。
现在,您需要选择导出的文件夹。为此,请确保您位于“ 查找文件夹(Locate Folder) ”部分。如果是这样,请单击“ 浏览 (Browse )”按钮并选择您之前导出的文件夹。
单击 下一步 (Next )按钮后,您需要选择要导入的虚拟机。有时,您导出的文件夹可能有多个虚拟机。在这种情况下,您需要在“ 选择虚拟机 (Select Virtual Machine )”部分中选择所需的虚拟机,然后单击“ 下一步” (Next )按钮。
现在您在“选择导入类型” (Choose Import Type )窗口中获得三个选项 :
- (Register)就地注册虚拟机(使用现有的唯一 ID)
- 还原虚拟机(使用现有的唯一 ID)
- 复制虚拟机(创建一个新的唯一 ID)
在这种情况下,您需要选择第二个选项 Restore the virtual machine,然后单击 Next 按钮。
然后,您可以选择要存储所有虚拟机文件的文件夹。默认情况下,它将文件存储 在ProgramData内的(ProgramData)Hyper-V 文件夹中 。但是,如果需要,您可以勾选将 虚拟机存储在其他位置 (Store the virtual machine in a different location )复选框并相应地选择文件夹路径。
如果您不想选择自定义文件夹,请单击 下一步 (Next )按钮转到 选择存储文件夹(Choose Storage Folders) 部分。在这里,您需要选择要在计算机上存储虚拟硬盘的文件夹。为此,请单击“ 浏览 (Browse )”按钮并根据您的要求选择路径。
最后,单击 完成 (Finish )按钮并在新计算机上启动虚拟机。
什么是虚拟机导入导出?
您可以使用 Hyper-V中的(Hyper-V)导入(Import) 和 导出 (Export )选项将虚拟机移动到另一台计算机。您可以使用这些选项来备份您的虚拟机并在同一台或另一台计算机上恢复它们。
如何从Hyper-V导入和导出?
要从Hyper-V导入和导出虚拟机,您需要使用内置选项。对于导出,您需要 在右键单击上下文菜单中选择“导出 ”选项。(Export )要导入,您需要 在“操作” (Action )面板中选择“导入虚拟机 (Import Virtual Machine )”选项 。
就这样!希望本教程帮助您在Hyper-V(Hyper-V)中导入和导出虚拟机。
阅读:(Read: )适用于 VMware 和 Hyper-V 虚拟机的最佳免费备份软件。(Best free Backup software for VMware and Hyper-V virtual machines.)
How to import, export, or clone Virtual Machines in Hyper-V
This article helps you import, export, or clone virtual maсhines in Hyper-V on Windows 11/10. At times, you might want to move your vіrtual machine to anоther computer and start using it immediately. In such moments, you could use this guide to import, export, and close virtual machіnes in Hyper-V.
Hyper-V is an in-built virtualization tool you can find in Windows 11/10. Let’s assume that you have already installed an OS in the Hyper-V virtual machine, but you want to move the installation to another computer for some reason. In that situation, you can use the in-built option of Hyper-V to get the job done.
How to export virtual machines from Hyper-V
To export virtual machines from Hyper-V, follow these steps:
- Search for Hyper-V Manager and open it on your computer.
- Click on the host computer on the left side.
- Right-click on the virtual machine you want to export.
- Select the Export option.
- Click the Browse button and choose a location.
- Click the Export button.
To learn more about these steps, continue reading.
At first, you need to open the Hyper-V Manager on your computer. If it is already opened, make sure that no virtual machine is running. On the other hand, if it is not opened, search for hyper-v manager in the Taskbar search box, and click on the individual result to open it.
Following that, select the host computer on the left side under the text Hyper-V Manager. Now, you can see all the virtual machines on your screen. Right-click on the desired virtual machine that you want to export and select the Export button.
It opens up a popup window, asking you to select a folder where you want to keep all the exported files. You can choose any folder by clicking the Browse button.
Once selected, click the Export button to start exporting the virtual machine to the folder you selected earlier.
It takes only a few moments after clicking the Export button. Once done, you can open the folder and find all the files.
How to import virtual machines in Hyper-V
To import virtual machines in Hyper-V, follow these steps:
- Open Hyper-V Manager on your computer.
- Click the Import Virtual Machine option.
- Click on the Next button.
- Click the Browse button to select the exported folder.
- Select the virtual machine you want to import.
- Choose Restore the virtual machine option and click Next.
- Choose folder to store virtual machine files.
- Click the Browse button to select folder to store virtual hard disk.
- Click the Finish button.
Let’s check out these steps in detail.
To get started, you need to open Hyper-V Manager on your computer. You can take the help of the Taskbar search box to open it. Next, click the Import Virtual Machine option visible on the right side and click on the Next button.
Now, you need to select the exported folder. For that, make sure you are on the Locate Folder section. If so, click the Browse button and select the folder you exported earlier.
After clicking the Next button, you need to select the virtual machine you want to import. At times, your exported folder could have multiple virtual machines. In that situation, you need to select the desired virtual machine in the Select Virtual Machine section and click the Next button.
Now you get three options in the Choose Import Type window:
- 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 this case, you need to select the second option, Restore the virtual machine, and click the Next button.
Then, you can select a folder where you want to store all the virtual machine files. By default, it stores files in the Hyper-V folder inside ProgramData. However, if you want, you can tick the Store the virtual machine in a different location checkbox and select folder paths accordingly.
If you do not want to choose a custom folder, click the Next button to go to the Choose Storage Folders section. Here you need to select a folder where you want to store the virtual hard disk on your computer. For that, click the Browse button and select a path as per your requirement.
At last, click the Finish button and start the virtual machine on your new computer.
What is virtual machine import-export?
You can use the Import and Export options in Hyper-V to move your virtual machine to another computer. You can use these options to backup your virtual machine and restore them on the same or another computer.
How do I import and export from Hyper-V?
To import and export virtual machines from Hyper-V, you need to use the in-built options. For exporting, you need to select the Export option in the right-click context menu. To import, you need to select the Import Virtual Machine option in the Action panel.
That’s all! Hope this tutorial helped you import and export virtual machines in Hyper-V.
Read: Best free Backup software for VMware and Hyper-V virtual machines.