Since recent Windows 10 major updates many users encounter the following error in their event viewer: Session “NetCfgTrace” failed to start with the following error: 0xC0000035
There’s a lot of speculation whether the source of this notification is harmful or not. And maybe even more important: Until now I’ve found no solution on any blog post or forum. This post solves the mystery. 🙂
Symptoms of NetCfgTrace error 0xC0000035
Everytime you start your computer, or when enable or disable a network interface (this includes WIFI), an event id 2 is logged. In the Windows 10 Performance Monitor, there’s an Event Trace Session named NetCfgTrace. This session is responsible for the error. The screenshot beneath shows you
- at the left: the event of the NetCfgTrace error
- at the right: the Performance Monitor where you can drill down to the root cause of the problem: Event Trace Session “NetCfgTrace”.
To open the Performance Monitor, start typing Performance in your start menu. It will pop up as hint automatically.
The logs of NetCfgTrace are saved to C:\Windows\Logs\NetSetup
Solution to Session “NetCfgTrace” failed to start (0xc0000035)
One way to prevent the error from occuring is to stop the NetCfgTrace Session from running. However, the best solution is to delete service.0.etl :
- Navigate to C:\Windows\Logs\NetSetup.
- Delete service.0.etc. You may need administrator permissions to delete.
- Reboot your system and the error is gone.
For references, this is the original event logged in your event viewer:
Log Name: Microsoft-Windows-Kernel-EventTracing/Admin Source: Microsoft-Windows-Kernel-EventTracing Event ID: 2 Task Category: Session Level: Error Keywords: Session User: SYSTEM Description: Session "NetCfgTrace" failed to start with the following error: 0xC0000035