- C:
- PerfLogs
FolderRisk: Safe
PerfLogs C:\PerfLogs
Default output folder of Performance Monitor and logman (.blg, .etl, .csv traces); often empty on a fresh install.
What it’s for
C:\PerfLogs is the default location where Performance Monitor (perfmon) and logman write their traces. Microsoft’s documentation cites c:\perflogs\Admin for a collection started with logman. The folder exists from installation, even if no collection ever ran.
What it contains
- Performance traces (
.blg,.etl,.csv) from data collector sets, usually in one subfolder per set, such asAdmin. - Nothing at all, most of the time.
Risks and best practices
- Delete traces once analyzed or archived, but keep the folder. Stop any running collection first with
logman stop. - A long collection fills the system volume quickly. Redirect the output to another disk with
logman’s-ooption. - A trace contains process and machine names, so treat it as internal data.
Useful commands
# Data collector sets defined or runninglogman query
# Total size of the tracesGet-ChildItem C:\PerfLogs -Recurse -Force -File -ErrorAction SilentlyContinue | Measure-Object -Property Length -Sum