最後更新: 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
- netsh advfirewall reset
- net start mpsdrv
- net start mpssvc
- net start bfe
- regsvr32 firewallapi.dll