If you are on a network and you are required to perform some network operations on that particular PC that requires you to drop the firewall temporarily, and you can’t get to the PC or it is too far away for you to travel to, you can remotely disable the firewall using the cool tools in the PSTOOLS utilities – available from the Microsoft web site.
To disable the firewall, perform the following:
- Open up a command prompt on your administrator PC / server
- Type in the following: psexec \\machine -u username -p password cmd
- Once connected type: netsh firewall set opmode mode = disable. The output should just be ‘ok’
You have now successfully disabled the firewall and you can perform the tasks that you need to. Remember to enable the firewall when you have finished.