Windows provides many hidden gems to troubleshoot issues. Among them are the advanced ETW channels exposed in the Windows Event viewer.
To enable this logging:
Go to: Event Viewer > Applications and Service Logs > Microsoft > Windows > <logname> Right click and choose Enable log. If the logging is already enabled, then you may see Disable Log in place of Enable Log.
If you don’t want to do it using the UI - you can always use wevtutil command to achieve the same thing.
wevtutil el
– lists all the event channels.wevtutil sl <logname> /e:true
– enables the event channel wevtutil.sl <logname> /e:false
– disables the event channel.