When you run into network problems, pinging can help troubleshoot the underlying issue. On a Windows machine, we use the ping command to measure the response time of an IP address and, among other things, analyze the statistics of the reply received. When you execute the ping command, packets of information are sent to devices on the same network or the internet to find out if they are available for connection.

But, what do you do if you send a ping and it returns the error “Ping: Transmit Failed. General Failure”? It can be quite frustrating, especially if you are working on something. The problem is exacerbated by the fact that the notification doesn’t show additional information describing the error.

But don’t panic. In this post, we show you how to troubleshoot ping failure so that you can get back to your business.

What Causes a Ping General Failure?

There are various possible reasons that could cause this problem. Some of the potential ones are as follows:

  • Outdated network drivers or firmware
  • A misconfigured firewall
  • Hardware and software issues
  • Issues with the Domain Name System (DNS)

As we noted above, the main reason why the error occurs is not known. Having said that, the following are the most effective solutions to the “Ping General Failure” error. These solutions worked for other users and are worth trying on your PC.

How to Fix “Ping: Transmit Failed. General Failure”

Fix 1: Temporarily Disable Your Firewall

First, you need to check if your firewall is to blame for the general failure error. While this is rarely the case, it’s worth checking this out since we can’t exactly pinpoint the source of the problem.

To do that, temporarily disable the firewall and try running the ping command again. If you use Windows Defender as your security solution, here are the steps to follow:

  1. Press the Windows logo key + S combination, type “Firewall” (without quotes), and select “Windows Defender Firewall”. This will take you directly to the “Windows Defender Firewall” page in the Control Panel.

    Type “Firewall” into Search and hit Enter.

  2. While in this window, look for the “Turn Windows Defender Firewall on or off” option in the left pane and select it.

    Navigate to “Turn Windows Defender Firewall on or off” and click it.

  3. Click the radio buttons next to “Turn off Windows Defender Firewall (not recommended)” for each network type.

  4. Alternatively, you can simply block all the incoming connections by clicking the checkbox under the option to turn on Windows Firewall.

    Block all the incoming connections by checking the corresponding boxes.

Now check if you’ll run into the ping general failure error. If you do, Windows Defender is not the culprit. Turn it back on to keep your system protected.

If you’re using robust security software like Auslogics Anti-Malware, open its settings and pause protection. Run the ping command again to check if it’s working. If it’s not, then the problem lies elsewhere.

Using a powerful malware removal tool is always recommended since it provides more protection than an ordinary antivirus program. With Auslogics Anti-Malware, you can rest assured that no malware entity will penetrate its tight security wall.

Run Auslogics Anti-Malware to check your system for malware.

It’s designed to safeguard your computer against all kinds of malware, including those masquerading as genuine files or applications. It even scans your browsers to check for data leaks and blocks items it deems suspicious.

Remember to re-enable the anti-malware program as soon as you’re done checking if it’s blocking your computer from running the ping command.

Fix 2: Configure Windows to Use IPv4 Instead of IPv6

By default, Windows 10 is configured to use IPv6 rather than IPv4. This is made possible by the prefix policies built into the system and programmed to prefer using IPv6 over IPv4. For some reason, this can lead to the “General failure” error message.

To set Windows to prefer IPv4, follow this guide:

  1. Go to this page and click on “Download” under “Prefer Ipv4 over IPv6” in the prefix policies to download Microsoft Easy Fix 21066.
  2. After the download completes, open the directory where you saved the file and double-click on it to run it.
  3. Follow through the on-screen guide to allow the tool to complete the process.
  4. Once it’s done, restart your computer.

When the system loads, check if you can ping successfully.

Fix 3: Remove Any Applications That Block HTTP Traffic

If you’ve installed any applications on your Windows machine that could, in one way or another, be capable of blocking HTTP traffic coming to or from your PC, you must uninstall them. These applications can block your system from pinging the IP address or website that you’re trying to reach.

Examples of such programs include Simplewall, Peer Guardian, Wireshark, Peerblock, and AnyConnect.

Here is how to uninstall the applications:

  1. Open the Control Panel, and go to Programs > Uninstall a program.

    Navigate to Programs > Uninstall a program.

  2. Right-click the suspect program and select Uninstall.

    Uninstall the program you suspect to be the culprit.

Additionally, if you’re using VPN software, disable it when testing to check if it’s causing the error.

Fix 4: Flush Your DNS Cache

Flushing your computer’s DNS is an effective solution to the “Ping: Transmit failed. General failure” error on Windows 10. When you clear the DNS cache, the old IP records are deleted, allowing your system to get fresh ones when you access the server. In fact, it’s considered healthy to flush your computer’s DNS cache from time to time.

