Page 1 of 1

Windows firewall

Posted: 26 Jan 2011 07:37
by lob
Is it possible to automatically set an "allowed" entry in windows firewall? For instance, I'm creating a batch file to silently install a few programs, one of which is JRE. All of which cause windows firewall to ask if it's ok for the programs to access the internet. If JRE has never been installed, the silent installation fails when waiting on a response from Windows Firewall. Possible? Thanks!!

Re: Windows firewall

Posted: 26 Jan 2011 08:02
by ChickenSoup
This can be done in 2 ways. Either Windows Group Policy (If in a domain) or using the command line options of netsh (sorry don't know the exact commands):

Code: Select all

netsh firewall add /?


http://technet.microsoft.com/en-us/library/bb490617.aspx