Windows provides a Performance Monitor to analyze some system parameters like CPU load, Memory usage or other parameters. But what’s, if Performance Monitor is broken? This blog post discusses, how to repair perfmon.
You can use perfmon in Windows 7 up to Windows 10 – either via Windows GUI (enter perform and select Performance Monitor – or opens a command prompt and enter
perfmon /report
perfmon /rel
or similar commands (see). In some cases perfmon refuses to create a report, due to corrupted registry entries or too much log entries. In this cases perfmon can’t add counters to the performance report or doesn’t show reliable results. It’s time to repair perfmon.
- Open a command prompt windows with administrator credentials (for instance type cmd in search box and press Strg+Shift+Enter (or use context menu item run as administrator) and confirm UAC.
- Enter the command lodctr /r and press Enter.
The tool lodctr is available to repair perfmon. It tries to repair broken registry entries. Try to run perfmon afterward.
Delete log files in PerfLog folder
In some cases too much log file entries may cause a perfmon failure. Then fire up explorer.exe and navigate to folder:
C:\PerfLogs\Admin
Delete all log file entries found within this folder (requires administrator rights) – see this MS Answers post. Hope this helps to fix perfmon issues.
Links:
Performance Monitor Tips and Tricks
HOW TO START , STOP PERFMON FROM THE COMMAND LINE IN WINDOWS ?