< Blog

How to Enable WMI Logging in Windows 8

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.

Enable WMI Logging in Windows 8-Event Viewer

Next, click View and then click on Show Analytic and Debug Logs.

Enable WMI Logging in Windows 8-Trace-Enable Log

Expand Applications and Services Logs / Microsoft / Windows / WMI-Activity, then click Trace (red arrow), and then click Enable Log (red arrow).

Enable WMI Logging in Windows 8-OK

Finally, click OK. That’s it!

Now that you know how to enable WMI logging you can troubleshoot WMI issues too.