Включение ping в 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

При работе в операционной системе Windows 10 пользователи иногда сталкиваются с проблемой отсутствия отклика на команду ping. Это может быть вызвано различными факторами, такими как блокировка ICMP-трафика на компьютере или настройки брандмауэра. Включение функции ping может быть полезно при тестировании сетевого подключения, определении скорости интернет-соединения или поиске работоспособности удаленных устройств.

Чтобы включить ping в Windows 10, следуйте этой пошаговой инструкции:

  1. Шаг 1: Откройте командную строку, нажав сочетание клавиш Win + R, введите «cmd» и нажмите Enter.
  2. Шаг 2: В открывшемся окне командной строки введите следующую команду: netsh firewall set icmpsetting 8. Нажмите Enter для выполнения команды.
  3. Шаг 3: После выполнения команды вы увидите подтверждение, что настройки брандмауэра были изменены и пинг успешно включен.

Теперь вы сможете использовать команду ping в Windows 10 и получать отклик от удаленных устройств и серверов. Если вы все еще не получаете отклика, возможно, проблема заключается в настройке сетевой конфигурации или вашей сетевой карты. В таких случаях рекомендуется обратиться к системному администратору или провайдеру услуг интернета для дальнейшей помощи.

Знание, как включить ping в Windows 10, позволяет легко проверять доступность удаленных устройств и определять причины возможных проблем с подключением. Это особенно полезно в случае установления и поддержания стабильного интернет-соединения.

Содержание

  1. Установка Ping на Windows 10
  2. Проверка наличия Ping
  3. Установка Ping, если он отсутствует
  4. Запуск командной строки на Windows 10
  5. Открытие командной строки через меню Пуск
  6. Открытие командной строки с помощью сочетания клавиш
  7. Проверка работоспособности Ping
  8. Ввод команды в командную строку
  9. Проверка полученных результатов

Установка Ping на Windows 10

В операционной системе Windows 10 по умолчанию Ping не установлен. Однако, вы можете легко установить его, следуя простым шагам:

Шаг 1: Откройте меню «Пуск» и выберите «Настройки».
Шаг 2: В настройках выберите «Система».
Шаг 3: На левой панели выберите «Информация об этом компьютере».
Шаг 4: В открывшемся окне выберите «Дополнительная информация».
Шаг 5: В разделе «Системные параметры» выберите «Переменные среды».
Шаг 6: На панели «Переменные среды» выберите переменную «Path» и нажмите «Изменить».
Шаг 7: Нажмите «Новый» и введите путь к папке, где находится исполняемый файл Ping (обычно это «C:\Windows\System32»).
Шаг 8: Нажмите «ОК» для сохранения изменений.

Теперь, после выполнения этих шагов, Ping будет доступен в командной строке операционной системы Windows 10.

Проверка наличия Ping

Чтобы проверить наличие команды Ping на вашем компьютере с операционной системой Windows 10, выполните следующие шаги:

  1. Откройте командную строку, нажав комбинацию клавиш Win + X и выбрав «Командная строка» или «Windows PowerShell» в открывшемся меню.
  2. Введите команду «ping», а затем нажмите клавишу «Enter».
  3. Если вы видите вывод информации о команде Ping, значит она доступна и готова к использованию.
  4. Если вместо информации о команде Ping вы видите сообщение о том, что «ping» не является распознаваемой командой, значит она может быть отключена или удалена с вашей системы.

Если команда Ping отсутствует, вы можете включить ее, выполните следующие действия:

  1. Откройте меню «Пуск» и выберите «Параметры».
  2. В окне «Параметры» выберите «Сеть и интернет».
  3. В левой панели выберите «Статус» и прокрутите экран вниз.
  4. В разделе «Свойства сети» выберите ваше подключение и нажмите на «Изменить параметры адаптера».
  5. Выберите вашу сетевую карту, щелкнув правой кнопкой мыши и выбрав «Свойства».
  6. В списке доступных компонентов прокрутите экран вниз и найдите «Клиент для обмена файлами и принтерами Microsoft». Убедитесь, что галочка установлена рядом с этим компонентом.
  7. Нажмите «OK», чтобы сохранить изменения. Если система запрашивает подтверждение, следуйте инструкциям на экране.

После выполнения этих действий команда Ping должна быть доступна на вашем компьютере с операционной системой Windows 10.

Установка Ping, если он отсутствует

