Solved

WMI missing many classes on a Windows 2008 R2 Server

Posted on 2013-06-28
8
1,916 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 81

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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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 20

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

726 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