{"id":3821,"date":"2022-03-18T19:17:59","date_gmt":"2022-03-19T03:17:59","guid":{"rendered":"https:\/\/wonghoi.humgar.com\/blog\/?p=3821"},"modified":"2022-03-31T23:29:44","modified_gmt":"2022-04-01T07:29:44","slug":"windows-10-not-sharing-files-out-of-the-box","status":"publish","type":"post","link":"https:\/\/wonghoi.humgar.com\/blog\/2022\/03\/18\/windows-10-not-sharing-files-out-of-the-box\/","title":{"rendered":"Windows 10 not sharing files (also not ping-able) out of the box"},"content":{"rendered":"\n<p>Firewall exception for &#8220;File and Printer Sharing&#8221; is not enabled by default. Check the boxes below to enable CIFS\/SMB sharing. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"382\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-46-1024x382.png\" alt=\"\" class=\"wp-image-3822\" srcset=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-46-1024x382.png 1024w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-46-300x112.png 300w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-46-768x287.png 768w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-46-1536x573.png 1536w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-46.png 1964w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Enabling &#8220;File and Printer Sharing&#8221; also enables pinging into the said Windows 10 machine since this group also enable &#8220;Echo Request &#8211; ICMPv4) that the details can be seen in Advanced Firewall Config rules.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"360\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-47-1024x360.png\" alt=\"\" class=\"wp-image-3830\" srcset=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-47-1024x360.png 1024w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-47-300x105.png 300w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-47-768x270.png 768w, https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/image-47.png 1404w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Command line shortcuts<\/p>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/firewall_enable_file_sharing_network_discovery.cmd\">firewall_enable_file_sharing_network_discovery<\/a><a href=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/uploads\/2022\/03\/firewall_enable_file_sharing_network_discovery.cmd\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">netsh advfirewall firewall set rule group=\"Network Discovery\" new enable=Yes\nnetsh advfirewall firewall set rule group=\"File and Printer Sharing\" new enable=Yes<\/pre>\n<div class=\"pvc_clear\"><\/div><p id=\"pvc_stats_3821\" class=\"pvc_stats all  \" data-element-id=\"3821\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p><div class=\"pvc_clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Firewall exception for &#8220;File and Printer Sharing&#8221; is not enabled by default. Check the boxes below to enable CIFS\/SMB sharing. Enabling &#8220;File and Printer Sharing&#8221; also enables pinging into the said Windows 10 machine since this group also enable &#8220;Echo &hellip; <a href=\"https:\/\/wonghoi.humgar.com\/blog\/2022\/03\/18\/windows-10-not-sharing-files-out-of-the-box\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_3821\" class=\"pvc_stats all  \" data-element-id=\"3821\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/wonghoi.humgar.com\/blog\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3821","post","type-post","status-publish","format-standard","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts\/3821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/comments?post=3821"}],"version-history":[{"count":8,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts\/3821\/revisions"}],"predecessor-version":[{"id":3996,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/posts\/3821\/revisions\/3996"}],"wp:attachment":[{"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/media?parent=3821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/categories?post=3821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wonghoi.humgar.com\/blog\/wp-json\/wp\/v2\/tags?post=3821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}