How to suppress the Firewall Exception Rule window..

In Sequencing after source installation,
I Added a firewall exception rule for an exe file which is located C:\program files\ABC\XYZ.exe
and I given, Allowing incomming and outgoing connections on all network connections.

This has done from "Control Panel\All Control Panel Items\Windows Firewall\Allowed Programs" and browsed exe file.. and selected all Network Location Types.
Then I added that exe as Windows Firewall allowed programs.

But at the Testing time of sequenced application I was getting Firewall window for Allowing network connections.
And I can access the network connection by ignoring that window..

I added related registries to that exe from location,
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules"
but still getting that window..
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I don't think you can suppress, since it's the feature of local firewall component which does not see any virtual registry settings you might have. The only option would be to add the rule to each and every client computer (using GPO for instance) receiving that package.

Just be aware that Windows firewall will see all binaries executed from App-V package using the "Q: path" even though you might do VFS sequence (because that's where the binary IS for Windows). So you need to look how the executable path looks like client's POV (easiest from actual FW prompt when you launch that app) and use that path when creating a rule.
Answered 09/27/2011 by: ksaunam
Orange Senior Belt

Please log in to comment
0
http://technet.microsoft.com/en-us/library/cc947788(WS.10).aspx

Deploying Windows Firewall Settings With Group Policy,
http://technet.microsoft.com/en-us/library/bb490626.aspx

http://technet.microsoft.com/en-us/library/cc755604(WS.10).aspx
Answered 10/19/2011 by: muni2pop
Yellow Belt

Please log in to comment
0
Just try this script...

change the application name and the path according to your needs....


Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile

Set objApplication = CreateObject("HNetCfg.FwAuthorizedApplication")
objApplication.Name = "Application name"
objApplication.IPVersion = 2
objApplication.ProcessImageFileName = "path of the exe"
objApplication.RemoteAddresses = "*"
objApplication.Scope = 0
objApplication.Enabled = True

Set colApplications = objPolicy.AuthorizedApplications
colApplications.Add(objApplication)


pls let me know the results
Answered 11/28/2011 by: anphi
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity