Recently, I have had something called WMI Provider Host in my Task Manager that is taking up about half of my cpu. How do I fix this? Thanks!
Try to enable WMI activity log in event log, (enable "show analytic and Debug log" in view option of event viewer), check which WMI query is running in Microsoft-Windows-WMI-Activity/Operational and trace log. Or you can consider to rebuild wmi repository: https://blogs.technet.microsoft.com/askperf/2009/04/13/wmi-rebuilding-the-wmi-repository/