I have PSRemoting working on 90% of my servers. But there are a handful that I'm not sure what's going on with them. Server 2016.
Most of them are Hyper-V hosts, but not all.
Enable-PSRemoting -Force
works. The Windows Firewall is set to accept.Test-WSMan error is
Code="2150858770"
.- Test-NetConnection -ComputerName remoteserver -port 5985 shows success.
- Telnet with Putty to 5985 shows
Software caused connection abort
- The listener is set by GPO and on port 5985 with * in TrustedHosts. And this is verified by netstat -abn.
- I can get Properties in wmimgmt.msc both locally and remotely.
- With a Wireshark packet trace (I set the Capture Filter to
port 5985
), I get [SYN], [SYN,ACK], [ACK], [PSH,ACK], a POST, then [RST,ACK]. - The Windows Firewall log shows the packet accepted.
Any ideas or things I could try?