WinRM issue

Joseph Patrick 641 Reputation points
2020-11-03T15:06:36.03+00:00

We have setup Just Enough Administration but some of the servers (Not all) are not connecting, I have verified this by using my AD account to test a connection to the servers that are having the issue.

The servers that are having the problem give the following error (Below):

37231-capture.png

I have verified the following:

Endpoint is registered on server
WinRM is configured and listening on server

37214-capture.png

Verified the Windows firewall is disabled
Ran the command “netsh winhttp show proxy” and verified no proxy is set.
Restarted the WinRM service
OS platform is a 2016/ 2019 mix
All servers are getting the same settings via GPO

Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

Accepted answer
  1. Joseph Patrick 641 Reputation points
    2020-11-04T15:44:15.217+00:00

    After in depth troubleshooting found that our network team is not allowing the port to go through

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Rich Matheisen 47,901 Reputation points
    2020-11-03T20:11:51.833+00:00

    Try running Test-WSMAN <computer-name> on both ends. Then try Test-WSMAN <IP-Address>, again from both ends.

    Have you added anything to the WinRM Trusted Hosts?

    Run this on the server to see if there's anything there: Get-Item WSMan:\localhost\Client\TrustedHosts

    If it's empty, of if the machine initiating the connection isn't in the list, add the name of the initiating machine to the list: Set-Item WSMan:\localhost\Client\TrustedHosts -Concatenate -Value <computer-name>

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.