В случае, если команда «ping» не работает или отсутствует в вашей операционной системе Windows 10, вы можете установить ее с помощью следующих шагов:

  1. Откройте меню «Пуск» и перейдите в «Настройки».
  2. Выберите раздел «Приложения».
  3. В верхней части окна выберите «Приложения и компоненты».
  4. На странице «Приложения и компоненты» найдите раздел «Дополнительные параметры приложения».
  5. Выберите «Функции Windows».
  6. На странице «Функции Windows» прокрутите список вниз и найдите раздел «Устаревшие компоненты Windows».
  7. В разделе «Устаревшие компоненты Windows» найдите и выберите «Клиент почтового перетаскивания, клиент MIME и почта повышенной безопасности».
  8. Нажмите кнопку «Установить».
  9. Дождитесь завершения процесса установки.

После завершения установки вы сможете использовать команду «ping» в командной строке Windows 10 для проверки подключения к удаленным устройствам и определения времени задержки.

Запуск командной строки на Windows 10

  1. Нажмите кнопку «Пуск» в левом нижнем углу экрана.
  2. Введите текст «cmd» в поле поиска и нажмите клавишу Enter.
  3. Откроется окно «Командная строка», в котором можно вводить и выполнять команды.

Также можно открыть командную строку через меню «Пуск». Для этого выполните следующие шаги:

  1. Нажмите кнопку «Пуск» в левом нижнем углу экрана.
  2. Прокрутите список приложений вниз и найдите папку «Windows Система».
  3. Откройте папку «Windows Система» и найдите приложение «Командная строка».
  4. Щелкните правой кнопкой мыши по приложению «Командная строка» и выберите пункт «Запуск от имени администратора», чтобы запустить командную строку с правами администратора.

После выполнения указанных шагов командная строка будет успешно запущена, и вы сможете использовать различные команды для работы с операционной системой Windows 10.

Открытие командной строки через меню Пуск

Чтобы открыть командную строку в Windows 10 через меню Пуск, следуйте этим шагам:

  1. Нажмите на кнопку «Пуск» в левом нижнем углу экрана или нажмите клавишу «Win» на клавиатуре.
  2. В поисковой строке меню Пуск начните вводить «командная строка».
  3. В результате поиска вам будет показано приложение «Командная строка».
  4. Щелкните правой кнопкой мыши на иконке «Командная строка».
  5. В контекстном меню выберите опцию «Запустить от имени администратора», если требуется доступ администратора.
  6. После этого откроется окно командной строки, готовое для использования.

Теперь вы можете использовать ping и другие команды в командной строке Windows 10, чтобы проверить соединение с другими устройствами в вашей сети.

Открытие командной строки с помощью сочетания клавиш

Открытие командной строки в Windows 10 можно выполнить с помощью следующих шагов:

  1. Нажмите комбинацию клавиш Win + R на клавиатуре, чтобы открыть окно «Выполнить».
  2. В поле «Выполнить» введите cmd и нажмите кнопку «ОК». Откроется командная строка.

После выполнения этих шагов вы сможете использовать команду ping в командной строке Windows 10.

Проверка работоспособности Ping

Чтобы проверить работоспособность Ping в Windows 10, выполните следующие действия:

  1. Откройте командную строку. Для этого нажмите Win + R, введите cmd и нажмите Enter.
  2. В командной строке введите ping [адрес назначения], где [адрес назначения] представляет собой IP-адрес или доменное имя узла, который вы хотите проверить.
  3. Нажмите Enter для запуска команды Ping.

После выполнения команды Ping в командной строке отобразится информация о выполнении проверки и результате. Вы сможете увидеть, успешно ли был выполнен Ping и сколько времени заняло передачу данных до указанного узла.

Таким образом, с помощью команды ping вы можете проверить работоспособность сетевого узла и определить, есть ли связь с указанным узлом.

Ввод команды в командную строку

Включение команды ping в Windows 10 может быть выполнено с помощью командной строки. Чтобы открыть командную строку, следуйте этим шагам:

  1. Нажмите клавишу Windows на клавиатуре или щелкните по кнопке «Пуск» в левом нижнем углу экрана.
  2. Введите «cmd» в поле поиска.
  3. Нажмите клавишу Enter или щелкните по значку «Командная строка».

Командная строка будет открыта. Она представляет собой черное окно с мигающим курсором.

Проверка полученных результатов

Столбец Результат
Время задержки (ms) Это время, которое требуется для отправки пакета данных от вашего компьютера до сервера и обратно. Чем меньше это число, тем лучше. Высокое значение может указывать на проблемы с подключением или загруженность сети.
Потерянные пакеты (%) Это процент пакетов, которые не были успешно доставлены до сервера или не были успешно получены вашим компьютером. Чем ниже это число, тем лучше. Если вы наблюдаете высокий процент потерянных пакетов, это может означать проблемы с подключением или неправильную конфигурацию сети.

Помните, что результаты ping могут варьироваться в зависимости от местоположения сервера, текущей загруженности сети и других факторов. Поэтому рекомендуется выполнить несколько ping-запросов и проанализировать их результаты в целом.

How to make Windows 10 pingable

