Problem with WMI

I have a problem with a Server 2003. It is a DC and the WMI seems to be broken.

If I run MSINFO32 I get errors that it cannot gather information.

If I run WMIMGMT.MSC It reports Win32_Processor: Win32: Access is denied & Win_32OperatingSystem: Win32: Access denied.

I have downloaded and run WMIDIAG.vbs and have attached the report here. If someone could please give me some guidance as to how I can repair this problem so that I can install SQL 2005 Express edition I will be extremely grateful.
Who is Participating?
c661jmbAuthor Commented:
I fixed it - yeh, thanks to someone from another site NooNoo.

I fixed it. I threw the server in a skip and replaced it with a MAC.

Nah, I did the following:

Finally figured out a solution....

-open Administrative Tools => Local Security Policies
-find Local Policies=>Security Options=>"DCOM: Machine Launch Restriction in Security Descriptor Definition Language(SDDL)"
-in my case it was showing "Not Defined" , and I opened up the properties dialog and gave System user "Local Launch" and "Local Activation"  ALLOW.
-voila! the WMI error message is gone and the setup GUI appears.
One idea would be to check the registry on the server which gives the access
denied error for the registry value below:


REG_SZ value
value name "EnableDCOM" (without the quotes)
value data of "Y" (without the quotes)

If this key and value are not present add them and then see if that helps. 
c661jmbAuthor Commented:
That key is already set as you described.

I have updated this server to SP2, and all other critical updates.

.Net is up to version 2 SP1

DXDIAG reports the CPU and OS.

I have tried the following scripts:
@echo on
cd /d c:\temp
if not exist %windir%\system32\wbem goto TryInstall
cd /d %windir%\system32\wbem
net stop winmgmt
winmgmt /kill
if exist Rep_bak rd Rep_bak /s /q
rename Repository Rep_bak
for %%i in (*.dll) do RegSvr32 -s %%i
for %%i in (*.exe) do call :FixSrv %%i
for %%i in (*.mof,*.mfl) do Mofcomp %%i
net start winmgmt
goto End
if /I (%1) == (wbemcntl.exe) goto SkipSrv
if /I (%1) == (wbemtest.exe) goto SkipSrv
if /I (%1) == (mofcomp.exe) goto SkipSrv
%1 /RegServer
goto End
if not exist wmicore.exe goto End
wmicore /s
net start winmgmt

when that did not work, I tried:

CD %windir%\system32\wbem
Mofcomp.exe cimwin32.mof
Regsvr32 /s wbemupgd.dll
Regsvr32 /s wbemsvc.dll
wmiprvse /regserver

I have attached screen shots of the permissions for the root.

c661jmbAuthor Commented:
I have also attached a later WMIDIAG report. This was run AFTER the scripts above.
c661jmbAuthor Commented:
I am still struggling with this.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.