By Garth Jones
It’s a long story as to why I was looking at WMI logs, but the short story is that a client needed help with a custom WMI script that they wrote. To track down the problem I had to enable WMI logging. It turns out that enabling WMI logging is easy to do once you know where to look!
First, open Event Viewer. Yes, I said Event Viewer and not WMI Control.
Next, click View and then click on Show Analytic and Debug Logs.
Expand Applications and Services Logs / Microsoft / Windows / WMI-Activity, then click Trace (red arrow), and then click Enable Log (red arrow).
Finally, click OK. That’s it!
Now that you know how to enable WMI logging you can troubleshoot WMI issues too.