add an exception in firewall with script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am looking for a script to use in a installation program.
The script will automatically add a program in the firewall exceptions tab.
Designated win xp sp2 workstation fire wall.
Tks
Rui
 
I found the solution.
Netsh firewall add allowedprogram "C:\Program.exe" Program ENABLE
Thanks.
Rui
 
Back
Top