Windows 7 - Could not discover the state of the system. 0x800706BE

Asked By bartduncan
05-Nov-09 12:07 PM
I have a new install of Windows Server 2008 R2.  I cannot add or remove roles
or features.  In the event log (Apps &
Services\Microsoft\Windows\ServerManager), I get error 1601 (see below).
Another post
(http://social.technet.microsoft.com/Forums/en-US/winservermanager/thread/7216345c-fc73-4bc1-9b54-dcfe224ba59e)
with a similar error suggested that this might be due to a corrupt CBS store.
I downloaded the System Update Readiness Tool, but the CheckSUR.log file
says "No errors detected".  Any other suggestions?  I am stuck...


Log Name:      Microsoft-Windows-ServerManager/Operational
Source:        Microsoft-Windows-ServerManager
Date:          11/4/2009 3:07:50 PM
Event ID:      1601
Task Category: None
Level:         Error
Keywords:
Description:
Could not discover the state of the system. An unexpected exception was found:
System.Runtime.InteropServices.COMException (0x800706BE): The remote
procedure call failed. (Exception from HRESULT: 0x800706BE)
at
System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32
errorCode, IntPtr errorInfo)
at Microsoft.Windows.ServerManager.ComponentInstaller.ThrowHResult(Int32
hr)
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.RefreshDiscovery()
at Microsoft.Windows.ServerManager.LocalResult.PerformDiscovery()
at
Microsoft.Windows.ServerManager.ServerManagerModel.CreateLocalResult(RefreshType refreshType)
at
Microsoft.Windows.ServerManager.ServerManagerModel.InternalRefreshModelResult(Object state)
System Center Virtual Machine Manager
(1)
Windows Server 2008 R2
(1)
Active Directory
(1)
Windows 2008 R2
(1)
Windows Update
(1)
FullyQualifiedErrorId
(1)
Report
(1)
X64
(1)
  bartduncan replied...
05-Nov-09 01:41 PM
This is a clean WS 2008 R2 install.  All I have done is (a) join a domain, (b)
enable Remote Desktop, then (c) install Windows Updates.

Possibly related: I reviewed my update history and noticed that there was
one failed update, for "Windows Update Agent 7.4.7600.226".  The details
linked to http://support.microsoft.com/kb/949104.  I downloaded the WS 2008
R2 x64 version of this package and re-ran it, but the progress bar hung at
~75% after a few minutes, and it has been stuck in that state for over an
hour.  The Back/Next/Cancel buttons are all greyed out, so I cannot do
anything with the dialog.

The system event log says that the Windows Modules Installer service crashed
around the time that the progress bar stopped moving.  The app event log
shows these crash details:

Faulting application name: TrustedInstaller.exe, version: 6.1.7600.16385,
time stamp: 0x4a5bc4b0
Faulting module name: ntdll.dll, version: 6.1.7600.16385, time stamp:
0x4a5be02b
Exception code: 0xc00000fd
Fault offset: 0x00000000000529f0
Faulting process id: 0x178
Faulting application start time: 0x01ca5da12cff7330
Faulting application path: C:\Windows\servicing\TrustedInstaller.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 863f5e93-c995-11de-b89d-0019b9369aca
P1: TrustedInstaller.exe
P2: 6.1.7600.16385
P3: 4a5bc4b0
P4: ntdll.dll
P5: 6.1.7600.16385
P6: 4a5be02b
P7: c00000fd
P8: 0000000000055237

I restarted the Windows Modules Installer service (it promptly crashed
again), and shortly after that the Windows Update Agent Installer wizard
failed with this message: "Install failed with following error number:
0x8024000b"  I do not know if the failure message is related to me restarting
the service.
  Peter Foldes replied...
05-Nov-09 03:04 PM
Please repost this to the Windows Server newsgroup


On the web:
http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.windows.server.general


--
Peter

Please Reply to Newsgroup for the benefit of others
Requests for assistance by email can not and will not be acknowledged.
  PA Bear [MS MVP] replied to bartduncan
05-Nov-09 03:48 PM
[[Forwarded to WinServer General & Security via crosspost]]
  To replied to PA Bear [MS MVP]
13-Nov-09 10:10 AM
I have a (recently installed) Windows 2008 R2 Server experiencing te
same problem.
Did somebody already find a solution for this problem ?

