Purpose #
This article explains how to perform a continuous ping test on Windows to diagnose network connectivity issues and identify packet loss.
1. How to ping a domain/IP Address continuously (Windows) #
Follow these steps to run a continuous ping:
- Press Win + R on your keyboard.
- Type cmd and press Enter to open Command Prompt.
- In the Command Prompt window, enter the following command:
ping "domain/IP Address" -t
Example: ping fs03.dataphone.cloud -t OR ping 192.168.1.1 -t
- The ping will now run continuously until stopped.
2. How to Stop the Ping and View Packet Loss #
When you are ready to stop the test:
- Press Ctrl + C in the Command Prompt window.
- After stopping, Windows will automatically show a summary that includes:
- Packets Sent
- Packets Received
- Packets Lost
- Packet Loss Percentage
- Minimum, Maximum, and Average Latency
Example Output #
Ping statistics for 192.168.1.1:
Packets: Sent = 100, Received = 98, Lost = 2 (2% loss),
Approximate round trip times in milli-seconds:
Minimum = 3ms, Maximum = 10ms, Average = 4ms
3. (Optional) How to Log Ping Results to a Text File #
If you want to save the ping results—including packet loss—to a text file for review or for sending to support, use this command:
ping “Domain/IP Address” -t > “File Path”
Example: ping fs03.dataphone.cloud -t > C:\ping-log.txt
This will:
- Run a continuous ping
- Automatically write all results to a file named ping-log.txt in your *C:* drive
- Note: You will not see the output on screen while logging
To stop logging and generate the file:
Press Ctrl + C
The log file will now be available at:
C:\ping-log.txt