Even those with no familiarity are likely to know about the ping, a networking utility used to test if a device is reachable and determine the time it takes for information to travel from one destination to another (often seen in video games). Unfortunately, many will also find that ping can stop functioning correctly if the user has a Windows 10 Firewall enabled.

This can prove particularly annoying if you’re trying to determine if a VPS is reachable from a local PC and vice versa, or are trying to see if your home PC is alive from work. Thankfully, in Windows 10 you can allow ping through the Windows Firewall easily and without turning it off entirely, which would pose a major security risk.

However, before we show you how to safely allow ping in Windows 10, you should be aware of a few pre-requisites:

  • The Windows 10 PC you want to ping, in our case a Windows 10 VPS
  • Your VPS credentials, found in your provider’s control panel
  • A computer to ping from
  • A method of accessing the VPS, such as Windows 10’s Remote Desktop Connection tool

Connecting to a Windows VPS using RDP on Windows

Connecting to a Windows Virtual Public Server (VPS) using Windows’ own RemoteDesktop Protocol (RDP) is relatively simple. This functionality to remotelyconnect to another computer is embedded into Windows Operating Systems. Connecting to a Windows VPS is similar to connecting to any other Window…

BitLaunch

How to Allow Ping through the Windows 10 Firewall

The first step is to connect to your remote Windows 10 PC, in our case a VPS. You can use RDP to connect to it by pressing Start and searching for “Remote Desktop Connection”. Then, open the app and enter the IP and username of your VPS host, which should be in your hosting control panel. Also enter the password when prompted.

The Windows RDP interface

Once connected, press Start and search for “Control Panel”. Click the first result to open the legacy control panel.

Start > Control Panel

Once there, click on System and Security.

Control Panel > System and Security

From the list, select Windows Defender Firewall.

System and security >  Windows Defender Firewall

In the left-hand sidebar, choose Advanced settings and supply your administrator credentials to access them. You’ll be taken to the main ‘Windows Defender Firewall with Advanced Security’ app, where you should click Inbound Rules in the left sidebar.

Windows Defender Firewall > Inbound rules

Press the F key until you find ‘File and Printer Sharing (Echo Request – ICMPv4 – In)’. Click it once, then press Enable Rule in the right sidebar to allow ping in Windows 10.

File and printer sharing (Echo request - ICMPv4-in)

A tick will appear next to its name and you should find that Windows 10 is now pingable by PC’s on the local subnet. However, if you’d like to ping Windows 10 from a PC outside of the network, some extra configuration is required.

With the rule enabled, double-click ‘File and Printer Sharing (Echo Request – ICMPv4 – In)’ to open the properties window. Click on the ‘Scope’ tab.

Scope heading in File and Printer sharing

Under ‘Remote IP address’, click Add. Tick ‘This IP address or subnet:’ and enter the IP address of the computer you’re trying to ping from. If you’re unsure of your IP address, you can find it here. Press OK twice.

The IP address window, with the "The IP address or subnet" option ticked

We can now test this configuration again by trying to ping Windows 10 from our local PC. If you’re using Windows 10, open Command Prompt and type ping 11.11.11.111 , replacing the 1’s with your remote PC’s IP address.

Rather than timing out it should now show replies, with information about the time to respond, TTL, bytes and finally a summary of packet loss and round-trip times.

Command prompt output fro a successful ping of the server

Don’t have a spare Windows 10 PC to ping? Sign up for BitLaunch today.

— 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

Recent Windows Operating systems do not reply to ping requests by default. The firewall policy was set to refuse ICMP Echo Requests by default. That means you will be getting ‘Request Timed Out’ from a Windows 10 or Windows 11 PC even though it is connected and set up properly on the network. This same basic network security rule was applied on earlier Operating Systems such as Windows 8.1 and 7 too. This guide shows how to enable ping reply and make your Windows 11/10 desktop or laptop computer respond to ICMP (ping) requests from other network devices.

If the Windows 11/10 computer is in a domain network, then the global domain policy that is related to ICMP echo requests will be applied automatically by your system administrator. In this example, we consider workgroup setup where the domain setup is not available; for example, a small office or your simple home network.

Also, this guide shows how to enable incoming FTP traffic in the Windows 11/10 firewall if you are planning to make your Windows PC an FTP server by using Microsoft IIS or other FTP server programs like FileZilla FTP server.

There is a pre-built firewall rule in Windows 11/10 to enable or disable ICMP echo requests. By default it was disabled. We can enable the rule to allow ping requests in Windows OS which can reply back to other network devices in the local or external network.

To open the rule,  go to the control panel by right-clicking on the start button and selecting Control Panel.

Open control panel in Windows

In another way, you can search for ‘control’ in Windows 11 search bar.

Search For Control Panel