Clearing your DNS cache will also reset your Winsock catalog, and this might help to fix the problem. To flush the DNS cache, follow the instructions below:

  1. Launch Windows PowerShell. To do that, press the Win + X keyboard shortcut and select “Windows PowerShell (Admin)”. Alternatively, bring up the Windows search box using the Win + S combination, type “PowerShell” (without quotes), and hit the “Enter” key.

    Select “Windows PowerShell (Admin)” from the Power User menu.

  2. Click “Yes” when prompted by the system.

    Enter ipconfigrelease into PowerShell.

  3. In the Windows PowerShell window, type or paste the commands below one by one and press “Enter” after each one:
  • ipconfig /release

    Enter ipconfigrelease into PowerShell.

  • ipconfig /renew

    Enter ipconfig/renew into Windows PowerShell.

  • ipconfig /flushdns

    Enter ipconfig /flushdns into PowerShell.

  • netsh int ip reset c:\tcp.txt

    Type netsh int ip reset c:\tcp.txt into PowerShell.

  • netsh winsock reset

    Enter netsh winsock reset into PowerShell.

  1. After all the commands have been executed successfully, reboot Windows and check if your ping issue has been resolved.

Fix 5: Remove All Ipv6 and IPv4 Transition Technologies

Transition technologies have been developed to simplify the task of migrating to IPv6 from IPv4. However, they may cause problems when pinging. If you’re using any kind of protocol transition technology on your computer, try disabling it to check if this has fixed the issue.

Here are the steps:

  1. You’ll need to run Windows PowerShell as an admin. To do that, press the Windows logo and X keys simultaneously and select “Windows PowerShell (Admin)”. You can also run the Command Prompt with admin rights. Simply press the Win + R keyboard shortcut, type CMD into the text box, and hit the Ctrl + Shift + Enter combination.

    Run Windows PowerShell as an admin.

  2. In the elevated PowerShell or Command Prompt window, type or paste the commands below one after the other and press “Enter” after each one:
  • netsh int ipv6 isatap set state disabled

    Enter netsh int ipv6 isatap set state disabled into PowerShell.

  • netsh int ipv6 6to4 set state disabled

    Enter netsh int ipv6 6to4 set state disabled into PowerShell.

  • netsh interface teredo set state disabled

    Enter netsh interface teredo set state disabled into PowerShell.

  1. Exit the Command Prompt or Windows PowerShell and restart your computer.

Now check if the ping problem still exists.

Fix 6: Reset Your PC’s TCP/IP

If you’re still struggling to resolve the ping general failure error, try resetting your PC’s TCP/IP to check if it works this time.

Here’s how:

  1. Run the Command Prompt or Windows PowerShell with admin rights.

    Launch Windows PowerShell with admin rights from the Power User menu.

  2. Click “Yes” when prompted by the system to grant administrator access.

    Click “Yes” to give the app administrator access.

  3. Type or paste the command netsh i i r r and press “Enter”.

    Paste the command netsh i i r r into PowerShell.

  4. Next, type or paste the command netsh winsock reset and hit “Enter”.

    Type netsh winsock reset into PowerShell.

  5. Exit the Command Prompt or Windows PowerShell and restart your computer. This solution should fix the ping failure error.

Fix 7: Reset Your PC’s Hosts File

If nothing seems to work in your case, you may want to try resetting your computer’s hosts file. Here is the step-by-step guide:

  1. Go to “Start” and launch Notepad.

    Launch Notepad in Windows 10.

  2. Paste the following script into a new “Notepad” page:

# Copyright (c) 1993-2006 Microsoft Corp.

# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.

# This file contains the mappings of IP addresses to host names. Each

# entry should be kept on an individual line. The IP address should

# be placed in the first column followed by the corresponding host name.

# The IP address and the host name should be separated by at least one

# space.

# Additionally, comments (such as these) may be inserted on individual

# lines or following the machine name denoted by a ‘#’ symbol.

# For example:

# 102.54.94.97 rhino.acme.com # source server

# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.

# 127.0.0.1 localhost

# ::1 localhost

Reset your PC's Hosts file via Notepad.

  1. Go to File > Save As.

    Navigate to File > Save As.

  2. Assign the file an appropriate title (like hosts1), and click on “OK” to save it to your preferred location.

    Save the file as hosts1 to your preferred location.

  3. Next, open the “Run” command using the Win + R shortcut.

    Use the Win + R shortcut to launch Run.

  4. Type %WinDir%\System32\Drivers\Etc into the text box and press “Enter”.

    Type %WinDir%\System32\Drivers\Etc into the Run box.

  5. Search for the original hosts file here.

    Search for the original hosts file in the folder.

  6. Right-click on it and select “Rename”.

    Select Rename from the menu.

  7. Rename it to something like “hostsOLD” and hit “Enter”.

    Rename the hosts file to something like “hostsOLD” and press “Enter”.

  8. Now, move the newly created hosts1 file from where you previously saved it to the %WinDir%\System32\Drivers\Etc directory.

    Move the newly created hosts1 file to the Etc folder.

  9. If you’re prompted to confirm your action, select “Yes”.

    Confirm your action by clicking Yes.

  10. Now restart your PC and try running the ping command again.

Hopefully, one of these solutions will help you fix the Ping General Failure error. Have you ever run into ping issues? If yes, how did you resolve them? Share your experience by commenting below.