raiguard / ModernGadgets

Sleek, minimalist, information-dense gadgets for the modern desktop. Inspired by the AddGadgets.com system monitoring gadgets. Built on the Rainmeter platform.
MIT License
300 stars 32 forks source link

Disks Meter drive usage meter always at 100% #260

Closed redeven closed 3 years ago

redeven commented 3 years ago

Drive usage in Disks Meter always shows up as 100% for all drives despite not being in use. Running Rainmeter 4.5.4.3550 (64-bit), ModernGadgets 1.8.1, HWiNFO64 7.12-4580. Since it uses the UsageMonitor plugin instead of a sensor from HWiNFO64, I couldn't configure it like the rest of the sensors.

DisksUsage

DisksMeterIssue

redeven commented 3 years ago

Seems like an issue on my end, the counters broke in Performance Monitor.

Fixed it on my end with this, on an elevanted terminal:

C:\Windows\system32>lodctr /R
Error: Unable to rebuild performance counter setting from system backup store, error code is 2

C:\Windows\system32> cd ..
C:\Windows> cd syswow64
C:\Windows\SysWOW64> lodctr /R
Info: Successfully rebuilt performance counter setting from system backup store

C:\Windows\SysWOW64>winmgmt.exe /RESYNCPERF