博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
hyper-v管理器链接虚拟机报错“授权认证过期”
阅读量:7077 次
发布时间:2019-06-28

本文共 1850 字,大约阅读时间需要 6 分钟。

解决方法如下:

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

解决方法如下:

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

 

Thanks to Mark at  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

转载地址:http://vwjml.baihongyu.com/

你可能感兴趣的文章
JedisTemplate
查看>>
Lua 笔记--串行化、require和模板
查看>>
我的友情链接
查看>>
仿PHP的Base64编码(支持中文、兼容PHP)
查看>>
虚拟机linux的ip和dns设置
查看>>
网络行为审计技术深度解析
查看>>
集成支付宝钱包支付iOS SDK的方法与经验
查看>>
8月9日vim作业
查看>>
腾讯微博android授权 SharedPreferences用法
查看>>
图文详解YUV420数据格式
查看>>
nginx 【logformat】日志格式
查看>>
【Linux系列】【基础版】第四章 Shell基础之正则表达式
查看>>
JWT 在 Spring 上的实践
查看>>
释放linux缓存
查看>>
4、C语言 —— 基本运算
查看>>
js判断是否是ipad还是iphone及各手机用户
查看>>
同时添加多个github ssh key的方法
查看>>
Essential Grid for ASP.NET MVC
查看>>
PDA使用异常指导手册
查看>>
goroutine背后的系统知识
查看>>