Failed to measure CPU usage in PVWA.App.log
98
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 16:09 PM
Symptom
PVWA stops and shortly before the stop we see numerous entries of this error in the PVWA.App.log :
Failed to measure CPU usage. Error: System.UnauthorizedAccessException: Access to the registry key 'Global' is denied.
Environment
12.0;12.1;12.2;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access All 12.x PVWA environments
Cause
When 3rd party tools are used to conduct performance monitoring of the PVWA and PasswordVaultWebAccessPool user is not added to the Performance Monitor Users on the machine where PVWA this error can happen and it can cause the PVWA to stop.
Resolution
Add PasswordVaultWebAccessPool user to the group Performance Monitor Users on the machine where PVWA is installed. Open Computer Management, find the group Performance Monitor Users under Local Users and Groups > Groups. Open it click Add, click Object Types and ensure Computers is ticked, then click Locations and select the top of the branch on the machine name.
Then put the object name as:
IIS AppPool\PasswordVaultWebAccessPool
Then save the change and run the command below as administrator:
iisreset