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

Recent Posts

Leave a Comment

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Not readable? Change text. captcha txt

Start typing and press Enter to search

Choosing the right storage for your virtual platform