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

相关文章
|
23天前
|
Ubuntu Windows
【Ubuntu/Arm】Ubuntu 系统如何链接有线网络(非虚拟机)?
【Ubuntu/Arm】Ubuntu 系统如何链接有线网络(非虚拟机)?
|
1月前
|
数据安全/隐私保护 虚拟化 Windows
如何在 VM 虚拟机中安装 Windows Server 2012 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Windows Server 2012 操作系统保姆级教程(附链接)
77 0
|
1月前
|
数据安全/隐私保护 虚拟化 Windows
如何在 VM 虚拟机中安装 Windows 7 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Windows 7 操作系统保姆级教程(附链接)
92 0
如何在 VM 虚拟机中安装 Windows 7 操作系统保姆级教程(附链接)
|
1月前
|
数据安全/隐私保护 虚拟化 Windows
如何在 VM 虚拟机中安装 Windows XP 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Windows XP 操作系统保姆级教程(附链接)
120 0
|
1月前
|
Linux 网络安全 数据安全/隐私保护
如何在 VM 虚拟机中安装 CentOS Linux 9 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 CentOS Linux 9 操作系统保姆级教程(附链接)
168 0
|
1月前
|
安全 Linux 网络安全
如何在 VM 虚拟机中安装 Red Hat Enterprise Linux 9.3 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Red Hat Enterprise Linux 9.3 操作系统保姆级教程(附链接)
90 0
|
4月前
|
Oracle 关系型数据库 Linux
windows 11 hyper-v中oracle linux虚拟机中添加硬盘
在windows 11自带的hyper-v虚拟机中添加硬盘,并分区
65 6
|
3月前
|
Linux Windows
FinalShell连接Linux虚拟机报错java.net.ConnectException: Connection timed out: connect(亲测有效)
FinalShell连接Linux虚拟机报错java.net.ConnectException: Connection timed out: connect(亲测有效)
164 0
|
1月前
|
存储 Ubuntu Linux
如何在 VM 虚拟机中安装 Deft(数字证据及取证工具箱) 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Deft(数字证据及取证工具箱) 操作系统保姆级教程(附链接)
16 0
|
1月前
|
虚拟化 数据安全/隐私保护 Windows
如何在 VM 虚拟机中安装 Win10 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Win10 操作系统保姆级教程(附链接)
243 0
如何在 VM 虚拟机中安装 Win10 操作系统保姆级教程(附链接)