Windows Firewall (wf.msc)

最後更新: 2019-05-15

 

 


Turn off the firewall By CLI

 

# win7

# Open an administrative command prompt.

netsh advfirewall set allprofiles state off.

# Server 2012

# To turn off the firewall using Windows PowerShell in Windows Server 2012

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False.

 


Service & Reset

 

  1. netsh advfirewall reset
  2. net start mpsdrv
  3. net start mpssvc
  4. net start bfe
  5. regsvr32 firewallapi.dll