Project

General

Profile

Actions

Notes on enabling and disabling the Windows Firewall from the command line

The following commands must be run from within an elevated cmd.exe prompt for machines joined to an Active Directory Domain.

Enable firewall for Domain Networks

netsh advfirewall set domainprofile state on

Disable firewall for Domian networks

netsh advfirewall set domainprofile state off

Updated by Ted Sume over 3 years ago · 1 revisions