Sunday 31 March 2013

Roles and Features showing an error HRESULT: 0x800F0818 in Server Manager of windows server 2008 R2

When you open Server Manager both Roles and Features display Error and you are unable to add any role or features. When you select the details link it displays error: HRESULT: 0x800F0818.

You also get the event ID :1601 in event logs.


Rsolution:
1) Browse to c:\Windows\Logs\CBS\


2) Copy the CBS.log to c:\Temp


3) Search the file for errors: corruption or failed


Example:
2012-01-10 19:47:55, Info  CBS  Mark store corruption flag because there is a
mismatch between package identity
package:
Package_for_KB2511455_RTM~31bf3856ad364e35~amd64~~6.1.1.0.
[HRESULT= 0x00000000 - S_OK] 2012-01-10 19:47:55, Info CBS Identity mismatch:
Specified Identity:Package_for_KB2511455_RTM~31bf3856ad364e35~amd64~~6.1.1.0,
actual package Identity:
Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~6.1.7600.16385
[HRESULT = 0x800f0818 - CBS_E_IDENTITY_MISMATCH] 2012-01-10 19:47:55, Info
CBS  Failed to resolve package [HRESULT = 0x800f0818 - CBS_E_IDENTITY_MISMATCH]


4) The above highlighted text indicates that there is an issue with the KB2511455.


5) Download KB2511455 update.


6) Unpack the downloaded KB using the following command:
    Expand -F:* UpdateKBXXXX.msu c:\Temp\KBXXXX_Unpackage


7) After you expand the file you will see UpdateKBXXXX.cab File. Expand it as well using the following command:
    Expand -F:* UpdateKBXXXX.CAB c:\Temp\KBXXXX_Unpackage\CAB


8) Run the following command for taking ownership to the c:\Windows\Servicing\Packages folder.
    takeown /F c:\Windows\Servicing\Packages /D y /R


9) Give a full access to your user account to the c:\Windows\Servicing\Packages folder.


10) Explore c:\Windows\Servicing\Packages folder and rename the following files :
    package_for_kb2511455_rtm~31bf3856ad364e35~amd64~~6.1.1.0.cat
    package_for_kb2511455_rtm~31bf3856ad364e35~amd64~~6.1.1.0.mum


11) Copy the above files from c:\Temp\KBXXXX_Unpackage\CAB
 to c:\Windows\Servicing\Packages folder


12) Server Manager should open as expected now.

No comments:

Post a Comment