add an exception in firewall with script

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
 
G

Guest

I found the solution.
Netsh firewall add allowedprogram "C:\Program.exe" Program ENABLE
Thanks.
Rui
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top