Windows 2008 R2 service manager refresh failed solution

  • 2020-05-15 03:02:46
  • OfStack

During the experiment these days, a server installed Windows 2008 R2 X64 system. When I tried to install the server role, I found that it could not be installed and "server refresh failed" appeared. When I clicked it, the dialog box popped up and prompted "unexpected error occurred when refreshing the server manager: the exception came from HRESULT:0x800F0818". For more information, see event logs: diagnostics, event viewers, application and service logs, Microsoft, Windows, server manager, operations. "then I looked at the logs, which read as follows:

The state of the system could not be found. Find an unexpected exception:
x800706BE System. Runtime. InteropServices. COMException (0) : remote procedure call failed. (abnormal from HRESULT: 0 x800706BE)
In System. Runtime. InteropServices. Marshal. ThrowExceptionForHRInternal (Int32 errorCode, IntPtr errorInfo)
In Microsoft. Windows. ServerManager. ComponentInstaller. CreateSessionAndPackage (IntPtr & session, IntPtr & package)
In Microsoft. Windows. ServerManager. ComponentInstaller. InitializeUpdateInfo ()
In Microsoft. Windows. ServerManager. ComponentInstaller. Initialize ()
In Microsoft. Windows. ServerManager. Common. Provider. RefreshDiscovery ()
In Microsoft. Windows. ServerManager. LocalResult. PerformDiscovery ()
In Microsoft. Windows. ServerManager. ServerManagerModel. CreateLocalResult (RefreshType refreshType)
In Microsoft. Windows. ServerManager. ServerManagerModel. InternalRefreshModelResult (Object state)

I began to struggle. I had many servers of Win2008R2, but it was the first time I encountered this problem. I started to resort to the powerful Google and finally found a solution on a foreign blog.

Solutions:

1, first download and install the "system update to prepare tool" address: http: / / support microsoft. com/kb / 947821
2. Get ownership of the c:\Windows\Servicing\Packages directory
takeown /F c:\Windows\Servicing\Packages /D y /R
3. Give logged-in users full control over the c:\Windows\Servicing\Packages directory
cacls c:\Windows\Servicing\Packages /E /T /C /G "UserName":F //username is the current login username
4. Open C:\Windows\Logs\ Logs\ log and you will see something like the following


=================================
Checking System Update Readiness.
Binary Version 6.1.7600.20667
Package Version 8.0
2010-08-18 13:05
 
Checking Windows Servicing Packages
 
Checking Package Manifests and Catalogs
(f)    CBS MUM Corrupt 0x00000000       servicing\Packages\Package_for_KB2286198_RTM~31bf3856ad364e35~amd64~~6.1.1.1.mum           Expected file name Package_for_KB2286198~31bf3856ad364e35~amd64~~6.1.1.1.mum does not match the actual file name
 
Checking Package Watchlist
 
Checking Component Watchlist
 
Checking Packages
 
Checking Component Store
 
Summary:
Seconds executed: 140
 Found 1 errors
  CBS MUM Corrupt Total count: 1
 
Unavailable repair files:
       servicing\packages\Package_for_KB2286198_RTM~31bf3856ad364e35~amd64~~6.1.1.1.mum
       servicing\packages\Package_for_KB2286198_RTM~31bf3856ad364e35~amd64~~6.1.1.1.cat

5. Download the KB2286198 file that appears on CheckSUR.log to c disk and then run the following command
C:\Windows\system32 > Cd\
C:\ > Expand � F: * Windows6. 1 - KB2286198 - x64. msu c: \ temp
C:\ > Cd temp
C:\Temp > Expand � F: * Windows6. 1 - KB2286198 - x64. cab c: \ temp \ cab

6. Open c:\temp\cab and find the two files that appear in CheckSUR.log

Package_for_KB2286198_RTM~31bf3856ad364e35~amd64~~6.1.1.1.mum
Package_for_KB2286198_RTM~31bf3856ad364e35~amd64~~6.1.1.1.cat

7. Copy the two files to c:\Windows\Servicing\Packages and overwrite the existing files
Here's the problem

Reference article:
How to fix Server Manager Errors after installing updates (HRESULT:0x800F0818 / HRESULT:0x800B0100)

This site this site note: I feel the above operation is not easy, after testing more troublesome, or do the system again, and then install iis, and then install the patch.


Related articles: