Брандмауэр включить пинг windows 10

Windows Defender Interference may affect WIndows 10 ping

by Henderson Jayden Harper

Passionate about technology, Crypto, software, Windows, and everything computer-related, he spends most of his time developing new skills and learning more about the tech world. He also enjoys… read more


Updated on

Reviewed by
Alex Serban

Alex Serban

After moving away from the corporate work-style, Alex has found rewards in a lifestyle of constant analysis, team coordination and pestering his colleagues. Holding an MCSA Windows Server… read more

  • Ping can check whether a particular IP address is available in the network and measures the response time.
  • Windows Firewall may block the ping request if it doesn’t allow the File and Printer Sharing app to run.
  • You can enable ping via Windows Firewall, Windows Firewall with Advanced Security, PowerShell, and the Command Prompt.

enable ping windows 10

Ping is the primary TCP/IP command for troubleshooting connectivity, reachability, and name resolution on Windows. It helps users verify IP-level connectivity to another TCP/IP computer by sending Internet Control Message Protocol (ICMP) echo Request messages.

However, users can encounter issues enabling ping on Windows 10 if the Windows Firewall blocks ping requests. Likewise, you may check our guide on what to do if you are getting a destination host unreachable error while trying to ping a host.

What causes ping not to work?

As said earlier, Ping verifies whether a particular IP address is available in the network. The ping request may not be able to send to the IP address or receive corresponding Echo Reply messages. Hence, it results in the request to return futile.

However, a couple of factors may be responsible for the problem. Some are:

How we test, review and rate?

We have worked for the past 6 months on building a new review system on how we produce content. Using it, we have subsequently redone most of our articles to provide actual hands-on expertise on the guides we made.

For more details you can read how we test, review, and rate at WindowsReport.

  • Windows Defender Firewall interference – You may experience issues with pinging if the Windows Defender Firewall is impeding the process. Ping does not work when Windows Firewall does not allow the File and Printer Sharing app to run. Also, ping may not work when Firewall blocks all incoming connections on your network path.
  • Host or destination IP does not exist – If the IP address you want to verify for availability is not identified or does not exist, the ping request won’t work. So, you may encounter problems with ping if the host or target IP does not exist.

Other factors not highlighted above may also be responsible for ping not working. Hence, we’ll help you with steps to fix the issue and enable ping on your device.

How can I enable ping in Windows 10?

1. Use Windows Firewall with Advanced Security

  1. Press Windows + R key to open the Run dialog box, type firewall.cpl in the text field, and click OK to open Windows Defender Firewall.
  2. Click on Advanced settings from the right pane.
  3. Click on Inbound Rules, find and right-click on File and Printer Sharing (Echo Request – ICMPv4 – In) that has a Public Profile, then click on Enable Rule from the drop-down.
  4. To know if you have successfully enabled File and Printer Sharing (Echo Request – ICMPv4 – In), check the Enabled tab and confirm if it says Yes.

Enabling the File and Printer Sharing (Echo Request – ICMPv4 – In) option will allow your computer to ping and whether a particular IP address is available in the network or not.

Check our guide on Firewall disabled but still blocking apps on Windows 10 for more information.

2. Allow File and Printer Sharing through Windows Firewall

  1. Press Windows + R key to open the Run dialog box, type firewall.cpl in the text field, and click OK to open Windows Defender Firewall.
  2. Click on the Allow an app or feature through Windows Defender Firewall option.
  3. Click the Change settings button.
  4. Check the box for File and Printer Sharing, and click OK to save the changes.

Checking the box for File and Printer Sharing enables the ping functionality on your computer.

Read more about this topic

  • Is Windows 11 Faster Than Windows 10?
  • How to Change the Icon Size on Windows 10
  • Are Windows 11 Product Keys Backward Compatible?
  • Microsoft Store Apps vs Desktop Apps: Which Ones to Use?

3. Use PowerShell

  1. Left-click the Start button, type PowerShell, and click Run as administrator.
  2. Click Yes on the User Account Control prompt.
  3. Copy and paste the following lines of commands and press Enter:  netsh advfirewall firewall add rule name="Allow ICMPv4" protocol=icmpv4:8,any dir=in action=allow   netsh advfirewall firewall add rule name="Allow ICMPv6" protocol=icmpv6:8,any dir=in action=allow

