?
Solved

Problem with WMI

Posted on 2008-11-14
5
Medium Priority
?
1,111 Views
Last Modified: 2012-05-05
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.
wmdiag-errors.zip
0
Comment
Question by:c661jmb
  • 4
5 Comments
 
LVL 16

Expert Comment

by:speshalyst
ID: 22964040
One idea would be to check the registry on the server which gives the access
denied error for the registry value below:

HKLM\SOFTWARE\Microsoft\OLE

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.
 
http://forums.techarena.in/windows-server-help/8739.htm 
0
 
LVL 6

Author Comment

by:c661jmb
ID: 22966388
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:

%SYSTEMDRIVE%
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.

screen1.JPG
screen2.JPG
screen3.JPG
screen4.JPG
0
 
LVL 6

Author Comment

by:c661jmb
ID: 22966403
I have also attached a later WMIDIAG report. This was run AFTER the scripts above.

wmdiag-errors2.zip
0
 
LVL 6

Author Comment

by:c661jmb
ID: 23001691
I am still struggling with this.

0
 
LVL 6

Accepted Solution

by:
c661jmb earned 0 total points
ID: 23025421
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.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Loops Section Overview
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question