Some virtual machines in XenDesktop 5 infrastructure might not be able to provide WinRM information in the Desktop Director console.
The user of Desktop Director instead notices the following error indicating that the desktop machine is unavailable:
To resolve the issue, delete and recreate the WinRM listener as follows:
winrm delete winrm/config/listener?Address=*+Transport=HTTP winrm create winrm/config/listener?Address=*+Transport=HTTP
After troubleshooting the problem from CTX125243 - Enabling WinRM for Desktop Director, it was noticed that when using the netstat – another 5985 port was not listed. WinRM 2.0 listener uses the port 5985 to communicate with the broker. When trying to create WinRM listener with the command, it fails with the following error message:
“Error number: 2144108493 0x80338033
The WS-Management service cannot create the resource because it already exists.”It appears that the WinRM listener has been corrupt.