TECHRUNBOOK · PRACTICAL GUIDE

Windows Server WinRM Connectivity Troubleshooting Runbook

Troubleshoot PowerShell Remoting and WinRM failures by checking listeners, ports, firewall rules, authentication and service health.

Practical RunbookTechnical Troubleshooting
Practical Runbook10 StepsIssues → Solutions → Recommendations
Have a question about this runbook?Post your issue to the TechRunbook Community and get help from other IT professionals.
Ask the Community →
!Issue

Troubleshoot PowerShell Remoting and WinRM failures by checking listeners, ports, firewall rules, authentication and service health.

Solution

Start with Check the WinRM service and work through the six diagnostic checks in order.

Recommendations

Record results before changing configuration and validate the original symptom after each controlled change.

TechRunbook approach: Test one dependency at a time, record the result and only then change the configuration.

Quick checks

Start with the basic checks in this runbook before moving to deeper troubleshooting.

  • Confirm the affected service or component is available.
  • Check recent configuration or connectivity changes.
  • Run the relevant commands and compare the result with the expected state.
01

Check the WinRM service

Confirm the Windows Remote Management service is running on the target server.

02

Check the listener

Verify an HTTP or HTTPS listener exists on the expected interface and port.

03

Test TCP connectivity

Test TCP 5985 for HTTP or 5986 for HTTPS from the client network.

04

Check Windows Firewall

Review Windows Remote Management firewall rules and the active network profile.

05

Check authentication

Validate Kerberos, domain trust or an approved HTTPS/trusted-host configuration for the environment.

06

Test PowerShell remoting

Run Test-WSMan and a PowerShell remoting test and use the exact error to guide the next step.

07

Useful commands

Run these checks from an appropriate administrative session and replace example values with your environment.

WinRM service

Get-Service WinRM

WinRM test

Test-WSMan <server>
08

Quick troubleshooting path

Use this sequence to isolate the failing dependency before changing production configuration.

  1. Check the WinRM service → Confirm the Windows Remote Management service is running on the target server.
  2. Check the listener → Verify an HTTP or HTTPS listener exists on the expected interface and port.
  3. Test TCP connectivity → Test TCP 5985 for HTTP or 5986 for HTTPS from the client network.
  4. Check Windows Firewall → Review Windows Remote Management firewall rules and the active network profile.
  5. Check authentication → Validate Kerberos, domain trust or an approved HTTPS/trusted-host configuration for the environment.
  6. Test PowerShell remoting → Run Test-WSMan and a PowerShell remoting test and use the exact error to guide the next step.
09

What good troubleshooting looks like

Good infrastructure troubleshooting is evidence-driven. Capture the original state, test the dependency that can prove or disprove your hypothesis, make the smallest safe change and repeat the original test.

Example workflow
Symptom → hypothesis → direct test → result → controlled change → validation → documentation
10

Frequently asked questions

What should I check first?

Start with the exact symptom and validate the dependency closest to the failure in this Windows Server runbook.

Should I change production configuration immediately?

No. Capture the current state first, test the suspected dependency and make one controlled change at a time.

How should I document the fix?

Record the symptom, commands used, result, configuration change and validation result so the procedure can be repeated.

+

Related TechRunbook guides

Was this runbook helpful?

↑ Top