-
Notifications
You must be signed in to change notification settings - Fork 14
Disable Firewalls
lethanhtung01011980 edited this page Apr 7, 2020
·
10 revisions
- Already had admin
- To turn off firewall for further attacks?
Ref:
- https://www.windows-commandline.com/enable-disable-firewall-command-line/
- https://support.microsoft.com/en-us/help/817876/the-internet-connection-firewall-icf-internet-connection-sharing-ics-s
Windows 10 / Windows 8/ Windows 7 / Server 2008 /Vista/Server 2012:
- Turn off for all: netsh advfirewall set allprofiles state off
- Turn on for all: netsh advfirewall set allprofiles state on
- In powershell, to turn off
PS > Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
Older Windows versions – XP / Server 2003:
- Turn off firewall: netsh firewall set opmode mode=DISABLE
- Turn on firewall: netsh firewall set opmode mode=ENABLE
Windows 2000
- Turn off firewall: net stop sharedaccess