The above commands will enable the ping functionality, allowing your Windows PC to respond to ping requests.

You can check our guide about PowerShell not showing the full output and some fixes to get it working if you experience it.

4. Use the Command Prompt

  1. Left-click the Start button, type Command Prompt, and click the Run as administrator option.
  2. Click Yes on the User Account Control (UAC) prompt.
  3. Type the following lines of commands and press Enter to run them: netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow
  4. Close the Command Prompt and restart your PC.

The above commands will create two exceptions to allow traffic through the firewall and allow ping requests.

Read our guide on what to do if Command Prompt keeps crashing on your PC.

In addition, our readers may be interested in ways to fix Cannot Ping computers on the same Network on Windows 10.

If you have further questions or suggestions concerning enabling ping on Windows 10, kindly drop them in the comments section.

newsletter icon

— Advertisement —

Hello! This time I’m going to talk to you about security in Windows 10. It is well known that the system offers multiple layers of security to keep the privacy of our information safe. Certainly, this entails control over network connections. These are really useful for exchanging information and sending data. However, sometimes these connections can fail and so it is imperative to get the error. One of the resources used for this task is PING. It is a basic Internet program that allows a user to verify that a particular IP address exists and can accept requests. This app verifies whether the IP address of a host is currently operational, and how long it takes to respond. Ping works by sending an Internet Control Message Protocol (ICMP) Echo Request to a specified interface on the network and waiting for a reply.

Additionally, it can be used for troubleshooting to test connectivity and determine response time. However, most administrator users consider the ICMP protocol to be potentially unsafe and prefer to block these calls. For this reason, the Windows 10 firewall by default has a security policy of blocking such requests. This is easy to check, trying to ping our computer from a remote machine, we’ll see the following message:

failed ping from a remote computer

failed ping from a remote computer

However, it is not advisable to completely block these calls. Therefore, here I show you how to enable and disable ping in Windows 10.

Enable ping in windows 10. Command line mode.

The first thing we need to do is to open a Command Prompt as administrators. Once there, we have to create a rule for IPv4 addressing and another for IPv6. All right, to create the first rule you just have to type the following command in the console:

netsh advFirewall Firewall add rule name="OSRadar Rule PING IPv4" protocol=icmpv4:8,any dir=in action=allow 

If everything was done correctly, the CMD should look like this:

Creating the exception for IPv4 addressing

Creating the exception for IPv4 addressing

Next, we will create the rule for IPv6 addressing:

netsh advFirewall Firewall add rule name="OSRadar Rule PING IPv6" protocol=icmpv6:8,any dir=in action=allow 

Creating the exception for IPv6 addressing

Creating the exception for IPv6 addressing

We have correctly applied the rules for the ping command. We can check that it works, pinging from a remote computer:

Ping successful

Ping successful

To disable the exception for IPv4 addresses, just type the following commanding in the CMD:

netsh advFirewall Firewall add rule name="OSRadar Rule PING IPv4" protocol=icmpv4:8,any dir=in action=block 

In the case of IPv6 addressing, the command to write will be the following:

netsh advFirewall Firewall add rule name="OSRadar Rule IPv6" protocol=icmpv6:8,any dir=in action=block 

Please note that you can choose the name you want for the rules. If you want to see every rule in the system in detail, just write the following in the terminal:

 netsh advFirewall Firewall show rule name=all 

CMD showing firewall rules

CMD showing firewall rules

Enable ping in windows 10. Graphic mode.

It is also possible to create specific rules to enable and disable ping by entering the Windows 10 Firewall Advanced Security Configuration. With this intention, just type Firewall on the search bar:

Open firewall with advanced security

Open firewall with advanced security

Immediately the Firewall options will be displayed. As we did before, we have to create a rule for IPv4 and another for IPv6.

Windows Firewall with advanced security options

Windows Firewall with advanced security options

So first, select the Inbound Rules option in the left column and right-click the mouse to create a New Rule:

Creating a new firewall rule

Creating a new firewall rule

A rule creation wizard will start. Please select Custom in the rule type and press Next to continue.

Select custom rule

