How to turn on/off firewall for a win 7 machine using PS tool?
-
Friday, May 04, 2012 12:26 PM
please some one help me on
how to turn on/off firewall of a remote machie(windows 7) using ps tool or any other?
thanks in adv
Regards, Srikanth Paka
All Replies
-
Friday, May 04, 2012 2:59 PM
netsh firewall set opmode disable
have a look at this thread
-
Saturday, May 05, 2012 11:13 PM
At the local console of the computer, you would run:
- To stop firewall: net stop mpssvc
- To start firewall: net start mpssvc
Using PSexec, the command should be:
- To stop firewall: psexec \\computername net stop mpssvc
- To start firewall: psexec \\computername net start mpssvc
- Marked As Answer by srikanth paka Monday, May 07, 2012 8:53 AM
-
Monday, May 07, 2012 8:54 AMThanks a lot Kob & Ang
Regards, Srikanth Paka

