- 时间:2020-05-28 17:55 编辑: 来源: 阅读:
- 扫一扫,手机访问
摘要:Windows 2008 R2服务管理器刷新失败的解决方法
这几天在做实验,一台服务器安装了Windows 2008 R2 X64系统,当我想安装服务器角色的时候,发现无法安装,出现了“服务器刷新失败”,点击它弹出对话框提示“刷新服务器管理器时出现意外错误: 异常来自 HRESULT:0x800F0818。有关详细信息,请参阅事件日志: 诊断、事件查看器、应用程序和服务日志、Microsoft、Windows、服务器管理器、操作” 然后我就查看日志,日志内容如下:
无法发现系统的状态。找到一个意外的异常:
System.Runtime.InteropServices.COMException (0x800706BE): 远程过程调用失败。 (异常来自 HRESULT:0x800706BE)
在 System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
在 Microsoft.Windows.ServerManager.ComponentInstaller.CreateSessionAndPackage(IntPtr& session, IntPtr& package)
在 Microsoft.Windows.ServerManager.ComponentInstaller.InitializeUpdateInfo()
在 Microsoft.Windows.ServerManager.ComponentInstaller.Initialize()
在 Microsoft.Windows.ServerManager.Common.Provider.RefreshDiscovery()
在 Microsoft.Windows.ServerManager.LocalResult.PerformDiscovery()
在 Microsoft.Windows.ServerManager.ServerManagerModel.CreateLocalResult(RefreshType refreshType)
在 Microsoft.Windows.ServerManager.ServerManagerModel.InternalRefreshModelResult(Object state)
开始纠结了,手上有很多Win2008R2的服务器,还是第一次遇到这个问题,开始求助于强大的Google,终于让我在一个国外的博客上找到了解决办法。
[b]解决办法:[/b]
1、 首先下载并安装“系统更新准备工具”地址:[url=http://support.microsoft.com/kb/947821]http://support.microsoft.com/kb/947821[/url]
2、 获取c:\Windows\Servicing\Packages目录的所有权
takeown /F c:\Windows\Servicing\Packages /D y /R
3、 赋予登陆用户对c:\Windows\Servicing\Packages目录完全控制权限
cacls c:\Windows\Servicing\Packages /E /T /C /G "UserName":F //username为当前登陆用户名
4、打开C:\Windows\Logs\CBS目录下的CheckSUR.log文件,会看到类似如下内容
[url=http://blogs.technet.com/b/roplatforms/archive/2010/05/12/how-to-fix-server-manager-errors-after-installing-updates-hresult-0x800f0818-hresult-0x800b0100.aspx]How to fix Server Manager Errors after installing updates (HRESULT:0x800F0818 / HRESULT:0x800B0100)[/url]
编程素材网小编注:个人感觉上面的操作不太容易,经过测试比较麻烦,还是重新做下系统,然后安装好iis,再安装补丁。