N-central Troubleshooting
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
- Click on the device that is reporting the issue.
- Click on Monitoring > then click on Service name
- Go to the Service Details tab > Class Name > Select the right class > Save.
- Disable and re-enable service > refresh or wait for refresh time.
- 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:
- winmgmt /clearadap
- winmgmt /kill
- winmgmt /unregserver
- winmgmt /regserver
- winmgmt /resyncperf
Re-sync for Windows 2003 Servers
- wmiadap.exe /c
- wmiadap.exe /f
- lodctr /R
- Re-sync for Windows 2008 and 2012 servers
- winmgmt /salvagerepository