Demenzun

Performance Counter Repair

If TerreSculptor displays an error dialog on startup that it cannot determine the correct amount of Memory in the computer, or the correct number of CPU Cores, you can try repairing the Windows Performance Counters, since they are most likely currently stopped or corrupt or have invalid Registry values.

To verify that the Windows Performance Counters are in fact corrupt, launch Control Panel, System and Security, Administrative Tools, locate the Performance Monitor app and run it.  Attempting to Add a New Memory Counter will most likely result in an error message.

To repair the Windows Performance Counters, perform the following items.

1. Start an Administrator Level Command Prompt and enter in the following commands, pressing the Enter key after each command:

cd C:\Windows\System32
lodctr /R
cd C:\Windows\SysWOW64
lodctr /R
Winmgmt.exe /RESYNCPERF

2. Start Powershell and type in the following commands to restart the Performance Counters:

Get-Service -Name "pla" | Restart-Service -Verbose
Get-Service -Name "winmgmt" | Restart-Service -Force -Verbose

3. Restart Windows and retry running TerreSculptor again.
If it is successful, then the Windows Performance Counters were repaired.
If TerreSculptor still gives an error on startup, there may be other corrupt Windows files, which may require a Windows re-installation.