Windows firewall

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
lob
Posts: 5
Joined: 12 Jan 2011 15:29

Windows firewall

#1 Post by lob » 26 Jan 2011 07:37

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!!

ChickenSoup
Posts: 79
Joined: 13 Dec 2010 10:32

Re: Windows firewall

#2 Post by ChickenSoup » 26 Jan 2011 08:02

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

Post Reply