今天我被这个臭名昭着的2012R2错误彻底击败了:
Server Manager could not start the task due to the following error: Failed to open the runspace pool. The Server Manager WinRM plug-in might be corrupted or missing.
我已经多次尝试在 这里和这里提出的每个解决scheme。
没有运气。 事件日志中没有单个错误。 因为我可以添加 – 删除angular色与Powershell或完全擦拭这台机器。 我仍然在寻找这个简单问题的正常解决scheme。
进一步的testing表明,我的错误是可重复的。 我已经testing了处女默认完全更新的Windows Server 2012 R2标准安装,并能够重现它。 本声明之后出现问题:
winrm invoke Restore http://schemas.microsoft.com/wbem/wsman/1/config/plugin @{}
全部细节如下。 有任何想法吗?
域控制器从win2008 R2升级到2012R2后,一切工作完美无缺。
[dcdiag / fix / q]没有显示出下面的错误。
升级后几小时内发生错误(不是立即):
来源:Microsoft-Windows-WinRM
事件ID:10155
级别:错误
描述:
WSMan服务无法读取以下插件的configuration:
Microsoft.ServerManager。
收到的错误是-2144108144:%% - 2144108144
WS-Management服务无法处理请求。 插件configuration:“Microsoft.ServerManager”已损坏。 这个插件需要重新configuration或删除。 使用以下命令删除插件configuration
winrm删除http://schemas.microsoft.com/wbem/wsman/1/config/plugin?Name=xyz
或者使用以下命令恢复默认的插件configuration。 请注意,在恢复操作过程中,所有外部插件都将被取消注册。
winrm调用还原http://schemas.microsoft.com/wbem/wsman/1/config/plugin @ {}。
用户操作
确保这个插件configuration是有效的。
我已经在CMD窗口中运行了:
winrm调用还原http://schemas.microsoft.com/wbem/wsman/1/config/plugin @ {}
然后服务器重新启动服务器pipe理器停止正常工作与第1段中提到的错误。
configuration和Windows细节如下。
PS C:\> winrm quickconfig
WinRM服务已经在这台机器上运行。
WinRM已经在这台电脑上进行远程pipe理。
PS C:\> winrm枚举winrm / config / listener
倾听者
地址= *
传输= HTTP
端口= 5985
主机名
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = 127.0.0.1,192.168.30.6,:: 1
PS C:\>(Get-WmiObject -class Win32_OperatingSystem).Caption
Microsoft Windows Server 2012 R2 Datacenter
PS C:\> [System.Environment] :: OSVersion.Version
专业:6
轻微:3
生成:9600
修订:0
重大修改:0
MinorRevision:0
看来,WinRM / WSMANconfiguration必须重置为默认值。 感谢这篇文章,我发现它在哪里居住。 因此,从新的Win 2012 R2安装将HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WSMANregistry设置复制到问题机器消除了此错误。
以下是2016年10月17日全新更新的Win 2012 R2 Standard(英文版)以下的设置:
Windowsregistry编辑器版本5.00 [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN] “StackVersion”= “2.0” [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \ AutoRestartList] [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \ CertMapping] [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \客户端] [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \监听器] [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \监听\ * + HTTP] [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \插件] [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ WSMAN \ Plugin \ Event Forwarding Plugin] “ConfigXML”= “” [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \插件\ Microsoft.PowerShell] “ConfigXML”=“” [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \插件\ Microsoft.PowerShell.Workflow] “ConfigXML”=“” [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \插件\ Microsoft.PowerShell32] “ConfigXML”=“” [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \插件\ Microsoft.Windows.ServerManagerWorkflows] “ConfigXML”=“” [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ WSMAN \ Plugin \ SEL插件] “ConfigXML”=“” [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ WSMAN \ Plugin \ WMI Provider] “ConfigXML”= “” [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \ SafeClientList] “WSManSafeClientList”=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01 [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \服务] “allow_remote_requests”= DWORD:00000001 [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \ WinRS] [HKEY_LOCAL_MACHINE \ SOFTWARE \微软\的Windows \ CurrentVersion \ WSMAN \ WinRS \ CustomRemoteShell]
下面的链接帮助解决了这个问题,而无需编辑我的registryhttp://www.lukebrowning.com/sysadmin/windows/windows-server-2012-winrm-corrupt-or-missing/