最近一个朋友问我,说他安装Exchange 2013安装时候报了一个错误,不知道咋回事,问我遇到过吗。服务器
我看了一眼,呵呵,今年看来真该找个寺庙拜拜佛了,这个问题是我遇到的第四次了,17年就遇到了3次,哎,今天就给你们分享下该问题的解决方案,废话很少说,咱们来看看问题。ide
问题描述:this
Error:3d
The following error was generated when “$error.Clear();日志
$keyPath = “HKLM:SoftwareMicrosoftWebManagementServer”; if (!(Get-Item $keyPath -ErrorAction SilentlyContinue)) { New-Item $keyPath -Force } Set-ItemProperty -path $keyPath -name “EnableRemoteManagement” -value 0x1 -Type DWORD -Force; if (Get-Service WMSVC* | ?{$_.Name -eq ‘WMSVC'}) { Set-Service WMSVC -StartupType Automatic Stop-SetupService -ServiceName WMSVC; Start-SetupService -ServiceName WMSVC } ” was run: “Microsoft.Exchange.Configuration.Tasks.ServiceDidNotReachStatusException: Service ‘WMSVC' failed to reach status ‘Running' on this server.at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)code
at Microsoft.Exchange.Configuration.Tasks.Task.WriteError(Exception exception, ErrorCategory category, Object target)server
at Microsoft.Exchange.Management.Tasks.ManageSetupService.WaitForServiceStatus(ServiceController serviceController, ServiceControllerStatus status, Unlimited1 maximumWaitTime, Boolean ignoreFailures, Boolean sendWatsonReportForHungService)blog
at Microsoft.Exchange.Management.Tasks.ManageSetupService.StartService(ServiceController serviceController, Boolean ignoreServiceStartTimeout, Boolean failIfServiceNotInstalled, Unlimited1 maximumWaitTime, String[] serviceParameters)事件
at Microsoft.Exchange.Management.Tasks.ManageSetupService.StartService(String serviceName, Boolean ignoreServiceStartTimeout, Boolean failIfServiceNotInstalled, Unlimited`1 maximumWaitTime, String[] serviceParameters)ip
at Microsoft.Exchange.Management.Tasks.StartSetupService.InternalProce***ecord()
at Microsoft.Exchange.Configuration.Tasks.Task.<Proce***ecord>b__b()
at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)”.
解决方案:
此问题的常见缘由是WMSVC 证书已从服务器上的证书存储中删除,因此如今 管理服务没有分配致使问题的证书。
但愿以上内容能够帮助到你们。