导入虚拟机时,如果您收到 Hyper-V 未找到要从位置导入的虚拟机(Hyper-V did not find virtual machines to import from location) 错误,这里有一些解决问题的有效解决方案。尽管这是一个不经常出现的异常错误,但您可以在具有多个用户帐户的计算机上得到它。
整个错误消息是这样的:
Hyper-V did not find virtual machines to import from location ‘virtual-machine-path’
The folder ‘virtual-machine-folder-path’ could not be found. You might not have permission to access it.
您遇到此问题的原因有两个,它们是:
- 当您在另一台或同一台计算机上导入虚拟机文件夹时选择它,您必须保持该文件夹完整,直到设置完成。有时,Hyper-V 管理器(Hyper-V Manager)可能需要一些时间才能完成导入过程。同时,如果您从预定义的位置重命名、移动或删除文件夹,您将收到上述错误。
- 如果您的计算机上存在某些文件夹或文件权限问题,您可能会遇到同样的问题。Hyper-V Manager需要在整个过程中访问导出的虚拟机文件夹。如果此虚拟机软件由于权限不足而无法访问您的文件夹,您将面临同样的问题。
Hyper-V未找到要从该位置导入的虚拟机
要修复Hyper-V未找到要从位置导入的虚拟机错误,请执行以下步骤:
- 检查文件夹是否完好
- 检查文件夹权限
- 再次导出虚拟机
要了解有关这些步骤的更多信息,请继续阅读。
1]检查文件夹是否完整
如前所述,当Hyper-V Manager导入虚拟机时,您需要保持导出的虚拟机文件夹完好无损。您不能将其移动到其他位置、删除文件夹或重命名它。因此,请确保所选文件夹包含所有必需的文件,并且位于预定义的位置。
2]检查文件夹权限
如果您的用户帐户没有访问导出的虚拟机文件夹的正确权限,Hyper-V 管理器(Hyper-V Manager)会显示此错误消息。要验证和重新获得文件夹的权限(regain permission of a folder),您可以按照此详细教程进行操作。之后,您可以通过相同的步骤 在 Hyper-V 中导入虚拟机(import virtual machines in Hyper-V)。
3]再次导出虚拟机
如果导出的文件已损坏,则在导入虚拟机时可能会收到相同的错误消息。在这种情况下,最好重新导出虚拟机。为此,您可以按照以下步骤操作:
- 在您的计算机上打开Hyper-V 管理器。(Hyper-V Manager)
- 右键单击虚拟机。
- 选择 导出 (Export )选项。
- 单击 浏览 (Browse )按钮并选择保存文件的路径。
- 单击 导出 (Export )按钮。
现在,您可以毫无错误地导入虚拟机。
Hyper V虚拟机存储在哪里?
默认情况下,Hyper-V将虚拟磁盘存储在 C:UsersPublicDocuments Hyper-V Virtual Hard Disks文件夹中。但是,它将数据文件保存在 C:ProgramDataMicrosoftWindows Hyper-V文件夹中。尽管如此,如果您导出虚拟机,您可以将文件保存在您想要的任何位置。
如何将虚拟机导入Hyper V?
要在Hyper-V(Hyper-V)中导入虚拟机,您的计算机上必须有所有导出文件。然后,您可以打开Hyper-V 管理器(Hyper-V Manager)并单击 右侧可见的导入虚拟机 选项。(Import Virtual Machine )之后,您需要选择导出的文件夹,选择要导入的虚拟机,创建唯一 ID,选择保存配置文件的位置等。完成后,您可以在新的虚拟机上重新访问设置。
就这样!希望本教程能帮助您修复Windows 11/10Hyper-V未找到要从位置导入的虚拟机错误。
阅读: (Read: )Hyper-V 在加载虚拟机配置时遇到错误。(Hyper-V encountered an error while loading the virtual machine configuration.)
Hyper-V did not find virtual machines to import from location
While importing а νirtual machine, if you get Hyper-V did not find virtual machines to import from location error, here are some working solutions to fix the issue. Although it is an unusual error that doesn’t appear frequently, you can get it on a computer with multiple user accounts.
The entire error message says something like this:
Hyper-V did not find virtual machines to import from location ‘virtual-machine-path’
The folder ‘virtual-machine-folder-path’ could not be found. You might not have permission to access it.
There are two reasons why you are getting this problem, and they are:
- When you select the virtual machine folder while importing it on another or the same computer, you must keep the folder intact until the setup is complete. At times, it might take some time for Hyper-V Manager to complete the importing process. In the meantime, if you rename, move or delete the folder from the predefined location, you will get the error mentioned above.
- If there is some folder or file permission issue on your computer, you can get the same problem. Hyper-V Manager needs to access the exported virtual machine folder during the entire process. If this virtual machine software cannot access your folder due to inadequate permission, you will confront the same issue.
Hyper-V did not find virtual machines to import from location
To fix Hyper-V did not find virtual machines to import from location error, follow these steps:
- Check if the folder is intact
- Check the folder permission
- Export the virtual machine again
To learn more about these steps, continue reading.
1] Check if the folder is intact
As mentioned earlier, you need to keep the exported virtual machine folder intact when Hyper-V Manager is importing the virtual machine. You cannot move it to another location, delete the folder, or rename it. Therefore, ensure that the selected folder has all the required files and it is there in the predefined location.
2] Check the folder permission
If your user account doesn’t have the correct permission to access the exported virtual machine folder, Hyper-V Manager shows this error message. To verify and regain permission of a folder, you can follow this detailed tutorial. After that, you can go through the same steps to import virtual machines in Hyper-V.
3] Export the virtual machine again
If the exported files are corrupted, there is a chance of getting the same error message while importing a virtual machine. In such situations, it is better to re-export the virtual machine. For that, you can follow these steps:
- Open the Hyper-V Manager on your computer.
- Right-click on the virtual machine.
- Select the Export option.
- Click the Browse button and select a path to save the files.
- Click the Export button.
Now, you can import the virtual machine without any error.
Where are Hyper V virtual machines stored?
By default, Hyper-V stores the virtual disk in C:\Users\Public\Documents\Hyper-V\Virtual Hard Disks folder. However, it saves the data file in the C:\ProgramData\Microsoft\Windows\Hyper-V folder. Nonetheless, if you export a virtual machine, you can save the files anywhere you want.
How do I import a virtual machine into Hyper V?
To import a virtual machine in Hyper-V, you must have all the export files on your computer. Then, you can open Hyper-V Manager and click the Import Virtual Machine option visible on the right side. After that, you need to choose the exported folder, select the virtual machine you want to import, create a unique ID, select the location to save the configuration files, etc. Once done, you can re-access your virtual machine on the new setup.
That’s all! Hope this tutorial helped you fix the Hyper-V did not find virtual machines to import from location error on Windows 11/10.
Read: Hyper-V encountered an error while loading the virtual machine configuration.