How to Disable The Firewall On Windows Server Core 2016

In this article, I’ll show you how to disable the Windows Firewall on Windows Server Core 2016 using PowerShell.

With Microsoft announcement regarding Windows Server Core becoming the recommended Server OS for most deployment, you probably will need to know how to disable the firewall on your Server Core.

Disable Server Core Firewall

To get started, I’ll be using PowerShell ISE remote tabs to connect to my Server Core

Connect to Server

You could also use the PowerShell console and connect using Enter-Pssession

I run the cmdlet below to check the status of all the Firewall profiles

Get-NetFirewallProfile
Get Firewall

To disable the Firewall run the cmdlet below

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled false
Disable the Firewall

To enable the firewall again run

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled true
YouTube Video

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.