How to perform WBEMTEST for IIS App Pool namespace
111
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:04 PM
Objective
To allow the user to change the IIS App Pool password, we must allow the user remote access to the applicable namespace as the CPM plugin is WMI-based. In this case the namespace is "root\microsoftiisv2".
The following two articles from Microsoft help to explain this:
https://docs.microsoft.com/en-us/windows/desktop/wmisdk/securing-a-remote-wmi-connection
https://docs.microsoft.com/en-us/windows/desktop/wmisdk/setting-namespace-security-with-the-wmi-control
Environment
Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
Procedure
To test connection to the namespace manually, the following steps may be used: (please try from CPM machine)
1. From the CPM server open WBEMTEST. This will open the Windows Management Instrumentation Tester application
Start | Run | wbemtest
2. Press the Connect... Button to change the namespace and credentials.
3. Change the namespace from the default root\cimv2 to \\<Remote Server Name or Address>\root\microsoftiisv2
4. Add the user credentials to test connecting to the namespace on the remote servers.
5. This will be the logon account specified in the account properties
6. User field should be in the domain\username format
7. Set Authentication Level to Packet privacy
8. Click "Connect'
9. Click Enum Classes and choose OK
10. You should get 12 objects or so returned