最近一個朋友問我,說他安裝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 證書已從服務器上的證書存儲中刪除,因此如今 管理服務沒有分配致使問題的證書。
但願以上內容能夠幫助到你們。