Active Directory - Invalid Class

Last Modified

Wed Jan 16 16:30 GMT 2019

Description

  • Example Error:
102 Invalid class when process matrix 0 WQL = Select LDAPUDPoperationsPersec, DRAInboundObjectUpdatesRemaininginPacket, LDAPClientSessions, LDAPWritesPersec, LDAPActiveThreads, LDAPSuccessfulBindsPersec, DRAPendingReplicationSynchronizations, LDAPBindTime From Win32_PerfRawData_NTDS_NTDS

Environment

  • N-able N-central

Solution

  • This is caused by an incorrect class that the service is looking at.
  • The problem is with where the active directory stored data.
  • Currently there are 2 locations that the active directory stores WMI data, which is why the 'Active Directory' service has the option under 'Service Details' to change the class type.

Win32_PerfRawData_NTDS_NTDS

Win32_PerfRawData_DirectoryServices_DirectoryServices

  1. Click on the device that is reporting the issue.
  2. Click on Monitoring > then click on Service name
  3. Go to the Service Details tab > Class Name > Select the right class > Save.
  4. Disable and re-enable service > refresh or wait for refresh time.
  5. Re-sync the WMI repository by running the following commands at an MS-DOS prompt on the machine being monitored.
  • Re-sync for Windows XP and Windows 2000 Servers:
  1. winmgmt /clearadap
  2. winmgmt /kill
  3. winmgmt /unregserver
  4. winmgmt /regserver
  5. winmgmt /resyncperf
  • Re-sync for Windows 2003 Servers

  1. wmiadap.exe /c
  2. wmiadap.exe /f
  3. lodctr /R
  • Re-sync for Windows 2008 and 2012 servers
  • winmgmt /salvagerepository