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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值