Arquivo de tag psexec

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

 

Desabilitar Firewall Remotamente Windows Server PsExec Netsh

Desabilitar firewall remotamente via PsExec

01

 

Ler mais