perfdisk.dll Error in Windows 10 and 11: Disk performance counter errors

A data collector returns blank disk counters or logs perfdisk.dll.
What this DLL does
This Windows component is associated with disk performance data used by Windows monitoring tools.
Start with this check
Compare Task Manager disk activity with the same drive in Performance Monitor. Check that the disk is online and the monitoring application selects the right instance.
Write down the exact message, the time, and what you were doing. If the application closes, open View reliability history from Start, select the matching failure, and copy its technical details. An exception code, full module path and application version help identify the next test.
Choose the appropriate repair
Update or repair the monitoring app if built-in tools show data. For a missing or intermittent disk, verify connection and hardware health before repairing counters.
Use Microsoft’s application repair options when only one program fails and its publisher supports those options. If multiple built-in Windows features fail and there are signs of Windows system file corruption, follow Microsoft’s DISM and System File Checker instructions in that order. Use trusted Windows or publisher packages when restoring DLLs.
Verify the result
Observe a supported test file read and confirm measurements from the expected disk instance update. Keep the original error information until the same operation also works after a restart.
The DLL Errors & Fixes Library includes related troubleshooting, including wimgapi.dll. Reference: Microsoft’s Windows performance counters documentation.