Val*_*nho 4 windows powershell iis-8 server
当我尝试在 Windows Server 2012 R2 下打开服务器管理器角色时,出现以下错误:
Server Manager is collecting inventory data. The wizard will be available after data collection finishes.
Run Code Online (Sandbox Code Playgroud)
单击“确定”按钮后没有任何反应,因此我尝试打开“所有服务器”列表并看到以下错误:
Refresh failed. More...
Configuration refresh failed with the following error. the account specified for this service is different from the account specified for other services running in the same process.
Run Code Online (Sandbox Code Playgroud)
Google 搜索得出以下解决方案,这些解决方案不起作用和/或不适用于 Windows Server 2012 和服务器管理器:
https://support.microsoft.com/en-us/kb/2478117
我也尝试过从 mofcomp 自动恢复的许多错误,但失败了,如多个网页中所建议的,例如http://www.tomshardware.com/answers/id-2058623/error-message-add-roles-features-hyper-server -2012-服务器管理器-收集-库存-data.html
我还尝试通过 Powershell 安装 Windows 功能,但得到了完全相同的错误:
Powershell:获取 WindowsFeature
错误:
Get-WindowsFeature : The account specified for this service is different from the account specified for other services
running in the same process.
At line:1 char:1
+ Get-WindowsFeature
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : DeviceError: (Microsoft.Manag...rDetailsHandle):CimException) [Get-WindowsFeature], Exce
ption
+ FullyQualifiedErrorId : UnSupportedTargetDevice,Microsoft.Windows.ServerManager.Commands.GetWindowsFeatureComman
d
Run Code Online (Sandbox Code Playgroud)
有人有解决这个问题的可行方法吗?
小智 6
请尝试使用以下方法:
使用管理员权限打开命令提示符并执行如下:
cd C:\Windows\System32\wbem\AutoRecover
for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
Run Code Online (Sandbox Code Playgroud)
完成后,您可以启动服务器管理器并开始再次添加角色和功能。
| 归档时间: |
|
| 查看次数: |
33717 次 |
| 最近记录: |