WebApp - General Error - System.Management.ManagementException: Invalid namespace

WebApp - General Error - System.Management.ManagementException: Invalid namespace

148
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:59 PM


Symptom


The error you will see produced in the Component Client Dispatcher logs, "...\PSM\Logs\components" folder:
PSMDU018E Dispatcher error: [ConnectionComponentController :: Main -> System.Management.ManagementException: Invalid namespace


Environment


11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Privileged Session Management (PSM) PSM

Cause


This is a Windows issue and should be resolved by your windows team or a ticket to Microsoft. It is issuing a WMI query and the namespace for that wmi query is Win32_Process, which is a default OS namespace. The namespace is returning as invalid.


Resolution


You can manually test querying the namespace outside of Idira to see if something is amiss on the system.

1) Using PowerShell try executing the following:
        gwmi -query "select * From Win32_Process"

2) Using PowerShell try executing the following:
        ([System.Management.ManagementObjectSearcher]::new("select * From Win32_Process")).get()

3) Do the same again as above, but running as the Shadow user. This is to check if there is some security restriction with the shadow user preventing the namespace from being seen that is not in place with the logged in admin user.

If the first command is resulting in the following error or similar:
"gwmi : Invalid namespace "root\cimv2"

It indicates that system has some corruption with the WMI. This is considered a Window issue and Microsoft would be the best resource to help understand why WMI is not functioning correctly.

With that said, here is a tech community post in Microsoft's forum that could help troubleshoot the WMI issue.
> https://techcommunity.microsoft.com/t5/ask-the-performance-team/wmi-rebuilding-the-wmi-repository/ba-p/373846



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj000000183gCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail