Outlook Web Access (OWA) inaccessibleWMI Corrupt

Issue Statement: OWA is not working with an error “outlook web access did not initialize

Resolution:

 Checked the Event logs found an event id 10005

DCOM got error “The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. ” attempting to start the service winmgmt with arguments “” in order to run the server: {8BC3F05E-D86B-11D0-A075-00C04FB68820}

 Tried to open wmimgmt.msc but got an error

Number: 0x8004100a
Facility: WMI
Description: Critical error

 Re-Register all WMI DLLs. Stop and Disabled the WMI service from the command prompt “for /f %s in (‘dir /b /s *.dll’) do regsvr32 /s %s”

 Then we ran the following commands

wmiprvse /regserver”
wmimgmt /clearadap
wmimgmt /resyncperf.

 Downloaded and installed WMIDiag.exe from the following link http://www.microsoft.com/downloads/details.aspx?familyid=d7ba3cd6-18d1-4d05-b11e-4c64192ae97d&displaylang=en

 Checked the log and found

Checked the logs and found the following information:

.1522 11:49:49 (0) ** ERROR: WMIDiag detected issues that could prevent WMI to work properly!.

.1523 11:49:49 (0) **

.1524 11:49:49 (0) ** WMIDiag v2.0 ended on Saturday, May 29, 2010 at 11:49 (W:31 E:12 S:1).

.1453 11:49:49 (0) ** WMI service DCOM setup: ………………………………………………………………………………… OK.

.1454 11:49:49 (0) ** WMI components DCOM registrations: ………………………………………………………………………. OK.

.1455 11:49:49 (2) !! WARNING: WMI ProgID registrations missing: ……………………………………………………………….. 7 ProgID(S)!

 From command prompt ran successfully ran the following command ‘REGSVR32.EXE C:\WINDOWS\SYSTEM32\WBEM\WBEMDISP.DLL’ as recommended in the logs

 Copied all the 54 Dll files from a working server and put them under c:\windows\system32\wbem

 Ran the following commands again

sc config winmgmt start= disabled
net stop winmgmt /y
cd %windir%\system32\wbem
for /f %s in (‘dir /b *.dll’) do regsvr32 /s %s
regsvr32 %windir%\system32\tscfgwmi.dll
wmiprvse /regserver
winmgmt /regserver
net start winmgmt
for /f %s in (‘dir /b *.mof *.mfl’) do mofcomp %s

 Able to access outlook web access successfully

Advertisement

Unable to install SQL – WMI Error

Issue – The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine Error: 2147749904 (0x80041010)

Cause: 

WBEM_E_INVALID_CLASS

2147749904 (0x80041010) Specified class is not valid

Resolution: If you encounter above error while installing SQL please follow below steps to resolve the same.

• Use the following command to detect and repair a corrupted WMI Repository:

rundll32 wbemupgd, RepairWMISetup

• Re-registering the WMI components

The .DLL and .EXE files used by WMI are located in %windir%\system32\wbem. You might need to re-register all the .DLL and .EXE files in this directory.

If you are running a 64-bit system you might also need to check for .DLLs and .EXE files in %windir%\sysWOW64\wbem.

•To re-register the WMI components, run the following commands at the command prompt:

•cd /d %windir%\system32\wbem

•for %i in (*.dll) do RegSvr32 -s %i

•for %i in (*.exe) do %i /RegServer