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 Server Management
Windows Server Management
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Management: The act or process of organizing, handling, directing or controlling something.
424 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,446 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Rich Matheisen 45,596 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