Arquivo de tag desabilitar

Desabilitar firewall via prompt de comando ou remotamente

Para habilitar o firewall execute o seguinte comando.

netsh advfirewall set currentprofile state on

Para desabilitar o firewall do windows execute o seguinte comando.

netsh advfirewall set currentprofile state off

Para executar o comando remotamente via psexec use o seguinte comando.

psexec \\192.168.200.xxx netsh advfirewall set currentprofile state off