Content

Problem description / Issue description

After you followed the article http://kb.tango04.com/content/218  and found errors in the WMI repository like:

0x80041017 Invalid query

0x80041010 Invalid class

You must repair the WMI repository in the remote Server you want to monitor with ThinkServer. If the WMI repository is broken ThinkServer's WMI monitors doesn't going to work. 

Pre requisites

Access to the remote Server with an Administrator user (without restrictions).

Step 1: Reboot both systems

This step is very important and you have to try before continue to the others. Reboot the server that you want to monitorize and if that didn't work, reboot the Thinkserver's Server.
If this step didn't work go to the next one.

Step 2: Restart management services

Go to Start -> Run and insert these commands in order:

net stop iphlpsvc
net stop nvspwmi
net stop vhdsvc
net stop vmms
net stop winmgmt

net start winmgmt
net start vmms
net start vhdsvc
net start nvspwmi
net start iphlpsvc

If this step didn't work go to the next one.

Step 3: Refresh performance counters

This step fix many problems concerning performance data and is not than intrusive than almost every other suggested method.

wmiadap /f

wmiadap /r

Options /f and /r

/f: Parses all the performance libraries on the system and refreshes the Performance Counter Classes.
/r: Parses all the Windows Driver Model drivers on the system to create performance objects.

If this step didn't work go to the next one.

Step 4: Resync performance counters

  • Open a command prompt window (Run as Administrator) to do that go to: Start -> Run -> CMD
  • Insert this two commands

winmgmt/clearadap (only for 2003 and previous OS)

winmgmt /resyncperf

If this step didn't work go to the next one.

Step 5: Reload performance counters

Open a command prompt window (Run as Administrator) to do that go to: Start -> Run -> CMD <!--[if gte mso 9]> <w


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: October 18, 2018