Day: Jun 16, 2015
Unable to view Roles and Features and receive error code 0x800706BE in Server Manager
In this scenario, roles and features are not displayed with a yellow bang against them in the Server Manager window. You receive the following error message at the bottom of the Server manager if you try to open it:
Server Manager
Unexpected error refreshing Server Manager: The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
For more information, see the event log: Diagnostics, Event Viewer, Applications and Services Logs, Microsoft, Windows, Server Manager, Operational.)
At the same time, the event below is added into the Microsoft-Windows-ServerManager/Operational log:
Log Name: Microsoft-Windows-ServerManager/Operational
Source: Microsoft-Windows-ServerManager
Date: <date & time>
Event ID: 1601
Task Category: None
Level: Error
Keywords:
User: <user name>
Computer: <computer name>
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.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)
Here are the steps to fix the issue:
- Get the Microsoft Update Readiness Tool from the location: http://support.microsoft.com/kb/947821
- Run the Microsoft Update Readiness Tool on the problematic computer.
- You open the %Systemroot%\Windows\logs\CBS\Checksur.log file after the scan was completed.
- You check corrupt information in the files. Here are some samples:
(f) CBS MUM Corrupt 0x00000000 servicing\Packages\Package_for_KB978601~31bf3856ad364e35~amd64~~6.0.1.0.mum Expected file name Package_for_KB978601_server~31bf3856ad364e35~amd64~~6.0.1.0.mum does not match the actual file name
(f) CBS MUM Corrupt 0x00000000 servicing\Packages\Package_for_KB979309~31bf3856ad364e35~amd64~~6.0.1.0.mum Expected file name Package_for_KB979309_server~31bf3856ad364e35~amd64~~6.0.1.0.mum does not match the actual file name
Or
(f) CBS MUM Corrupt 0x800B0100 servicing\Packages\Package_for_KB978601~31bf3856ad364e35~amd64~~6.0.1.0.mum servicing\Packages\Package_for_KB978601~31bf3856ad364e35~amd64~~6.0.1.0.cat Package manifest cannot be validated by the corresponding catalog
(f) CBS MUM Corrupt 0x800B0100 servicing\Packages\Package_for_KB979309~31bf3856ad364e35~amd64~~6.0.1.0.mum servicing\Packages\Package_for_KB979309~31bf3856ad364e35~amd64~~6.0.1.0.cat Package manifest cannot be validated by the corresponding catalog
Or
(f) CBS MUM Missing 0x00000002 servicing\packages\Package_114_for_KB955839~31bf3856ad364e35~amd64~~6.0.1.0.mum
(f) CBS MUM Missing 0x00000002 servicing\packages\Package_83_for_KB955839~31bf3856ad364e35~amd64~~6.0.1.0.mum
Further down you will see:
Unavailable repair files:
servicing\packages\Package_for_KB978601~31bf3856ad364e35~amd64~~6.0.1.0.mum
servicing\packages\Package_for_KB979309~31bf3856ad364e35~amd64~~6.0.1.0.mum
servicing\packages\Package_for_KB978601~31bf3856ad364e35~amd64~~6.0.1.0.cat
servicing\packages\Package_for_KB979309~31bf3856ad364e35~amd64~~6.0.1.0.cat
These files need to be copied into: %systemroot\Windows\Servicing\Packages
- You first need to gain control over that folder. In order to do this use the following commands:
takeown /F c:\Windows\Servicing\Packages /D y /R
- Now assign full control using following command. This will grant you full control over the directory:
cacls c:\Windows\Servicing\Packages /E /T /C /G “UserName”:F
- Now you need to gather the missing or corrupted files from the checksur log:
Download the KB files for the missing files.servicing\packages\Package_for_ KB978601 ~31bf3856ad364e35~amd64~~6.0.1.0.mum
- Unpack them using the following command:
Expand -F:* UpdateKBXXXX.msu x:\DestinationDirectory
- After you expand you will see a UpdateKBXXXX.cab File. Expand it as well:
Expand -F:* UpdateKBXXXX.CAB x:\DestinationDirectoryCAB
Inside of this cab you will need to grab 2 files: update.mum and update.cat - Rename the gathered update.mum and update.cab files exactly as they are in the checksur.log:
Ex.: update.mum for KB978601 will be Package_for_ KB978601 ~31bf3856ad364e35~amd64~~6.0.1.0.mum
Do the same for for all the other missing/corrupt files and place them into the directory specified in checksur.log (/servicing/packages)
After these steps the problem should be fixed. No reboot required.
Robocopy command to copy huge files and monitor their status
robocopy “source_folder” “destination_folder” /s /e /tee /log+:”C:\temp folder\rcpylog.txt”
FYI :- log+ option will create a log file which can be monitored by anyone who have access to the server.
How to generate a HP Survey log Offline?
1) Boot the server using Smart Start CD
2) Select language as English (US), keyboard layout as US English and click Next
3) Accept HP EULA by clicking Agree button
4) Now you are the home page of SmartStart CD
5) Click on Maintenance from SmartStart CD Homepage
6) Now you are at the Maintenance Options window
7) Select HP Insight Diagnostics
8) The Survey tab is displayed by default
9) Change CATEGORY from ‘Overview’ to ‘All’ (The page would refresh after this)
10) Change VIEW LEVEL from ‘Summary’ to ‘Advance’ (The page would refresh after this)
11) Click ‘Save’ (internal or USB floppy drive would be required to save the log file)
How to generate a Survey log Online
Install HP Insight Diagnostics from the HP Service Pack for ProLiant
- Obtain the HP Service Pack for ProLiant (SPP) ISO image from http://www.hp.com/go/spp/
download.
- As the super-user (root), mount the ISO image using the GUI, or from the command line using
the mount command.
NOTE: You may also burn the ISO image to a writable DVD using appropriate software, then insert the DVD into the server’s optical disk drive and open its contents.
- As the super-user (root), navigate to the directory hp/swpackages and run hpsum.exe.
- In HP Smart Update Manager (SUM), configure the Default source and localhost target. See HP SUM documentation for more information.
- Choose Select Components and ensure that the HP Insight Diagnostics Online Edition for Linux
component is selected. Select or unselect other components as desired, then click OK when done.
- Click Install to install Insight Diagnostics and any other selected components.
- Click Exit to exit HP SUM.
Starting HP Insight Diagnostics for Windows Online Edition
Starting from the Windows Start menu
- Go to Start > All Programs > HP System Tools.
- Select HP Insight Diagnostics Online Edition for Windows.
Starting from the HP Systems Insight Manager
- In HP Systems Insight Manager, go to the Device page.
- Select HP Insight Diagnostics from the Device Links box.
Starting from the HP System Management Homepage
- Click HP System Management Homepage on the Windows desktop.
- Click Webapps.
- Click HP Insight Diagnostics in Other Agents.
Starting HP Insight Diagnostics for Linux Online Edition from the HP System Management Homepage
- Open the browser.
- In the address field, enter the following:
- Press Enter. The System Management Homepage appears.
- Click Webapps.
- Click HP Insight Diagnostics in Other Agents
The Survey tab is displayed by default
Change CATEGORY from ‘Overview’ to ‘All’ (The page would refresh after this)
Change VIEW LEVEL from ‘Summary’ to ‘Advance’ (The page would refresh after this)
Click ‘Save’ (internal or USB floppy drive would be required to save the log file)