Select custom rule

On the next screen select All programs and press Next to continue.

Select All programs

Select All programs

In the protocol type, select ICMPv4 and then click on customize.

Define protocol and Ports

Define protocol and Ports

In the pop-up screen activate the Specific ICMP types box and navigate until you activate the Echo Request option. Press accept to apply the changes.

Select Echo Request in Specific ICMP types

Select Echo Request in Specific ICMP types

Next, we can define which specific IP addresses this rule will apply, on the contrary, we will allow the requests of all the addresses. Once the selection is made, press next to continue.

Define IP direction to apply the rule

Define IP direction to apply the rule

Now select Allow the connection and press Next to continue

Choose Allow the connection

Select Allow the connection

In the following screen, we have to select when the new rule will be applied. Please check the 3 available options and press next to continue.

Select profile to apply the rule

Select profile to apply the rule

Finally, we only have to assign a name to the rule and press Finish to close the wizard.

Sets the name of the rule

Sets the name of the rule

Finally, we can see the rule created correctly. To create the exception for IPv6 addressing, we have to repeat the same process but in the protocol and ports window, we have to select ICMPv6.

Inbound rule correctly created

Inbound rule correctly created

To disable any of the created rules, just right-click on it and choose Disable Rule.

Disable rule in Windows Firewall

Disable rule in Windows Firewall

Conclusion

Finally, we have seen how to enable and disable ping in Windows 10. This will allow us to manage and administer our connections using this command. Finally, we have seen how to enable and disable ping in Windows 10. This will allow us to manage and administer our connections using this command. Consequently, we will be able to monitor the levels of security and data protection on our computers. This is all for now, before saying goodbye I invite you to review our tutorial on bash in Windows 10

Learn the simple steps to allow ping on Windows 10 or server without disabling the firewall instead enable it via echo request – ICMPv4 incoming.

There are a couple of ways to open the blocked ping request in Windows 10 by configuring a firewall. It can be using the graphical user interface or via the command line PowerShell or centrally via group policies. By default, Windows 10 not allows other computers in the network to ping due to security concerns. After all, the service is often misused for attacks, preferably for denial-of-service attacks, thus Microsoft decided to turn it off, out of the box.

Well, still many times we need the pining facility to solve the network connectivity problems and for that newbies usually turn off the Firewall completely. However, we can manually allow Windows 10 Ping in its firewall, whereas those who concern about security risks they can mitigate it by activating the predefined firewall rule only for the domain profile or by restricting permissible requests to certain IP addresses.

One of the easiest ways to allow ping is by activating the pre-configured firewall in Windows via a graphical user interface with the help of the Advanced Security option. However, you should have admin access to enable or disable firewall rules. Here are the steps to follow:

  1. Go to Windows 10 or 7 Search box.
  2. Type- Windows Defender firewall, as its icon appears, click to open it.
  3. From the left side panel select “Advanced Settings“.
  4. On Windows Defender Firewall with Advanced Security select Inbound Rule from the left side panel.
  5. Now, in the Inbound Rules area search for “File and Printer Sharing (Echo Request ICMPv4-In). This rule exists in versions for the profile domain as well as for public and private. They can be activated for a specific profile or several profiles as required. In this option, the private profile allows pining through IP V4 address”.
  6. Once you find this predefined rule, right-click on it and select “Enable rule“.
  7. After that Windows 10 system could be pinged from a remote or local PC.
  8. In the same way, if you are interested in pinging Windows through Domain or IPv6, then select Echo Request ICMPv6 for IP version 6 whereas the same option with Domain Profile will the pinging through the domain name.

Open WIndows 10 firewall advance settings Enable WIndows 10 ping through firewall advance rule

Furthermore, if you want to secure pining by restricting it to some particular IP address then after enabling the rule, again right-click on the same and select Properties.

Open Firewall Rule properties min

In the Properties dialog select the Scope Tab and to restrict all clients from sending ping requests, click on the Add button and mentioned the Remote IP Address of the only those machines that you want to allow to ping your Windows 10 PC. If there are several NICs on the computer, it is also possible to use local IP addresses to specify those to which requests are allowed.

Secure Ping by adding remote ip address

Allow Windows ping with PowerShell or Command-line Prompt

