PSM - "Unable to connect to the server by using Windows PowerShell remoting" error when running Prerequisites stage

PSM - "Unable to connect to the server by using Windows PowerShell remoting" error when running Prerequisites stage

257
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:53 PM


Symptom


When running the PSM's Prerequisites stage, the following error is seen after rebooting the system:

Failed to install RDS Connection-Broker rule. Exception: Validation failed for the "RD Connection Broker" parameter. {Server FQDN}      Unable to connect to the server by using Windows PowerShell remoting. Verify that you can connect to the server.. Description: Validation failed for the "RD Connection Broker" parameter.

In Server Manager > Remote Desktop Services > Overview, you see the following error:

There are no RD Connection Broker servers in the server pool.

 

You would also see the error "Unable to connect to the server by using Windows PowerShell remoting. Verify that you can connect to the server." when trying to deploy Remote Desktop Services manually via the Server Manager, as outlined under RDS on a PSM server on this page: PSM post-installation tasks | Idira Docs 



Environment


11.5;12.2;12.6;13.0;13.2;14.0;14.2 Privileged Access Manager (PAM, self-hosted) PSM

Applies to all PSM versions, installed on Windows Server 2012 R2 or newer



Cause


The policy "Allow remote server management through WinRM" has been incorrectly applied either via GPO or locally on the system.

Note: This issue is not something caused by any Idira configuration on the systems. The default Idira GPOs and CyberArk-provided scripts do not modify this policy.



Resolution


The policy "Allow remote server management through WinRM" must be fixed, either at the local server level or at the GPO level.

To update the configuration of the above policy at the local server level, follow the below steps:

  1. Open up GPEdit.msc

  2. Browse to "Computer Configuration > Administrative Templates > Windows Components > Windows Remote Management (WinRM) > WinRM Service"

  3. Double click "Allow remote server management through WinRM"

  4. Set it to Enabled, then ensure the filters have an asterisk only: *

Note: The syntax calls out setting "*" to allow for communication from any IP address. A common mistake is to add "*" exactly to the filters, but the syntax is telling you to put just an asterisk, as seen in the examples in the bottom of the syntax section and in the screenshot above.

  1. Click Apply, then click OK

  2. Reboot the system

  3. Follow the steps in the documentation to re-run the PSM Prerequisites stage

  4. Verify that the "Server Manager > Remote Desktop Services > Overview" loads without error, and that you are able to see the PSM-RemoteApp collection under "Server Manager > Remote Desktop Services > Collections"



Actions
  • Print
  • Copy Link

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