← Back to Guides Homepage

How to Fix Ping Timeout (ICMP) on Windows Server and Windows 11

In this guide, I will show you how to troubleshoot and fix ping timeouts when trying to reach a Windows Server (specifically Windows Server 2025) or a Windows 11 machine. We will examine network profiles and configure the Windows Firewall to allow ICMP traffic.

Step 1: Verify IP Addresses and Initial Connectivity

First, we must verify that both the server and the client are on the same network subnet. In this example, we have a freshly installed Windows Server 2025 and a Windows 11 client.

1. Check Server IP

Open a terminal window on the server and run ipconfig. In this case, the server is on the 10.0.0.x network with the host address .51.

2. Check Client IP

On the Windows 11 machine, running ipconfig confirms it is on the same network with the host address .101.

3. Test Connectivity

From the client, attempt to ping the server using the continuous ping flag (-t):

ping 10.0.0.51 -t

You will likely receive a "Request timed out" message. This confirms that while the network is physically connected, traffic is being blocked.

Step 2: Check Network Profiles

Windows applies different firewall rules based on whether the network is classified as "Public," "Private," or "Domain".

1. Identify Current Profile

Navigate to Settings > Network & internet > Ethernet. You will see the network profile type. By default, it is often set to Public.

2. Switch to Private Profile

For an internal trusted network, it is best practice to switch this to Private. This automatically adjusts the Windows Firewall to a less restrictive set of rules. However, even after switching to Private, the ping may still fail because the default Private ruleset often still blocks ICMP echo requests.

Step 3: Configuring the Windows Firewall

To fix the issue permanently, we need to explicitly allow the ICMP protocol in the firewall.

[Image of firewall packet filtering diagram]

1. Access Advanced Security

Open "Windows Defender Firewall with Advanced Security". Navigate to Inbound Rules and maximize the window for a better view.

2. Locate the ICMP Rule

Sort the list by Protocol to easily find ICMPv4. You are looking for a rule named "Core Networking - Diagnostics - ICMP Echo Request" (or similar).

You will likely see that the rule for "Private, Public" is set to No under the "Enabled" column. Note that there is a separate rule for the "Domain" profile if your server is part of an Active Directory domain.

3. Enable the Rule

Right-click the rule for "Core Networking - Diagnostics - ICMP Echo Request" (for Private and Public profiles) and select Enable Rule.

Step 4: Verification

Return to your client machine where the continuous ping command was running. As soon as the rule is enabled, you should see the status change from "Request timed out" to a successful reply from the host.

← Back to Guides Homepage