由于Windows Server服务提供商registry服务,Windows SBS 2011 Dashboard + Windows Server *服务将无法启动

我有一个Windows Server SBS 2011盒,有一些与Windows Server服务提供商registry有关的一些奇怪的问题。 许多Windows服务器服务都遇到了问题,并将其追溯到此服务。 这是依赖关系启动和运行没有我能看到的错误。

这是我尝试启动服务时遇到的错误:

Error 1067: The process terminated unexpectedly. 

下面列出了事件查看器错误(2)

View post on imgur.com

和.Net错误:

 Source: .Net Runtime Event ID: 1025 Application: ProviderRegistryService.exe Framework Version: v4.0.30319 Description: The application requested process termination through System.Environment.FailFast(string message). Message: Unhandled exception in OnStart: System.InvalidOperationException: Service ServiceRegistryProvider was not found on computer '.'. ---> System.ComponentModel.Win32Exception: The specified service does not exist as an installed service --- End of inner exception stack trace --- at System.ServiceProcess.ServiceController.GenerateNames() at System.ServiceProcess.ServiceController.get_DisplayName() at Microsoft.WindowsServerSolutions.Common.ServiceUtility.GetDisplayName(String serviceName) at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProductConfigurator.LogServiceStartFailure(String serviceName, String info) at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderRegistry.ServiceShell.OpenHost() at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(String[] args) Stack: at System.Environment.FailFast(System.String, System.Exception) at Microsoft.WindowsServerSolutions.Common.Services.WssgServiceBase.OnStart(System.String[]) at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() 

经过一番研究,我发现了一些类似的情况,1处理了服务使用的端口,我似乎无法find任何地方列出,包括服务的configuration文件。

我最近在文件和整个服务器上运行了一个SFC扫描,它没有返回任何错误。 我正在寻找的是,如果我需要尝试重新安装服务,或者如果它可能是.Net错误等任何帮助,将不胜感激。

我也有这个问题,但是,我发现了一个TechNet线程 ,真正帮助我解决这个问题。 基本上,问题是服务器身份证书从证书存储区被删除了,需要重新生成。 当缺less证书时,会导致“Windows Server服务提供者注册”服务失败,从而导致一系列其他相关服务失败。

我将重新发布与我在下面的TechNet主题中相同的内容。 希望这可以帮助别人!

我有这个完全相同的问题! 非常感谢罗伯特张贴链接到脚本! 这确实是一个惊人的Powershell脚本。

我有和AK772一样的错误,但我select放大脚本指出的另一个问题。 当我运行“testingCA基础设施”步骤时,发现了一些错误。 当我查看脚本正在做什么时,它将registry(HKLM:\ Software \ Microsoft \ Windows Server \ Identity)中的服务器证书指纹与个人证书(使用MMC的证书pipe理单元中的个人证书)进行比较。 当我单独查看它们时,确定registry中的指纹不存在于我的证书存储中。 我不知道这是怎么发生的!

然而,从那里,我改变了我的谷歌search标准,并发现以下优秀的文章: http : //titlerequired.com/2013/04/29/windows-server-2012-essentials-an-error-prevented-the-dashboard-从开/

这告诉了更多关于这个错误,并且展示了如何在registry中重新生成证书标识。 这完全救了我! 一旦我完成了他概述的步骤,即使最后出​​现超时错误,我也可以看到证书指纹在registry中已经更改,现在存在于我的个人证书存储中。

一旦我看到这一点,我试图进入服务,并手动启动停止的“Windows服务器服务提供商注册”服务。 果然,它开始了,这一次没有错误。 最后,我重新启动了服务器,以便所有其他相关服务都能恢复,并重新运行上面的链接脚本,一切都很完美。