LLI Wiki — My Digital Knowledge Base

Windows: disable the firewall remotely with PsExec and netsh

Temporarily disable Windows Firewall on a remote machine with psexec and netsh.

To turn off Windows Firewall on a remote machine (for example to troubleshoot a connectivity problem), you can run netsh remotely with PsExec (Sysinternals).

psexec \ComputerHostname netsh firewall set opmode disable

Notes

Mastodon LLIMastodon SocialFosstodon