hyper-v管理器链接虚拟机报错“授权认证过期”

简介:

解决方法如下:

微软的一个服务基本上就是1年的期限,真的很过分,增加维护量啊。

解决方法如下:

HOWTO: Resolve “Cannot connect to the virtual machine because the authentication certificate is expired or invalid”

 

Thanks to Mark at http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/1a3e8f1b-379b-4569-9b39-bb568d2a7e3f/ for the answer below:

Here is what you need to do, there is a certificate for the Hyper-V Virtual Machine Management service that has expired. By default the certificate is a self signed certificate and is only good for one year. Here is how to resolve it: 
1) Open Services.msc and go to the Hyper-V Virtual Machine Management service and stop the service. 
2) Next go to Start - Run and enter MMC - Ok 
3) In the MMC go to File - Add/Remove Snap-in, in the list of Available snap-ins select Certificates then Add. 
4) In the next window select Service Account and Next. In the Select Computer select the default of Local Computer then Next. 
5) Now under the Service Account drill down to the Hyper-V Virtual Machine Management and select it then Finish and OK. 
6) Now in the left hand pane expand Certificates, vmms\Personal and highlight Certificates. In the right hand pane double click on the certificate, should show the Issued To as the host machine name. 
7) On the General tab of the certificate at the bottom it should show Valid from and a starting and ending date. The problem is that the certificate has expired. 
8) Now close the window for the certificate and then in the right hand pane right click and select delete. 
9) Go back to the Services.msc and restart the Hyper-V Virtual Machine Management service. 
10) Back to the MMC console and refresh the Personal\Certificates and you should see a new one there. Double click on it and verify the new valid dates. 
11) To be able to access the VM's now you will either have to restart the VM or simply use the save state then start the VM back up. 

本文转自    yuxye   51CTO博客,原文链接:http://blog.51cto.com/fishvsfrog/690029

相关文章
【YashanDB知识库】虚拟机重启后启动YMP报错
在虚拟机重启后,使用 `ymp.sh` 启动 YMP 时出现 8093 端口报错。经分析,8093 端口为 yasom 使用端口,报错原因为 yasom 进程未启动。解决方法为启动 yasom 和 yasagent 进程,命令分别为:`yasboot process yasom start -c ymp` 和 `yasboot process yasagent start -c ymp`。若提示 `yasboot` 无法识别,需先通过 `source yashan-migrate-platform/db/conf/ymp.bashrc` 设置环境变量。
|
6月前
|
运维 虚拟化 Windows
Hyper-V Win8虚拟机启动错误修复教程
针对Hyper-V Win8虚拟机启动错误,本教程提供详细修复步骤。首先进行硬件兼容性检查,确保CPU支持虚拟化并启用,同时检查内存和存储空间是否充足。接着以管理员身份登录,使用事件查看器排查错误。管理Hyper-V服务,确保相关服务正常运行。检查虚拟机状态,优化资源分配,并修复虚拟硬盘文件。更新系统和重装Hyper-V组件也是有效手段。最后,排查硬件故障、备份数据及处理第三方软件冲突。通过这些步骤,多数启动问题可得到解决。
|
6月前
|
存储 网络协议 网络安全
Hyper-V Win10虚拟机配置常见问题
在配置Hyper-V Win10虚拟机时,用户常面临网络连接、虚拟交换机配置、资源分配及其他问题。例如,虚拟机无法获取IP地址可能源于DHCP服务异常,需检查并启动该服务;外部虚拟交换机配置错误则需确保物理网络适配器正确连接。此外,内存不足或虚拟硬盘性能瓶颈也会影响运行效果。通过合理调整资源配置、优化设置及遵循最佳实践,可有效解决这些问题。
|
6月前
|
监控 网络安全 虚拟化
Hyper-V中Win10,虚拟机运行错误处理的方案
当Hyper-V中的Windows 10虚拟机出现运行错误时,可按以下步骤处理:首先进行基本检查与修复,包括检查虚拟机配置、确保Hyper-V服务正常运行及重启相关服务。其次,使用PowerShell命令或DISM工具修复虚拟机配置和系统组件。接着,查看事件查看器中的错误日志,分析问题原因。调整虚拟机资源分配,优化性能。针对特定错误情况,如启动失败或网络问题,采取相应措施解决。若问题仍未解决,考虑克隆、重置或重新安装虚拟机,必要时联系技术支持。操作前请备份重要数据并以管理员身份运行命令。
|
6月前
|
监控 测试技术 数据库
详解Hyper-V虚拟机CPU分配方法
在Hyper-V环境中,合理分配虚拟机的CPU资源至关重要。vCPU是物理CPU的虚拟化表示,管理员可通过指定处理器数量、核心数、设置兼容性和亲和性、启用动态分配等方法优化性能。使用性能监视工具监控并调整CPU资源,避免过度分配,确保虚拟机稳定运行。定期评估和优化资源分配策略,以适应业务变化,保持最佳性能。
|
6月前
|
安全 网络协议 网络安全
当虚拟机出现网络连接问题时,应该先检查Hyper-V的网卡连接配置
当虚拟机出现网络连接问题时,应首先检查Hyper-V的网卡配置。具体步骤包括:确认虚拟机运行状态、检查虚拟交换机类型和物理网卡连接、确保虚拟机网络适配器正确连接到虚拟交换机,并验证网络配置(IP地址等)。常见问题如虚拟交换机配置错误、网络适配器未连接或防火墙阻止连接,可通过重新配置或调整设置解决。必要时重启虚拟机和宿主机,查看事件日志或联系技术支持以进一步排查问题。
|
6月前
|
虚拟化 网络虚拟化 Windows
导入虚拟机到Hyper-V环境时,理解并配置网络适配器设置是确保网络通信的关键
在Hyper-V环境中,正确配置虚拟机的网络适配器是确保其网络通信的关键。需先启用Hyper-V功能并创建虚拟交换机。接着,在Hyper-V管理器中选择目标虚拟机,添加或配置网络适配器,选择合适的虚拟交换机(外部、内部或私有),并根据需求配置VLAN、MAC地址等选项。最后,启动虚拟机并验证网络连接,确保其能正常访问外部网络、与主机及其他虚拟机通信。常见问题包括无法访问外部网络或获取IP地址,需检查虚拟交换机和适配器设置。
|
6月前
|
编解码 Linux 虚拟化
在Hyper-V虚拟化的图形处理中,怎么调整虚拟机的屏幕分辨率?
在Hyper-V虚拟化中,调整虚拟机屏幕分辨率对提升用户体验和确保应用程序兼容性至关重要。高分辨率可提供清晰图像、提高工作效率,并避免显示异常。调整方法包括通过增强会话模式、虚拟机内部设置或手动编辑配置文件。注意事项包括正确安装显卡驱动、避免过高分辨率及及时保存设置。
|
7月前
【YashanDB 知识库】虚拟机重启后启动 YMP 报错
**标题:虚拟机重启后启动 YMP 报错** 使用 `ymp.sh` 启动 YMP 时,报 8093 端口错误。经分析,8093 端口为 yasom 使用端口,提示 yasom 进程未启动。解决方法为启动 yasom 和 yasagent 进程:`yasboot process yasom start -c ymp` 和 `yasboot process yasagent start -c ymp`。若 `yasboot` 无法识别,需先执行 `source yashan-migrate-platform/db/conf/ymp.bashrc` 设置环境变量。
|
10月前
|
存储 数据安全/隐私保护 数据中心
Incus 6.4 容器和虚拟机管理器发布
【10月更文挑战第26天】
342 2
Incus 6.4 容器和虚拟机管理器发布