Link to home
Start Free TrialLog in
Avatar of tnywos
tnywosFlag for Denmark

asked on

Unable to list/add roles/features in Windows Server 2008

I have a Windows Server 2008 with no additional updates.
The system seems to work proberly, but I can not list roles or features.
The problem occour after I activated the OS.
The following error is found in "Event viewer - Applications and Services -  Microsoft - Windows - ServerManager - Operational"

Log Name:      Microsoft-Windows-ServerManager/Operational
Source:        Microsoft-Windows-ServerManager
Date:          23-01-2009 13:28:44
Event ID:      1601
Task Category: None
Level:         Error
Keywords:      
User:          xxxxxx\administrator
Computer:      SATURN.xxxxxx.local
Description:
Could not discover the state of the system. An unexpected exception was found:
System.Runtime.InteropServices.COMException (0x800B0100): No signature was present in the subject. (Exception from HRESULT: 0x800B0100)
   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 have search all places I can think of, but no one have a solution.
Avatar of Netman66
Netman66
Flag of Canada image

What happens from an Elevated CMD prompt if you run this command:?

ServerManagerCmd -query

I suspect the same.  There is a role that was added or removed that never completed sucessfully.  You have to determine what role and reinstall/re-remove it.



Avatar of tnywos

ASKER

What do you mean with an Elevated CMD, is it not a normal CMD?

If i run the command "ServerManagerCmd -query" it response:

Error: Failed to initialize.

/ Torben
Ok, this is server, sorry about that.

One of the roles you added or removed is corrupt.  You'll need to use Program and Features in Control Panel to remove the last role you added, reboot, then re-add it.

Avatar of tnywos

ASKER

It is not posible to list, add or remove any roles.
I have tried to remove from within Programs and Features. And when i click on Remove Roles the following error occours:
"Server Manager encountered an unexpected error while collectiong data about the status of this computer."

I have also tried to use the command line:

C:\>ServerManagerCmd -remove wins -resultPath wininstallresuslt.xml
Error: Failed to initialize.

C:\>ServerManagerCmd -install wins -resultPath wininstallresuslt.xml
Error: Failed to initialize.

C:\>ServerManagerCmd -v
Microsoft (R) Server Manager Command Line Utility Version 6.0.6001.18000
Copyright (C) Microsoft Corporation. All rights reserved.

/ Torben
Avatar of JWise1203
JWise1203

Having exactly the same errors. Any resolution to this issue yet?
Avatar of tnywos

ASKER

No, I haven't found any solutions. I think I have to reinstall the server. And thats bad, because its a GC.
ASKER CERTIFIED SOLUTION
Avatar of McFeast
McFeast

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm having the exact same issue with a clean install of WIndows Server 2008 Standard x64.  
 

WindowsServer2008RolesSummaryErr.JPG
I ran the System Update Readiness Tool recommended above but no luck.  I'm still getting the roles error.  The System Update Readiness Tool trys to install the same update KB947821 over and over. The install is succesful but something is definately wrong.  I went ahead and un-installed all the windows updates to see if  that would help and did not.  I need to add roles and features to this server. Did anyone fix this issue?
 

WindowsServer2008RolesLoadingErr.JPG
Try copying the .mum-files that System Update Readiness Tool reports missing from another server that already has the update installed. I got this tip from Microsoft, and it worked on a server where I had this excact problem. You need to grant your admin account ownership and full control to the c:\windows\servicing\packages folder first, and reboot after you have copied the files over. I did it in safe mode, but I'm not sure thats a requirement.
McFeast ... your answer worked perfectly for me. Thank you!
Great! It has happened on two servers I manage, and I think it might be because I normally have to postpone rebooting after installing updates, even though I can't really tell for sure.
In our case, this issue has occured on three Windows Server 2008 Domain Controllers. Microsoft has confirmed that this issue has occured on "a lot" of Windows Server 2008 machines. They are actually fixing the security update that causes this problem.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, we are having this same problem and I am trying to follow the instruction above.

Here is what I have done:
** Downloaded this: Cumulative Security Update for Internet Explorer 7 in Windows Server 2008 x64 Edition (KB961260)
** Renamed it to .CAB
** Extracted the Files.
** Looked at CheckSUR.persist.log

These are the files that are failing according to our CheckSUR.persist.log
(f) CBS MUM Missing 0x00000002 servicing\packages\Package_for_KB961260_server_0~31bf3856ad364e35~amd64~~6.0.1.3.mum            
(f) CBS MUM Missing 0x00000002      servicing\packages\Package_for_KB961260_server~31bf3856ad364e35~amd64~~6.0.1.3.mum            
(f) CBS MUM Missing 0x00000002      servicing\packages\Package_for_KB961260~31bf3856ad364e35~amd64~~6.0.1.3.mum

Ok, at this point I get confused on your directions.
There are 3 different files failing in the CheckSUR.persist.log
They have similar names, but are slightly different. (server~31bf3856ad364e35, server_0~31bf3856ad364e35, ~31bf3856ad364e35)

So I copied all 3 of these .mum files (From new Cab download) to my desktop. (Along with counterpart .CAT File)
In the end, I have SIX files on my desktop plus the update.cat and update.mum (8 total)

Now, it says to Rename the UPDATE files to this:
Package_for_KB961260~31bf3856ad364e35~amd64~~6.0.1.3.cat
Package_for_KB961260~31bf3856ad364e35~amd64~~6.0.1.3.mum

So, I have 8 total files now and the Update.mum and update.cat are renamed as shown.

