{"id":2328,"date":"2017-08-09T20:32:23","date_gmt":"2017-08-09T20:32:23","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=2328"},"modified":"2017-08-09T20:32:23","modified_gmt":"2017-08-09T20:32:23","slug":"disable-the-firewall-on-a-windows-nano-server-using-powershell","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=2328","title":{"rendered":"Disable The Firewall On A Windows Nano Server Using PowerShell"},"content":{"rendered":"<p>In this article, I\u2019ll show you how to disable the Windows Firewall on A Windows Nano Server 2016.<br \/>\n<span id=\"more-11788\"><\/span><\/p>\n<p>Below, you will see two methods to do it one using Netsh and the second using Set-NetFirewallProfile (PowerShell) you can use either of them.<\/p>\n<p>To disable the firewall connect\u00a0to your\u00a0Nano Server using PowerShelland run the line below to disable the Firewall:<\/p>\n<pre>netsh advfirewall set allprofiles state off\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i1.wp.com\/www.ntweekly.com\/wp-content\/uploads\/2016\/05\/050716_2220_DisableTheF1.png?w=525\" alt=\"\" width=\"524\" height=\"269\" \/><\/p>\n<p>To enable It back run:<\/p>\n<pre>netsh advfirewall set allprofiles state on<\/pre>\n<p>You can also use the line below to disable it using a PowerShell cmdlet:<\/p>\n<pre>Set-NetFirewallProfile\u00a0-Profile Domain,Public,Private -Enabled false\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i1.wp.com\/www.ntweekly.com\/wp-content\/uploads\/2016\/05\/050716_2220_DisableTheF2.png?w=525\" alt=\"\" width=\"524\" height=\"268\" \/><\/p>\n<p>And the line below to enable it:<\/p>\n<pre>Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Thanks<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, I\u2019ll show you how to disable the Windows Firewall on A Windows Nano Server 2016. Below, you will see two methods to do it one using Netsh and the second using Set-NetFirewallProfile (PowerShell) you can use either of them. To disable the firewall connect\u00a0to your\u00a0Nano Server using PowerShelland run the line below [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59,65,63],"tags":[],"class_list":["post-2328","post","type-post","status-publish","format-standard","hentry","category-powershell","category-nano-server-nano-server","category-server-2016-2016"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2328"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2328\/revisions"}],"predecessor-version":[{"id":2329,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/2328\/revisions\/2329"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}