symptoms :
- The Role and Features tabs in servermanager display 'Error' insted
of the usual list. Error details gives : Unexpeected error refreshing
Server Manager: The remo procedurecall faild (Exception from HRESULT:
0x800706BE
- trying to list installed features in Powershell
PS C:\Users\tregeer> Import-Module servermanager
PS C:\Users\tregeer> Get-WindowsFeature
Get-WindowsFeature : Failed to initialize.
At line:1 char:19
+ Get-WindowsFeature <<<<
+ CategoryInfo          : OperationStopped: (:) [Get-
WindowsFeature], COMException
+ FullyQualifiedErrorId :
DiscoveryFailed,Microsoft.Windows.ServerManager.Commands.GetWindowsFeatureCommand


It seems both problems are the result of a crashing
TrustedInstaller.exe (Windows Modules Installer service).
In the eventlog I found this event
* Faulting application name: TrustedInstaller.exe, version:
6.1.7600.16385, time stamp: 0x4a5bc4b0
* Faulting module name: ntdll.dll, version: 6.1.7600.16385, time
stamp: 0x4a5be02b
* Exception code: 0xc00000fd
* Fault offset: 0x00000000000529f0
* Faulting process id: 0xe30
* Faulting application start time: 0x01ca646c0bc49c8a
* Faulting application path: C:\Windows\servicing\TrustedInstaller.exe
* Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
* Report Id: 6dd8b088-d05f-11de-8845-001ec9ce09b4

I alread did run the Microsodt System readyness tool, but this tool
report no errors or problems

After searching for many hours i cant find a clou on how to solve this
issue.
Does anybody have a hint
  mathew3 replied to To
22-Nov-09 06:51 AM
I have also a (recently installed) Windows 2008 R2 Server experiencing the
same problem. I would reinstall the server, but the server is a second
Domain Controller (no rolls). When I try to remove AD with dcpromo I got the
following error:

Installationsprogramm f??r die Active Directory-Dom??nendienste
Es konnte nicht festgestellt werden, ob Active
Directory-Dom??nendienste-Bin??rdateien installiert wurden. Fehler: Der
Remoteprozeduraufruf ist fehlgeschlagen.

That means the binary files for AD-services could not be found and then
rpc-call has an error.

The other symtoms are like tom@hotmail got:

- The Role and Features tabs in servermanager display 'Error' insted
of the usual list. Error details gives : Unexpeected error refreshing
Server Manager: The remo procedurecall faild (Exception from HRESULT:
0x800706BE
- trying to list installed features in Powershell
PS C:\Users\xxx> Import-Module servermanager
PS C:\Users\xxx> Get-WindowsFeature
(errors in german)
Get-WindowsFeature : Fehler bei der Initialisierung.
Bei Zeile:1 Zeichen:19
+ Get-WindowsFeature <<<<
+ CategoryInfo          : OperationStopped: (:) [Get-WindowsFeature],
COMException
+ FullyQualifiedErrorId :
DiscoveryFailed,Microsoft.Windows.ServerManager.Commands.GetWindowsFeatureCommand

In the eventlog I found this event:
Name der fehlerhaften Anwendung: TrustedInstaller.exe, Version:
6.1.7600.16385, Zeitstempel: 0x4a5bc4b0
Name des fehlerhaften Moduls: ntdll.dll, Version: 6.1.7600.16385,
Zeitstempel: 0x4a5be02b
Ausnahmecode: 0xc00000fd
Fehleroffset: 0x00000000000529f0
ID des fehlerhaften Prozesses: 0xea4
Startzeit der fehlerhaften Anwendung: 0x01ca6b60587f1e5e
Pfad der fehlerhaften Anwendung: C:\Windows\servicing\TrustedInstaller.exe
Pfad des fehlerhaften Moduls: C:\Windows\SYSTEM32\ntdll.dll
Berichtskennung: a26f622d-d753-11de-92ef-000c29e27d97

I already did run the Microsodt System readyness tool. Output:

=================================
Checking System Update Readiness.
Binary Version 6.1.7600.20532
Package Version 6.0
2009-11-22 11:29
Checking Windows Servicing Packages
Checking Package Manifests and Catalogs
Checking Package Watchlist
Checking Component Watchlist
Checking Packages
Checking Component Store
Summary:
Seconds executed: 128
No errors detected
(w)	Unable to get system disk
properties	0x0000045D	IOCTL_STORAGE_QUERY_PROPERTY	Disk Cache

A line in CBS.log at the time the error first occures:
2009-11-12 18:36:34, Info                  CBS    Failed to get session
package state for package:
Package_2_for_KB974571~31bf3856ad364e35~amd64~~6.1.1.1 [HRESULT = 0x80070490
- ERROR_NOT_FOUND]

After searching for many hours i cant find a clou on how to solve this
issue.
  Robert Aldwinckle replied to mathew3
22-Nov-09 09:36 AM
Have you tried a manual install instead?

http://support.microsoft.com/?kbid=974571
  M Raymond replied to Robert Aldwinckle
25-Nov-09 11:32 AM
After hours of searching it is amazing to find that others  have that same
exact problem.
Al I did Is Join the server to the domain as a Member Server.

Has anyone found anything yet?
  kaspik replied to M Raymond
26-Nov-09 09:33 AM
same problem here after installing updates...

HP DL380 G6 with proliant support pack for w2k8R2 ... no applications, just
Hyper-V role...

What is your configuration?

kaspik
  kaspik replied to M Raymond
26-Nov-09 09:43 AM
And also I have installed APC PowerChute Business Edition
Agent+Console+Server and Microsoft System Center Virtual Machine Manager Agent

do you have anything same as me?

kaspik
  Appollo replied to PA Bear [MS MVP]
10-Dec-09 11:26 PM
I am seeing the exact same thing on my HyperV server and unfortuantely i need
to get clustering going within the next few days :(

so it looks like a reinstall arrgghh !!

i find it hard to belive that noone at MS has any info on this though
  kaspik replied to Appollo
05-Jan-10 06:51 AM
There is a difference in this file..
Package_for_KB974431_RTM~31bf3856ad364e35~amd64~~6.1.1.5.mum located at
windows\servicing\packages\

on working servers is totally different...

Can you someone try to change it with different one? I cannot do it, because
it is production server, and it can be probably done only using recovery
console or safe mode (file is locked)...

I suppose that failure is caused by update KB974431. Maybe uninstall will
also help, but i dont see any update in installed updates. :(.
  kaspik replied to kaspik
12-Jan-10 01:56 AM
Problem solved...

just replace package_for_kb974431_rtm~31bf3856ad364e35~amd64~~6.1.1.5.mum
file located at c:\windows\servicing\packages with the same file from
functional server. Or you can have this file from update. You can download it
here http://support.microsoft.com/kb/974431/en-us/ and unpack it: Just rename
Windows6.1-KB974431-x64.msu to Windows6.1-KB974431-x64.cab ... open it, open
Windows6.1-KB974431-x64.cab inside and there you will find
package_for_kb974431_rtm~31bf3856ad364e35~amd64~~6.1.1.5.mum

you will also have to take ownership over old file and also you will have to
set proper permissions on c:\windows\servicing\packages folder - in order to
rename old file and copy the new one.

cheers

kaspik
  D.Ilyin replied to kaspik
29-Jan-10 07:02 AM
correct and full article should be
http://www.itsolutionskb.com/2009/04/roles-error-when-viewing-roles-in-windows-server-2008-server-manager/
Create New Account
help
Virtual Server - Microsoft Learning Machines Windows 7 Hi!!! I have Windows Vista Enterpriser 64 bits Edition I Hane installed Visrtual Server R2 64 bits edition and then / ´ve installed the virtual machines of MOC 6451A- Planning, Deploying and Managing Microsoft System Center Configuration Manager 2007. Whn i´m trying to start one vistual machines, i receive the error "Not enough memory to start virtual machine". That´s not true, because I´ve got 2, 5 GB free. Anybody can help me? - - Nachete Windows 64 bit Discussions System Center Configuration Manager (1) Windows XP (1) Virtual Server (1) Windows Vista (1) Enterpriser (1) Visrtual (1) That´s (1) Nachete (1) Did
I make sure the file gets opened / installed with the right installer? Windows Vista Discussions System Center Configuration Manager (1) Windows XP (1) Virtual PC (1) Vista (1) InstallShield (1) WinInstall (1) Hi Davey, It can be tricky. Perhaps will get more info in deployment or development group. You can also try SMS and System Center Configuration Manager groups and forums, they do a lot of repackaging of applications. You probably program. But the steps would be similar for other repackaging programs. Install some kind of virtual environment (Virtual PC for example). Install 32-bit windows virtual machine (it can be WinXP). Install WinInstall LE inside a virtual machine. Run WinInstall LE
Missing Operating System? Windows 7 Hello! I have a DELL Dimension 9200 loaded with Windows XP Media Center 2005.Recently I install Norton Ghost.So, when I started create virtual partition - computer restart. After that I can not start Windows. On the screen appear message Missing Operating System. I try to reboot from installation DVD - it did not help. Does anyone knows what like just F2 and F12 working, noting else. Please and Thank You Vladimir Windows Media Center Discussions Windows XP (1) Vladimir (1) Docid (1) Src (1) Error: "Missing operating system" when performing Ghost task http: / / service1.symantec.com / SUPPORT / ghost.nsf / docid / 2002101007023525?Open&src S.Sengupta[MS-MVP] Thank You Mr. S.Sengupta.That really helped. keywords: Missing, Operating, System? description: Hello! I have a DELL Dimension 9200 loaded with Windows XP Media Center 2005.Recently I install Norton Ghost.So, when I started create virtual partitio
Defining "Elegant" Windows 7 How I define "elegant" . . . Running a file system that is journaled so that your data is protected from power outages for example. Running a file system that doesn't require defragging. Running a file system where it doesn't matter how many drives you have they are all mounted under the root file system. Even drives on other computers on your LAN or across the Internet. Being able to remove a software package without fear that bits have been left behind. Having all your system configuration stored in plain text documents so you can edit them locally or from across logs of just about everything your computer is doing. Being able to run an operating system on a wide variety of platforms, not just Intel hardware. Running a true multi-user operating system and being able to access user accounts from anywhere in the world. Being able to run an operating system on something as simple as a standalone router all the way to a cluster of