Now the instructions say to copy the files (all 8) to c:\windows\servicing\packages
When I try this, I get an error that I dont have permission. I tried logging in a few different ways.
I even tried modifying the rights to the c:\windows\servicing\packages folder to allow the copy but windows won't allow that either.

Any Suggestions on the copy?
Am I doing this correctly?
I am not sure if copying all these files from the CheckSUR.persist.log (6 + update.cat and update.mum) is correct
Help!
You may need to give your account ownership over the Packages folder first, then give full control permissions.

I used the option to find the missing files in the same folder on another server with the same OS where the update was successful, which involves a little less effort than the full procedure. Both procedures have worked fine for me, though.
Run a windows update. Determine what update/updates are failing. Write down the KB (Knowledge Base) number.  Locate the update online on Microsoft site and download to your computer. Remember where you downloaded the file. Rename the download file to .CAB. Extract the .CAB folder allowing access to the files. Look in your :\windows\logs\cbs\ CheckSUR.persist.log to see what is wrong.  Identify the problem. In yoru case:
Package_for_KB961260_server_0~31bf3856ad364e35~amd64~~6.0.1.3.mum
Package_for_KB961260_server~31bf3856ad364e35~amd64~~6.0.1.3.mum
Package_for_KB961260~31bf3856ad364e35~amd64~~6.0.1.3.mum
The files above are reporing errors apparently.  Search the downloaded cab for the files listed above.  Once you find the file you want the .cab and .mum for each file. You should search and locate 6 files in your downloaded cab if your having problems with 3 files from the CheckSUR.persist.log file.
Copy the 6 "new" files from your .cab download into the c:\windows\servicing\packages location.  
Make sure your the domain or local administrator.  Make sure that the Windows Update program is not open or any other program that may be locking the C:\windows\servicing\packages location.  Check the permissions of the folder and make sure you can add files.
Let me know if your still having problems.  Try re-booting the server after making adjustments to permissions.
Best of luck.  
Avatar of tnywos

ASKER

I have tried the above suggestions, and it didn't work.
If I view Update history it shows more installed updates and several lines with the failing update KB953838.
the kb953838 is last tried to install on 14. october 2008.
If I view Installed Updates, it say that no updates are installed.
 
tnywos:
I'm assuming you cannot access the Server Manager Roles due to an error? Can you bring us up to speed with your issue. Have you looked in the C:\windows\logs\cbs\ CheckSUR.persist.log  and identify what update is not installing?  It looks like the KB953838 has not installed properly. Have you located the proper files in the .CAB and moved them into the c:\windows\servicing\packages location?
Avatar of tnywos

ASKER

I have still this error in the CheckSUR.log file:
================
Checking System Update Readiness.
Version 6.0.6001.22275
2009-03-10 01:25

Checking Deployment Packages

Checking Package Manifests and catalogs.

Checking package watchlist.

Checking component watchlist.

Checking packages.
(f)      CBS MUM Missing      0x00000002      servicing\packages\Package_for_KB953838_server~31bf3856ad364e35~amd64~~6.0.1.3.mum            

Checking component store

Checking SMI Store
Summary:
Milliseconds: 240730
 Found 1 errors
  CBS MUM Missing Total Count: 1

================

I have also tried to copy the file "Package_for_KB953838_server~31bf3856ad364e35~amd64~~6.0.1.3.mum" from an equal server.
I wonder why the failure is for amd64, because the server is with a Intel CPU.
2 files need to be copied from your extracted .CAB over into the \packages folder. You may already have done this but lets verify that both files from below have been moved.
Package_for_KB953838_server~31bf3856ad364e35~amd64~~6.0.1.3.mum
Package_for_KB953838_server~31bf3856ad364e35~amd64~~6.0.1.3.cat
 
 
Ok, I wanted to let everyone know this solution worked. However logging in as local admin, domain admin etc did not work until I took Ownership of the folder as a local admin. I am not sure why this was needed, but after taking ownership the copy competed. Before that I was getting access denied errors.

It also prevented me from adding another account with elevated rights to that folder.
Until I took owner that it...

Anyway, this solution does work so thanks to all involved. These things can eb a bit tricky sometimes...

Same Issue However it is KB967190.  I have spent the past two days trying to fix.  I have done everything on here as well as used Aaron Stebners tool to remove all .Net and reinstalled.
http://blogs.msdn.com/astebner/pages/8904493.aspx

Please help becasue I too have no ability to add Roles and Features.

ISystem Readiness Tool Shows the following:

=================================
Checking System Update Readiness.
Version 6.0.6001.22275
2009-03-21 03:52

Checking Deployment Packages

Checking Package Manifests and catalogs.

Checking package watchlist.

Checking component watchlist.

Checking packages.
(f)      CBS MUM Missing      0x00000002      servicing\packages\Package_for_KB967190~31bf3856ad364e35~amd64~~6.0.1.0.mum            

Checking component store

Checking SMI Store
Summary:
Milliseconds: 351951
 Found 1 errors
  CBS MUM Missing Total Count: 1

I have extracted the .msu through CLI and also renamed and extracted .cab file.  Either way I can not find that package.  There are many like it however they are have either server or client in them as shown below, regardless they are not the exact same as shown in the log.  

package_for_kb967190_client_0_bf~31bf3856ad364e35~amd64~~6.0.1.0.cat
Sorry I posted an example of a .cat file but the .mum files are the same.
package_for_kb967190_client_0_bf~31bf3856ad364e35~amd64~~6.0.1.0.mum

Thanks!
Hi I have the same problem it seems to be related to server 2008 64 bit only can anyone confirm