http://support.microsoft.com/kb/266416
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--
"-DC-" <diskc...@mouse-potato.com> wrote in message
news:zP2dnciowp29BdnV...@comcast.com...
A) Simple rebuilt of WMI repository (Recommended)
This is the short version...
1. stop WMI service
1.5 Make a backup of the Repository subdirectory in in %windir%\system32\wbem
2. rename the Repository subdirectory in %windir%\system32\wbem
3. rebuilt the WMI Repository in:
starting wbemtest.exe
connecting using Root/Default
IMPORTANT
The first connection will take some time since the repository is being rebuilt, but you should connect to a brand new repository afterwards
---
Additional info:
http://www.microsoft.com/technet/scriptcenter/topics/help/wmi.mspx
B) Complete reinstall of WMI
The steps generally include the following:
1. winmgmt /clearadap
2. winmgmt /kill
3. winmgmt /unregserver
4. winmgmt /regserver
5. winmgmt /resyncperf
6. net stop winmgmt
7. del %SystemRoot%/system32/Wbem/Repository/*.* /s
8. net start winmgmt
9. %SystemRoot%/system32/wbem/wbemtest.exe
------
After that, run the command wmiadap /f and the command wmiadap /r. Those will force windows to register or rebuild the performance counters.
From http://www.developmentnow.com/g/33_2008_6_0_0_1060477/Missing-WMI-classes.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/
Am I missing something? I was unable to do step A or B. In step B - it couldn't delete some of the files in the 'repository' directory.