MSFN Forum: xperf: error: NT Kernel Logger: Cannot create a file when that file al - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

xperf: error: NT Kernel Logger: Cannot create a file when that file al Here I tell you how to fix it. Rate Topic: -----

#1 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,976
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 10 February 2012 - 06:46 AM

Do you want to try one of my xperf guides (DPC, CPU usage and it fails becasue you get this error message?

xperf: error: NT Kernel Logger: Cannot create a file when that file already exists. (0xb7)



The error message is misleading and has nothing to do with a file that already exists. It happens when a different tool already started a NT Kernel Logger to capture ETW data.

Example of tools are Process Explorer (starting with Version 14), the Resource Monitor form Windows Vista/7 and Process hacker (with the extended tools plugin). All use ETW to capture Network and Disk IO statistics. This conflicts with xperf because xperf also captures ETW data. So before running xperf close those tools or disable disk/network IO tracing in the options of Process Hacker or use Process Explorer 12.04, which was the latest version without disk/network IO tracing.

I hope this helps you to fix the issue :)


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy