I have recently come across a curious issue in my test lab. My DC , running Windows Server 2012 RTM, can no longer query its own role & feature data via servermanager (or otherwise).
All attempts to manage roles & features return errors relating to a pending restart being required from a previous role installation.
I have of course restarted several times. I have also checked the usual registry keys for pending file renames.
Then I came across this blog post by the Servicing Guy –
So, I then ran dism /online /cleanup-image /restorehealth
Here is the end of the log file in C:\Windows\Logs\CBS\CBS.log
4:26, Info CSI 0000000e Pending transaction content must be resolved, cannot begin another transaction yet
2013-02-11 20:54:26, Info CBS Failed to get transaction analysis because of pending operations. Disposition from Analyze: 0x1 [HRESULT = 0x80070bc9 – ERROR_FAIL_REBOOT_REQUIRED]
2013-02-11 20:54:26, Info CBS Failed to get inventory. [HRESULT = 0x80070bc9 – ERROR_FAIL_REBOOT_REQUIRED]
2013-02-11 20:54:26, Info CSI 0000000f@2013/2/11:09:54:26.386 CSI Transaction @0x92cd2d2410 destroyed
2013-02-11 20:54:26, Info CBS Failed to get CSI Inventory [HRESULT = 0x80070bc9 – ERROR_FAIL_REBOOT_REQUIRED]
2013-02-11 20:54:26, Info CBS Failed to get component state. [HRESULT = 0x80070bc9 – ERROR_FAIL_REBOOT_REQUIRED]
2013-02-11 20:54:26, Info CBS Failed to get current state of the deployment [HRESULT = 0x80070bc9 – ERROR_FAIL_REBOOT_REQUIRED]
2013-02-11 20:54:26, Info CBS Failed to get Transaction State for package: Microsoft-Windows-NetFx3-Server-OC-Package~31bf3856ad364e35~amd64~~6.2.9200.16384, update: NetFx3 [HRESULT = 0x80070bc9 – ERROR_FAIL_REBOOT_REQUIRED]
2013-02-11 20:54:26, Error CBS Failed to get store state [HRESULT = 0x80070bc9 – ERROR_FAIL_REBOOT_REQUIRED]
So at least I know its something wrong with the .net 3.5 feature package, but the CBS cleanup failed to fix the issue.
The dism log in c:\windows\logs\dism\dism.log didnt yield anything especially helpful either.
I then came across another blog post, deep diving into troubleshooting errors in CBS log files –
http://blogs.technet.com/b/roplatforms/archive/2011/04/28/installation-failures-cbs-store-corruptions-uncommon-issues-and-troubleshooting.aspxThis lead me to look at the TrustedInstaller service as per http://support.microsoft.com/kb/968440. (the friendly name is Windows Modules Installer)
Checking the service startup value, it was indeed set to manual. I started the service manually, but it did not change its startup type to auto.
I changed it to auto anyway, and rebooted. Still no luck.
Looks like I’m going to have to rebuild this DC, as I can’t spend any more time on this, lucky its a lab, but my understanding of windows component store corruption is definately increased!
Mike – Take a look at http://garvis.ca/2013/01/04/installing-netfx3-on-windows-server-2012/ May be a fix.
You are lucky with the test lab but I’m struggling in the production environment. I should’ve downgraded to the 2008 R2 :/