Technical Note: CSTN 00031- Unable to execute playbooks using MS WinRM connector
Issue:
Unable to execute playbooks using the MS WinRM connector.
Root cause:
This issue can occur because the MS WinRM connector fails to communicate with the Windows system when the connector is called for execution from a playbook. If this is the issue then CyOPsâ„¢ will display a 500 Internal Server Error.
Solution
Fix:
To fix this issue, perform the following steps on your Windows endpoint:
- Run the following command to set the default WinRM configuration values:
winrm quickconfig - (Optional) Run the following command to check whether a listener is running and verify the default listener ports (5985 for HTTP, and 5986 for HTTPS):
winrm e winrm/config/listener - Next, you require to enable basic authentication. Prior to that, run the following command to check if basic authentication is allowed :
winrm get winrm/config/service
If basic authentication is not allowed, run the following command to enable basic authentication:winrm set winrm/config/service/auth @{Basic="true"} - Run the following command to allow transfer of unencrypted data on the WinRM service:
winrm set winrm/config/service @{AllowUnencrypted="true"}
Applicable version:
Any CyOPsâ„¢ version.