Those who don’t want to use the GUI method because of the multiple steps involved to allow Ping on Windows can go for command-line one. In which, we just need to run Powershell or Command prompt with Administrative right and after that copy-paste the command given here.

  • Click in Windows 10 or 7 search box.
  • Type- Powershell or Command prompt
  • Then as per your selection of command-line tool, run it as administrator.
  • After that simply run the below netsh command to enable ping requests on Windows.
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow

In the same way, if you want to disable Windows 10 Ping then use this command:

netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=block

Command to enable or disable windows 10 ping

No one can send ping requests to your system to know whether it is alive or not when the Firewall is enabled on your Windows 10 computer system. You can enable ping by disabling the Firewall but this can prove to be very disastrous, as your PC will be exposed to external threats and malware. In this article, we will explain to you how to allow ping requests coming through the Firewall in Windows 10. We also have a guide that shows you how to use ping command in Windows.

For allowing ping from the Firewall in Windows 10, you need to proceed as follows:

Type control panel in the search section of your taskbar and click on the search result to launch a new control panel window. The newly opened Control Panel window is shown in the following image:

Open Windows Control Panel

Click on the System and Security tab located at the top left corner of the image shown above.

Windows System and Security

Now click on Windows Defender Firewall as highlighted in the image shown above.

Windows Defender Firewall

Click on Advanced Settings.

As soon as you will click on it, Windows Defender Firewall with Advanced Security window will appear as shown in the following image:

Advanced settings

Now click on the Inbound Rules as highlighted in the image shown above.

Scroll down to locate “File and Printer Sharing (Echo Request – ICMPv4 – In)” as highlighted in the image shown below:

File and Printer Sharing (Echo Request – ICMPv4 – In)

As soon as you manage to locate it, just click on it for once.

When you will click on it, some options will appear in the extreme right pane of the window as shown in the following image. Click on “Enable Rule” from these options in order to allow ping from the Firewall in Windows 10.

Open ping port in Windows Firewall

In this example, I have pinged my PC from another PC on the same network after enabling this rule. The IP address of my machine is highlighted in the following image:

Test Ping

The image given below shows the success of ping from Firewall after enabling this rule.

Ping successful

Conclusion

By following the method discussed above, you can easily allow ping from the Firewall in Windows 10 without disabling your Firewall and exposing your system to external threats. Whenever you want to disable the ping requests from the Firewall, just follow the same steps and as soon as you will locate that rule, just click on it and then select “Disable Rule”. There is also a guide on creating advanced firewall rules in Windows.

Если вы точно уверены, что компьютер находится в сети, что он получает правильные настройки IP и пр., попробуйте выполнить ещё 2 дополнительных действия.

1. Проверьте, включено ли Брандмауэре правило, которое разрешает ответ на пинги.
Перейдите в «Параметры Windows», далее «Сеть и Интернет».

В открывшемся окне (справа или внизу), найдите пункт Брандмаэр Windows.

Далее, в окне Брандмауэра, выберите пункт «Дополнительные параметры».

В левой части открывшегося окна, выберите пункт «Правила для входящих подключений», затем, прокрутите список вниз, пока не найдёте правило с названием «Наблюдение за виртуальной машиной (эхо-запрос — ICMPv4 — входящий трафик)», нажмите на нём правой кнопкой мыши и выберите пункт «Включить правило».

Проверьте, появился ли пинг по IP и имени компьютера (хоста).

Если пинг по имени хоста не включился, то, на компьютере который не пингуется выполните второе действие.
2. Перейдите в «Параметры Windows» и выберите пункт «Сеть и Интернет».


Далее выберите пункт «Ethernet».

Далее «Настройка параметров адаптера»

Найдите интерфейс, который подключен к вашей локальной сети. Нажмите на нём правой кнопкой мыши и выберите пункт «Свойства».

В свойствах сетевого интерфейса отключите протокол IPv6.

Пинги по имени хоста должны проходить.

  • Браузер для windows 10 mobile скачать
  • Брандмауэр защитника windows что это за служба
  • Брандмауэр блокирует сеть windows 10
  • Браузер opera vpn для windows 10
  • Браузер для 32 разрядной системы windows 7