How to Remotely Disable the Windows Firewall in Windows 7

Written by tara cantore | 13/05/2017

When a Microsoft Windows 7 system is connected to a network, you can remotely control the system's policies and configuration as the domain administrator. If you have sufficient access to the machine over the network, you can disable the firewall for all of the profiles on the Windows 7 system using a single command from your workstation's Command Prompt.

Open the "Start" menu and type "cmd.exe."

Right-click "cmd.exe" and click "Run as Administrator."

Enter your administrator password if prompted, then click "OK."

Type "netsh -r ComputerName -u Username -p Password -c advfirewall set allprofiles state off" without quotation marks in the Command Prompt.

Change "ComputerName" to the IP address or network name of the Windows 7 computer you want to disable the firewall on, and replace "Username" with your administrator user name on the system. Replace "Password" with your password on the machine. For example, if you are connecting to with the user name Skippy and the password banana 24, type:

netsh -r -u Skippy -p banana 24 -c advfirewall set allprofiles state off

Press "Enter" to run your command. The firewall will be remotely disabled on the machine, and your Command Prompt window will indicate success.

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.