Solved

WMI missing many classes on a Windows 2008 R2 Server

Posted on 2013-06-28
8
1,801 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 79

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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

786 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