Disabling or Enabling the Windows Server firewall from the command line

 In VMWare

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

Leave a Comment

Contact Us

Call us on: 01332 890460 or Send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt
Choosing the right storage for your virtual platform