{"id":17086,"date":"2025-08-13T07:43:01","date_gmt":"2025-08-13T06:43:01","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=17086"},"modified":"2025-08-13T07:43:02","modified_gmt":"2025-08-13T06:43:02","slug":"how-to-enable-ping-in-windows-server-2022-firewall","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/","title":{"rendered":"How To Enable Ping In Windows Server 2022 Firewall?"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting\/vps-hosting\/windows-vps\">Windows Server<\/a> 2022, by default, does not respond to the ping command because its Windows Firewall settings are configured to block all inbound ICMP traffic. Although this enhances security, but also makes network troubleshooting a challenging task. To enable ping responses, you can allow ICMP traffic through Windows Firewall either using the command line or through the GUI.\u00a0<\/p>\n\n\n\n<p><strong>Command Line<\/strong><\/p>\n\n\n\n<p>To allow ping requests from any source, run this command in the command prompt or PowerShell:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em>netsh advfirewall firewall add rule name=\"ICMP Allow incoming V4 echo request\" protocol=icmpv4:8,any dir=in action=allow<\/em><\/code><\/pre>\n\n\n\n<p>Alternatively, you can use the Windows graphical user interface to accomplish this:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Allow ping through Windows Firewall GUI<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The first thing we need to do is open Windows Firewall, which can be done in a few different ways. The preferred method is to open start simply, then type firewall. Click Windows Firewall with Advanced Security as shown below.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"583\" height=\"334\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-windows-firewall.png\" alt=\"click-windows-firewall\" class=\"wp-image-17097\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The basic firewall interface can also be opened by typing &#8216;firewall&#8217; and pressing enter in PowerShell<\/li>\n\n\n\n<li>Click &#8220;Advanced Settings&#8221; at the bottom of the page.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"560\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-advanced-settings.png\" alt=\"click-advanced-settings\" class=\"wp-image-17099\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the Windows Defender Firewall with Advanced Security window that opens, select Inbound Rules.<\/li>\n\n\n\n<li>Select &#8220;File and printer sharing (Echo Request &#8211; ICMPv4-In)&#8221; under Inbound Rules and enable it<\/li>\n\n\n\n<li>This rule will only allow IPv4 requests in, you can customize it to only allow requests from certain IP addresses.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"560\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/inbound-rules.png\" alt=\"Inbound Rules\" class=\"wp-image-17100\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you need IPv6 then you will want to enable the \u201cFile and Printer Sharing (Echo Request \u2013 ICMPv6-In)\u201d rule, listed just below.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"580\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/enable-the-file-and-printer-sharing.png\" alt=\"enable-the-file-and-printer-sharing\" class=\"wp-image-17101\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>After enabling the rule, the server should now respond to ping requests.&nbsp;<\/li>\n\n\n\n<li>For example, we have pinged my Windows Server 2022 VM at 192.168.162.185 from desktop before we enabled the rule and after we enabled the rule. Our initial requests timed out because Windows Server 2022 has inbound ICMP traffic disabled by default. Once the ICMP rule was enabled, the ping requests were successful and we validated that the change works.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"444\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/windows-server-2022.png\" alt=\"windows-server-2022\" class=\"wp-image-17102\"\/><\/figure>\n\n\n\n<div class=\"vlt-box \">\n<div class=\"box-title\" style=\"background:#D5EAFF; color:#000\">Summary<\/div>\n<div class=\"box-content\" >\n<p>It is easy to enable ping in Windows Server 2022, and being able to use ping as part of network troubleshooting is a quick and easy way to test connectivity. Allowing inbound ICMP traffic through the firewall will let you test connectivity and diagnose connectivity issues without losing necessary security controls.<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Windows Server 2022, by default, does not respond to the ping command because its Windows Firewall settings are configured to block all inbound ICMP traffic. Although this enhances security, but also makes network troubleshooting a challenging task. To enable ping responses, you can allow ICMP traffic through Windows Firewall either using the command line or [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1863],"tags":[],"class_list":["post-17086","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-windows-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Enable Ping In Windows Server 2022 Firewall?<\/title>\n<meta name=\"description\" content=\"Learn how to enable ping in Windows Server 2022! Our easy-to-follow tutorial guides you through the steps to configure your firewall and allow ICMP echo requests. Improve network troubleshooting and connectivity today.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Enable Ping In Windows Server 2022 Firewall?\" \/>\n<meta property=\"og:description\" content=\"Learn how to enable ping in Windows Server 2022! Our easy-to-follow tutorial guides you through the steps to configure your firewall and allow ICMP echo requests. Improve network troubleshooting and connectivity today.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-13T06:43:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-13T06:43:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-windows-firewall.png\" \/>\n\t<meta property=\"og:image:width\" content=\"583\" \/>\n\t<meta property=\"og:image:height\" content=\"334\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ujwala\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ujwala\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/\",\"name\":\"How To Enable Ping In Windows Server 2022 Firewall?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-windows-firewall.png\",\"datePublished\":\"2025-08-13T06:43:01+00:00\",\"dateModified\":\"2025-08-13T06:43:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\"},\"description\":\"Learn how to enable ping in Windows Server 2022! Our easy-to-follow tutorial guides you through the steps to configure your firewall and allow ICMP echo requests. Improve network troubleshooting and connectivity today.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-windows-firewall.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-windows-firewall.png\",\"width\":583,\"height\":334,\"caption\":\"click-windows-firewall\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Enable Ping In Windows Server 2022 Firewall?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\",\"name\":\"Ujwala\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g\",\"caption\":\"Ujwala\"},\"description\":\"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/ujwala\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Enable Ping In Windows Server 2022 Firewall?","description":"Learn how to enable ping in Windows Server 2022! Our easy-to-follow tutorial guides you through the steps to configure your firewall and allow ICMP echo requests. Improve network troubleshooting and connectivity today.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/","og_locale":"en_GB","og_type":"article","og_title":"How To Enable Ping In Windows Server 2022 Firewall?","og_description":"Learn how to enable ping in Windows Server 2022! Our easy-to-follow tutorial guides you through the steps to configure your firewall and allow ICMP echo requests. Improve network troubleshooting and connectivity today.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2025-08-13T06:43:01+00:00","article_modified_time":"2025-08-13T06:43:02+00:00","og_image":[{"width":583,"height":334,"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-windows-firewall.png","type":"image\/png"}],"author":"Ujwala","twitter_misc":{"Written by":"Ujwala","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/","name":"How To Enable Ping In Windows Server 2022 Firewall?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-windows-firewall.png","datePublished":"2025-08-13T06:43:01+00:00","dateModified":"2025-08-13T06:43:02+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8"},"description":"Learn how to enable ping in Windows Server 2022! Our easy-to-follow tutorial guides you through the steps to configure your firewall and allow ICMP echo requests. Improve network troubleshooting and connectivity today.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-windows-firewall.png","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2025\/08\/click-windows-firewall.png","width":583,"height":334,"caption":"click-windows-firewall"},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-enable-ping-in-windows-server-2022-firewall\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How To Enable Ping In Windows Server 2022 Firewall?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8","name":"Ujwala","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8d26ea4b9b2d83ae90b67f6bf5eefbca?s=96&d=blank&r=g","caption":"Ujwala"},"description":"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/ujwala\/"}]}},"views":0,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/17086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=17086"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/17086\/revisions"}],"predecessor-version":[{"id":17103,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/17086\/revisions\/17103"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=17086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=17086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=17086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}