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 192.168.123.242 with the user name Skippy and the password banana24, type:netsh -r 192.168.123.242 -u Skippy -p banana24 -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.