Answered by:
Server Manager Refresh Failed error 800F0818

Question
-
Any help would be great
I am running Windows Server 2008 SP2 x64 R1. I have all the latest security patches applied. When i open Server Manager and attempt to view the Roles or Features I get a refresh failed error with the error details below.
"Unexpected error refreshing Server Manager: Exception from HRESULT: 0x800F0818"
I checked the Server Manager Log and found a larger number of the Event ID 1601 shown belowAn unexpected exception was found: System.Runtime.InteropServices.COMException (0x800F0818): Exception from HRESULT: 0x800F0818 at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at Microsoft.Windows.ServerManager.ComponentInstaller.CreateSessionAndPackage(IntPtr& session, IntPtr& package) at Microsoft.Windows.ServerManager.ComponentInstaller.InitializeUpdateInfo() at Microsoft.Windows.ServerManager.ComponentInstaller.Initialize() at Microsoft.Windows.ServerManager.Common.Provider.Initialize(DocumentCollection documents) at Microsoft.Windows.ServerManager.ServerManagerModel.InternalRefreshModelResult(Object state)
I tried the Server Manager command line tool ServerManagerCMD.exe but the command "ServerManagerCMD.exe -query" produced the error message below.
"Error: Failed to intialize."
Although I get a different error in Server Manager that the people that update Windows6.0-KB947821-v5-x64.msu seems to help I ran it anyway to see what the log would show in the CheckSUR.log. The log below shows no errors but one waring.=================================
Checking System Update Readiness.
Binary Version 6.0.6002.22202
Package Version 6.0
2009-09-28 19:01
Checking Windows Servicing Packages
Checking Package Manifests and Catalogs
Checking Package Watchlist
Checking Component Watchlist
Checking Packages
Checking Component Store
Summary:
Seconds executed: 263
No errors detected
(w) Unable to get system disk properties 0x0000045D IOCTL_STORAGE_QUERY_PROPERTY Disk Cache
Wednesday, September 30, 2009 11:55 PM
Answers
-
I seem to have fixed my error.
I found that the sand box switch /s: did not seem to be working; files were left in the same directory as the cabs after a given cab had run.
Lets say I had two cabs in one folder to apply with pkgmgr.
Cab1.cab
Cab2.cab
I run the command line
pkgmgr /ip /norestart /m:Cab1.cab
The cab gets expanded to same directory as the cab files and then installed. After the install the expanded files are not removed.
When I go to apply the second cab there is still abunch of stuff from the first one left in the folder.
so i run command line below
pkgmgr /ip /norestart /m:Cab1.cab
reboot and get the server manager error.
If however I move each Cab file to a special folder apply it with the command line then delete everything in the folder I can apply all the patches without creating the issue.
Hope this helps some one.- Marked as answer by MrWillieMatt Friday, October 9, 2009 7:22 PM
Friday, October 9, 2009 7:20 PM
All replies
-
I had some additional thoughs on this issue.
I checked the %systemroot%\System32\ServerManager\Cache directory and found no files present. I think server manager is suppose to create two filesCbsUpdateInfo.bin
CbsUpdateState.bin
I checked the permissions on this folder and both Administrators and System have full control.
As part of a generic windows hail mary I attempted to reapply SP 2. This OS was installed with SP slip streamed. When I ran the SP2 install it told me SP 1 had to be installed first. I cannot find a download for 2008 x63 SP 1 so that was a dead end.Thursday, October 1, 2009 8:22 PM -
Hi,
Is your computer a DC? If not, I suggest trying below:
1. Close all applications, and then restart the computer.
2. Insert the Windows Server 2008 DVD in the computer's DVD drive.
3. In the Setup window, click Install Now.
Note If Windows does not automatically detect the DVD, follow these steps:
a. Click StartCollapse this imageExpand this image, and then type Drive:\setup.exe in the Start Search box.
Note The Drive placeholder is the drive letter of the computer's DVD drive.
b. In the Programs list, click Setup.exe.
c. In the Setup window, click Install Now.
4. Click Go online to obtain the latest updates for installation (recommended).
5. Type the CD key if you are prompted to do this.
6. Click Yes to accept the Microsoft Software License Terms.
7. On the Which kind of installation do you want? screen, click Upgrade.
8. When the installation is complete, restart your computer, and then try to install the updates.
Hope it helps.
Tim Quan - MSFT
Friday, October 2, 2009 3:37 AM -
Thanks for the feedback
I attempted the follow the steps provided but the Upgrade option on step 7 is always greyed out. A new install is the same are rebuilding correct?Friday, October 2, 2009 10:33 PM -
Hi,
What edition of Windows Server 2008 are you running? When running setup.exe, please input the correct product key for your current edition of Windows Server 2008. Or you can skip entering the key and select the correct edition of Windows Server 2008. Then the Upgrade option should be available.
Tim Quan - MSFT
Monday, October 5, 2009 3:47 AM -
Thanks I will try thatTuesday, October 6, 2009 12:32 PM
-
Sorry I did not read the error message closely enough before. I was not getting the Upgrade option because i had less than 13 GB of free space on the C: dirive. I cleared out some space ran the upgrade and now I can get into the roles and features.
Reapplying patches now to see if issue reoccurs.Wednesday, October 7, 2009 6:20 PM -
I applied the patches below and the problem with Server Manager reappears with the same error code(800F0818).
http://download.windowsupdate.com/msdownload/update/software/secu/2009/08/windows6.0-kb971961-x64_019066affc23b66f2356de8b2a9f9d0226f2b40f.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb971557-x64_8e29a45efc413b8681c89e95082573542551cfd7.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/08/windows6.0-kb967723-x64_01d480d858f1b0b052959872a0ec23dc84ce4638.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/06/windows6.0-kb961371-x64_31802c93c4d5b2096a88e740c270451b7411c2d1.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/06/windows6.0-kb961371-x64_31802c93c4d5b2096a88e740c270451b7411c2d1.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb973346-x64_1d571df671136671818ec3be78b9086601a4a252.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb973507-x64_98884b7b41036bbc5d6a79685330131d6e76f0cc.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/05/windows6.0-kb968537-x64_8c091c024ac3cb670619cc03b5c404cd7c245133.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/05/windows6.0-kb961501-x64_178549c115dc6239553cbc490335d67b92f47450.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/05/windows6.0-kb970238-x64_6fa3eb8762ae13e0339bed30c537e9b62afeb4a6.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb971657-x64_9548671422242a6a09ad9b05da60d6840d65e354.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb972260-x64_c00c51e708961e56abb7fda704a50fc2c33b2700.cab
all patches where applied using the command line below
for /f %i ('dir *.cab') do start /w pkgmgr /ip /norestart /s:"%temp%" /m:%i
I used MBSA to identify the patches and I downloaded fresh copies.Wednesday, October 7, 2009 9:41 PM -
I applied the patches below and the problem with Server Manager reappears with the same error code(800F0818).
http://download.windowsupdate.com/msdownload/update/software/secu/2009/08/windows6.0-kb971961-x64_019066affc23b66f2356de8b2a9f9d0226f2b40f.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb971557-x64_8e29a45efc413b8681c89e95082573542551cfd7.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/08/windows6.0-kb967723-x64_01d480d858f1b0b052959872a0ec23dc84ce4638.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/06/windows6.0-kb961371-x64_31802c93c4d5b2096a88e740c270451b7411c2d1.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/06/windows6.0-kb961371-x64_31802c93c4d5b2096a88e740c270451b7411c2d1.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb973346-x64_1d571df671136671818ec3be78b9086601a4a252.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb973507-x64_98884b7b41036bbc5d6a79685330131d6e76f0cc.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/05/windows6.0-kb968537-x64_8c091c024ac3cb670619cc03b5c404cd7c245133.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/05/windows6.0-kb961501-x64_178549c115dc6239553cbc490335d67b92f47450.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/05/windows6.0-kb970238-x64_6fa3eb8762ae13e0339bed30c537e9b62afeb4a6.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb971657-x64_9548671422242a6a09ad9b05da60d6840d65e354.cab
http://download.windowsupdate.com/msdownload/update/software/secu/2009/07/windows6.0-kb972260-x64_c00c51e708961e56abb7fda704a50fc2c33b2700.cab
all patches where applied using the command line below
for /f %i ('dir /b *.cab') do start /w pkgmgr /ip /norestart /s:"%temp%" /m:%i
I used MBSA to identify the patches and I downloaded fresh copies.Wednesday, October 7, 2009 9:45 PM -
Please do not use this command to install these updates. Please use Windows Update to install them.
Thursday, October 8, 2009 1:36 AM -
Is there another way to install them? The system is on an isolated network.
1) I used MBSA to get the download URLs for the applicable patches.
2) Copied these URLs to a a text document and used the URLs on an internet connected PC to to download them.
3)Moved the downloaded patches with the thumb drive.
5) Installed the patches with the command line in the previous post.Friday, October 9, 2009 5:09 PM -
I seem to have fixed my error.
I found that the sand box switch /s: did not seem to be working; files were left in the same directory as the cabs after a given cab had run.
Lets say I had two cabs in one folder to apply with pkgmgr.
Cab1.cab
Cab2.cab
I run the command line
pkgmgr /ip /norestart /m:Cab1.cab
The cab gets expanded to same directory as the cab files and then installed. After the install the expanded files are not removed.
When I go to apply the second cab there is still abunch of stuff from the first one left in the folder.
so i run command line below
pkgmgr /ip /norestart /m:Cab1.cab
reboot and get the server manager error.
If however I move each Cab file to a special folder apply it with the command line then delete everything in the folder I can apply all the patches without creating the issue.
Hope this helps some one.- Marked as answer by MrWillieMatt Friday, October 9, 2009 7:22 PM
Friday, October 9, 2009 7:20 PM -
I have had the exact same problem, and now have 3 completely goosed Windows 2008 Enterprise SP2 servers.
I have tried various different things to resolve the issue, but I am getting nowhere!
I am alarmed that the only solution seems to be a complete reload, is this really the only answer?Wednesday, October 28, 2009 5:05 PM -
Since I have updated my method of applying updates the issue has not come up again.Thursday, December 3, 2009 5:38 PM
-
I agree it is ugly, the reinstall alters some of the security settings. This is a big deal here as we get regularly scanned and accessed risk scores.Thursday, December 3, 2009 5:42 PM
-
Hi MrWillieMattYour initial question says you are having problems with server manager but then your solution seems to be to apply updates using a different method.Does applying your updates differently let you back into Server Manager?I am experiencing a similar issue withe server manager error, although all updates have been applied. Again like your setup my servers are on an isolated network so using windows update is not currently possible (until WSUS is setup).I need to add HTTP redirection to IIS but currently cannot as we cannot get into features of server manager.TIAThursday, January 7, 2010 2:55 AM