I'm trying to setup WinRM in a domain environment and i'm running into issue where the clients aren't listening on the WinRM port.
PS C:\Users\administrator> netstat -a
Active Connections
Proto Local Address Foreign Address State
TCP 0.0.0.0:135 pcname:0 LISTENING
TCP 0.0.0.0:445 pcname:0 LISTENING
TCP 0.0.0.0:3389 pcname:0 LISTENING
TCP 0.0.0.0:5040 pcname:0 LISTENING
TCP 0.0.0.0:5666 pcname:0 LISTENING
TCP 0.0.0.0:5666 pcname:0 LISTENING
TCP 0.0.0.0:47001 pcname:0 LISTENING
TCP 0.0.0.0:49664 pcname:0 LISTENING
TCP 0.0.0.0:49665 pcname:0 LISTENING
TCP 0.0.0.0:49666 pcname:0 LISTENING
TCP 0.0.0.0:49667 pcname:0 LISTENING
TCP 0.0.0.0:49668 pcname:0 LISTENING
TCP 0.0.0.0:49671 pcname:0 LISTENING
TCP 0.0.0.0:49716 pcname:0 LISTENING
TCP 172.23.89.23:139 pcname:0 LISTENING
TCP 172.23.89.23:52705 pcname:epmap TIME_WAIT
TCP 172.23.89.23:52706 pcname:49668 ESTABLISHED
TCP [::]:135 pcname:0 LISTENING
TCP [::]:445 pcname:0 LISTENING
TCP [::]:3389 pcname:0 LISTENING
TCP [::]:5666 pcname:0 LISTENING
TCP [::]:47001 pcname:0 LISTENING
TCP [::]:49664 pcname:0 LISTENING
TCP [::]:49665 pcname:0 LISTENING
TCP [::]:49666 pcname:0 LISTENING
TCP [::]:49667 pcname:0 LISTENING
TCP [::]:49668 pcname:0 LISTENING
TCP [::]:49671 pcname:0 LISTENING
TCP [::]:49716 pcname:0 LISTENING
Clients are set to listen on the right port.
PS C:\Users\administrator> winrm enumerate winrm/config/listener
Listener [Source="GPO"]
Address = *
Transport = HTTP
Port = 5985
Hostname
Enabled = true
URLPrefix = wsman
CertificateThumbprint
ListeningOn = null
Full client WinRM config is here:
PS C:\Users\administrator> winrm get winrm/config
Config
MaxEnvelopeSizekb = 500
MaxTimeoutms = 60000
MaxBatchItems = 32000
MaxProviderRequests = 4294967295
Client
NetworkDelayms = 5000
URLPrefix = wsman
AllowUnencrypted = false
Auth
Basic = true
Digest = true
Kerberos = true
Negotiate = true
Certificate = true
CredSSP = false
DefaultPorts
HTTP = 5985
HTTPS = 5986
TrustedHosts
Service
RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)
MaxConcurrentOperations = 4294967295
MaxConcurrentOperationsPerUser = 1500
EnumerationTimeoutms = 240000
MaxConnections = 300
MaxPacketRetrievalTimeSeconds = 120
AllowUnencrypted = false
Auth
Basic = false
Kerberos = true
Negotiate = true
Certificate = false
CredSSP = false
CbtHardeningLevel = Relaxed
DefaultPorts
HTTP = 5985
HTTPS = 5986
IPv4Filter = 172.23.89.16 [Source="GPO"]
IPv6Filter [Source="GPO"]
EnableCompatibilityHttpListener = false
EnableCompatibilityHttpsListener = false
CertificateThumbprint
AllowRemoteAccess = true [Source="GPO"]
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 7200000
MaxConcurrentUsers = 2147483647
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 2147483647
MaxMemoryPerShellMB = 2147483647
MaxShellsPerUser = 2147483647
GPO Sets the following
Firewall: Inbound WinRM, Allow ICMP Exceptions
Windows Defender Firewall: Allow inbound remote administration exception
Windows Components/Windows Remote Management (WinRM)/WinRM Service
Service: WinRM start automatically
Any tips on what to look for next, i'm not currently able to establish a remote connection to the client from the server.