Solved

WMI missing many classes on a Windows 2008 R2 Server

Posted on 2013-06-28
8
1,734 Views
Last Modified: 2014-01-08
I found out I am missing many WMI classes, specifically needed Win32_OperatingSystem from root\cimv2.  I have many other classes that are missing on the specific server.  I was wondering what is the best way to re-register these classes, non-intrusive way, if possible.
0
Comment
Question by:mystikal1000
8 Comments
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 39286181
0
 
LVL 1

Author Comment

by:mystikal1000
ID: 39289728
I did that already.
0
 
LVL 15

Expert Comment

by:ZabagaR
ID: 39293269
Did you try this command to rebuild WMI? (It will ask for the 2008 R2 DVD)

rundll32.exe setupapi,InstallHinfSection WBEM 132 %windir%\inf\wbemoc.inf
0
 
LVL 1

Accepted Solution

by:
mystikal1000 earned 0 total points
ID: 39297756
I ran this to fix the issue in the WBEM directory.

FOR /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
Net stop /y winmgmt
FOR /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
Net start winmgmt
1
 
LVL 15

Expert Comment

by:ZabagaR
ID: 39297873
Okay, thanks. I've seen that set of commands ran too!
0
 
LVL 19

Expert Comment

by:compdigit44
ID: 39298019
0
 
LVL 1

Author Closing Comment

by:mystikal1000
ID: 39306625
I fixed the issue with this command.
0
 

Expert Comment

by:dorlovitz
ID: 39766053
Mystikal1000 I can not get that comand to run.
0

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
get-aduser and get-adcomputer lastLogon and LastLogonDate 3 35
GPO Delegation 4 16
active directory 3 27
Power shell script 6 24
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now