
Disabling or Enabling the Windows Server firewall from the command line
Disabling the Windows Server firewall from the command line
During the building of server core domain controllers, you quite often run into difficulties when trying to connect to them. Generally it’s firewall related.
Here’s how to disable the firewall from the command line on your server core instance / any server command line
To disable the firewall from the command line
Code
netsh firewall set opmode disable
To enable the firewall from the command line
Code
netsh firewall set opmode enable
Enjoy
Recent Posts