?
Solved

WMI missing many classes on a Windows 2008 R2 Server

Posted on 2013-06-28
8
Medium Priority
?
1,983 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 82

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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
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

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

A hard and fast method for reducing Active Directory Administrators members.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Suggested Courses

765 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