How to Enable WMI Tracing in Windows Server 2008 Windows Devices. Do you know how to enable WMI tracing using Event Viewer? Here is a quick guide to enable WMI tracing on Windows 7 and Windows 2008 R2 machines.
I’ve seen this topic been discussed in the MMS session hosted by Jason and Kim (thanks to them for reminding me about this topic). More details about MMS videos. However, my credits go to Microsoft CSS engineer Sudha N 🙂 (because, Initially, I heard about WMI tracing from her).
How to Enable WMI Tracing in Windows Server 2008 Windows Devices
1. Open Event Viewer, click on View, then select Show Analytic and Debug Logs
2. Expand the Applications and Services Logs section and then the Microsoft \ Windows sections
3. Expand Windows and find the WMI-Activity folder. Expand the WMI-Activity folder and Select Trace. Click on ” Enable Log ” on the Action Menu (right side).
4. From Action Menu, Select Disable Log to stop WMI tracing.
5. You could see all WMI related details by enabling WMI tracing; this would be a great help for troubleshooting WMI issues.
ProviderInfo for GroupOperationId = 232708; Operation = Provider::ExecQuery – select QueryID, Name, Expression, Comments from SMS_Query where TargetClassName = “SMS_StatusMessage”; ProviderName = ExtnProv; ProviderGuid = {625B7220-94D1-11d0-BD9F-00A0C909FDD7}; Path = D:\Program Files\Microsoft Configuration Manager\bin\x64\extnprov.dll
GroupOperationId = 232814; OperationId = 232817; Operation = Start IWbemServices::ExecQuery – references of {__Win32Provider.Name=”ExtnProv”}; ClientMachine = Local; User = ConfigMgr\Anoop.Nair; ClientProcessId = 0; NamespaceName = \\.\root\sms\site_IP0
How to get WMI logs? Where are WMI logs?
Resources
Author
Anoop is Microsoft MVP! He is a Solution Architect in enterprise client management with more than 20 years of experience (calculation done in 2021) in IT. He is a blogger, Speaker, and Local User Group HTMD Community leader. His main focus is on Device Management technologies like SCCM 2012, Current Branch, and Intune. E writes about ConfigMgr, Windows 11, Windows 10, Azure AD, Microsoft Intune, Windows 365, AVD, etc…