perfos.dll Error in Windows 10 and 11: System performance counter errors

A monitoring tool cannot read processor or memory counters and diagnostics mention perfos.dll.
What this DLL does
This Windows component is associated with performance data for operating-system resources.
Start with this check
Compare the same resource in Task Manager and Performance Monitor. Record whether only one counter fails or a whole category is unavailable.
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
Use the application’s supported update if Windows tools report normally. For widespread provider failures, gather event details and have IT follow Microsoft’s Windows performance troubleshooting on the authorized machine.
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
Check that the expected built-in resource counters and the original monitoring view both report fresh samples. Keep the original error information until the same operation also works after a restart.
The DLL Errors & Fixes Library includes related troubleshooting, including psapi.dll. Reference: Microsoft’s Windows performance counters documentation.