Already a NinjaOne customer? Log in to view more guides and the latest updates.

Agents Failing / High CPU / WMI Issues

Issue

NinjaOne is reporting issues with Windows Management Instrumentation (WMI) performance.

Environment

  • NinjaOne Agent
  • Microsoft Windows

Cause

The NinjaOne agent relies on WMI calls for all of its reporting. As such, if there are existing WMI issues on a machine (as documented in the Microsoft community), NinjaOne will highlight them.

  • Performance counters can often be the culprit. Check out this Microsoft documentation on rebuilding performance counter library values.
  • The WMI Performance Adapter service not running, or running as a user rather than as System, can also cause issues.

Resolution

Windows provides information about setting up WMI activity logging at WMI Troubleshooting - Win32 apps | Microsoft Learn (external link).

Additionally, you should run sfc /scannow to eliminate corruption as a possible cause.

Additional Resources

FAQ

Next Steps