- Newest
- Most votes
- Most comments
The issue you're experiencing with AWS WorkSpaces client version 5.27.1.5420 on Windows 11 is related to a change in how Windows handles performance counters, specifically for process names.
In Windows 11, Microsoft changed the format of process instance names for performance counters. Previously, the instance name was simply the process name (e.g., 'workspaces'). Now, it requires the format 'processname_pid' (e.g., 'workspaces_45678').
The error message indicates that the AWS WorkSpaces client is still trying to access the performance counter using the old format, which no longer exists in Windows 11. This causes the "Instance 'workspaces' does not exist in the specified Category" error and subsequently crashes the application.
You've correctly identified the root cause and the proper solution. The AWS WorkSpaces client needs to be updated to use the new format for accessing performance counters, which involves concatenating the process name with an underscore and the process ID.
While setting the registry key HKLM\System\CurrentControlSet\Services\Perfproc\Performance "ProcessNameFormat" to 1 can serve as a temporary workaround, it's not recommended as a long-term solution. This change affects the entire system and may impact other applications that expect the new behavior.
The best course of action would be to report this issue to AWS support so they can update the WorkSpaces client to be compatible with the new Windows 11 performance counter naming convention. In the meantime, you might consider using an older version of the AWS WorkSpaces client if possible, as it may be compatible with Windows 11's performance counter changes.
Sources
AWS VPN Client does not work since Version 5.x (5.2.2) | AWS re:Post
Relevant content
- asked 4 years ago
- asked 2 years ago
- asked 7 months ago
- AWS OFFICIALUpdated a year ago
