Older netsh advfirewall set allprofiles state off is to be deprecated in favor of PowerShell.
For testing, you can disable all Windows Firewall Profiles with the following PowerShell commands:
Import-Module NetSecurity Get-NetFirewallProfile | Set-NetFirewallProfile -Enabled False
To re-enable:
Get-NetFirewallProfile | Set-NetFirewallProfile -Enabled True