Hello walii,
Hope you have a lovely day!
The error you're encountering, Kernel-EventTracing Event ID 2 with the message "Session 'SensorFramework-{d61722cd-d3ce-0897-1694-d917cab88c2a}' failed to start with the following error: 0xC0000035," is typically related to issues with ETW (Event Tracing for Windows) sessions. The specific error code, 0xC0000035, translates to STATUS_OBJECT_NAME_COLLISION, which indicates that there is a name conflict, likely due to an ETW session with the same name already existing or not being properly cleaned up.
Here are steps you can take to address this issue:
1. Check for Existing ETW Sessions
Ensure that there are no existing ETW sessions with the same name that might be causing the conflict. You can use the logman
command to list and stop any existing sessions:
- Open a Command Prompt with administrative privileges.
- Run the following command to list all ETW sessions: logman query
- Look for any sessions with a similar name or ID as mentioned in the error message.
- If you find any, you can stop them using: logman stop "SessionName" -ets
2. Restart the WMI Service
Sometimes restarting the Windows Management Instrumentation (WMI) service can resolve issues related to ETW sessions.
- Open a Command Prompt with administrative privileges.
- Run the following commands:
cmd
net stop winmgmt
net start winmgmt
3. Clean Up Orphaned Sessions
Orphaned ETW sessions can cause conflicts. You can clean them up by using the wevtutil
command:
- Open a Command Prompt with administrative privileges.
- Run the following command:
cmd
wevtutil el
- Look through the list for the offending session.
- Use the following command to clear the session: cmd wevtutil cl "SessionName"
4. Check and Update Drivers
Ensure that all drivers, particularly sensor and framework drivers, are up to date. Outdated or incompatible drivers can sometimes cause issues with ETW sessions.
- Open Device Manager.
- Look for any devices related to sensors or frameworks.
- Right-click on each device and select "Update driver."
5. Review Group Policy and Task Scheduler
Check if there are any Group Policy settings or scheduled tasks that might be configuring ETW sessions improperly.
- Open Group Policy Editor (gpedit.msc) and review any policies related to ETW or event tracing.
- Open Task Scheduler and look for tasks that might be starting ETW sessions.
6. Event Viewer Logs
Check the Event Viewer logs for more details that might provide additional context or clues about what is causing the error.
- Open Event Viewer (eventvwr.msc).
- Navigate to
Applications and Services Logs
>Microsoft
>Windows
>Kernel-EventTracing
. - Look for any additional errors or warnings that occur around the same time as Event ID 2.
Please let me know if you need more detailed instructions or if there are any specific aspects of your environment that need to be considered.
Best regards
Rosy