Make sure to change the view to the ‘Large Icon’ in the control panel to access Windows Firewall (or Windows Defender Firewall in Windows 11) settings quickly and easily.

Firewall settings

Click on Advanced Settings to get the ICMP rule (incoming and outbound connections) option.

Advanced firewall settings

Since we are going to allow incoming ping requests, we need to open the Inbound Rules area and look for the File and Printer Sharing Echo Request –ICMPv4 rule as shown below.

Enable Echo Request ping reply in Windows

Once you enabled the Echo Request for ICMPv4 which is for IP v4, then your Windows 10 or Windows 11 computer will respond to ping requests. 

You will see ‘Private’, ‘Public’ and ‘Domain’ network profiles in the advanced Firewall security settings while enabling or creating rules. Windows OS have each rule for every network profile. You have to enable the only profile which is related to your current connection.

For example, if you are at home or office local network, then the connection mostly will be in ‘Private’ or ‘Domain’ network profile. Therefore enable the Echo Request rule for these profiles only.

If you connect the same laptop to any public Internet network (like a coffee shop or airport Wi-Fi), Windows 11 will treat it as the public network profile. In this case, your computer will not respond to ping requests which come from the Internet to your computer, because the Echo Request rule is not enabled for the ‘Public’ network profile. Hence, it is essential to not enable unwanted firewall rules for public network profile.

Allow Ping Requests in Windows 11 by Command Prompt

You can also allow the Ping (ICMP Echo requests) by using the command prompt. It will modify the firewall rules. Using the command prompt will be handier to do the task quicker than the GUI. Also, it will be useful to execute these commands remotely when you are connected through a command prompt or on the Windows server core versions.

To enable ping requests for IPV4, execute the following command as administrator. Make sure to open the command prompt (CMD) as run as administrator.

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

Disable Ping Reply in Windows 10/11:

Visit the same control panel settings and disable the rule (for private or domain network profile). Now the Windows computer will not respond to ping requests from the connected network devices.

Here is the command to disable the ping in the command prompt.

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

Enable Incoming FTP Traffic in Windows 11/10/8.1 Firewall

Once you set up an FTP server on a Windows computer, then you must enable inbound FTP traffic in the firewall settings. You can follow the same methods below in Windows 11, even though screenshots are taken on Windows 10.

1) Open the control panel and Windows Firewall.

Windows firewall settings

2) Click on ‘Allow an App or feature through Windows Firewall’. It may have a different option in Windows 8.1 or older versions, but you will find a similar option.

Allow ftp traffic in Windows 10/11

Assuming that you already installed IIS and enabled the FTP server, the firewall settings will automatically detect the FTP server application and list it out in the field.

Click on ‘Change Settings’ and choose ‘FTP Server’. Select the network profile currently the computer is connected, press OK to complete the steps.

3) Another Method: Manually Create The Policy and Allow

If you could not succeed with the above method or are not able to see the FTP server app in the programs list of firewall settings, you can manually create an inbound rule and allow particular FTP ports (20 and 21). 

4) In the Control panel Firewall settings, click on Advanced settings.

Firewall advanced settings

5) We need to create a new inbound rule to allow FTP traffic. This can be done by allowing particular port numbers in incoming traffic. If you do not have any third party personal firewall programs, this step will ensure that incoming FTP traffic is enabled on the computer even though the Windows firewall is on.

To create a new inbound rule in Windows 10/11 computer, click on Inbound Rules and ‘New Rule’.

new inbound rule

6) Select ‘Port’ as the rule type on the next screen.

7) You can leave ‘TCP’ selected and in ports number enter 20 and 21 (20,21). FTP (File Transfer Protocol) uses port numbers 20 and 21 for data transfer and command control, click here to view more information.

FTP port numbers

8) Select ‘Allow the connection’ which will accept the incoming traffic/packets on these port numbers.

allow the connection

9) Depending on the network connection you are connected to, select the connection type where the particular rule should be applied. You can select all three (Domain, Private and Public) if you are not sure which one to select.

network types

10) Provide a name for the rule, for example, ‘FTP’. This rule name will show under incoming rules in firewall advanced settings. We can easily modify or disable it later by this name.

name for ftp rule

If you want to block incoming FTP traffic later, you can simply right-click on it and disable the rule.

Also, you can enable the FTP inbound traffic in Windows 10/11 firewall by command prompt with simple commands which are explained at the Microsoft site here.

With the steps outlined in this guide, you will be able to enable ping reply and FTP packets on your Windows 11/10 computer without completely disabling the Firewall.

  • Включается режим в самолете windows 10 постоянно
  • Виснет установка windows 7 на starting windows
  • Включение peek windows 10 что это
  • Включается блокировка на ноутбуке windows 10 что делать и как исправить
  • Виснет установка windows 10 с флешки