Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PerfMon is one of the many resources that ModernGadgets uses to get system information. More specifically, in Disks Meter and Process Meter, PerfMon is used for the majority of the measures.
A common issue that users have is that the PerfMon database will become "corrupted" and the information shown by the gadgets will be broken / wildly inaccurate. If you find this to be the case, follow these steps.
First, open Command Prompt or PowerShell as administrator. Type in the following, in order:
cd c:\windows\system32 lodctr /R cd c:\windows\sysWOW64 lodctr /R
You should then see
Info: Successfully rebuilt performance counter setting from system backup store
Overall, it should look like this:
If either of the
lodctr /R commands throw an error, simply do it again and it should work the second time around.
Once you've done this, refresh (middle-click) the affected gadgets, and everything should be working! If it doesn't work right away, try rebooting your PC.