/build/static/layout/Breadcrumb_cap_w.png

Firewall Exceptions not working

Hi Guys

I am working on an application which when launched prompts for firewall exception. I click allow and the application runs fine for all subsequent launches. I exported the firewall exception registry keys from and imported them in my package. After installing the MSI with the firewall exceptions, the application still prompts for the firewall exception and when I allow, the application runs fine. When I go to the registry, there are 4 registry entries, 2 installed by the package and 2 at launch. The registry keys I am including in my package are as follows:

 

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules]

"TCP Query User{7D9967C0-F03E-450D-A550-8FF40867AAE6}C:\\program files (x86)\\vendor\\appname\\appname.exe"="v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=6|Profile=Domain|appname=C:\\program files (x86)\\vendor\\appname\\appname.exe|Name=appname Invoker|Desc=appname Invoker|Defer=User|"

"UDP Query User{4A383E61-AFB8-4D0B-ADEA-230C488B4678}C:\\program files (x86)\\vendor\\appname\\appname.exe"="v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=17|Profile=Domain|appname=C:\\program files (x86)\\vendor\\appname\\appname.exe|Name=appname Invoker|Desc=appname Invoker|Defer=User|"

One thing to note is that instead of an application name, there are GUIDs which change on every install which is why I think they are not being recognized at runtime.

Has anyone run into this issue before? Thoughts?

 

SOLUTION: This turned out to be the issue:

http://bish.co.uk/2011/05/23/vmware-qunidentified-networkq-problem-with-windows-7/


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: anonymous_9363 10 years ago
Red Belt
1

http://msdn.microsoft.com/en-us/library/windows/desktop/aa366421%28v=vs.85%29.aspx

or if you prefer DOS:

http://community.spiceworks.com/scripts/show/1336-add-exception-in-firewall

What is this "Google" thing that everyone keeps talking about? Anyone know?


Comments:
  • The question wasn't how to add firewall exceptions, I have already done that as per my post and they are even added but Windows doesn't recognize them. - tellmehow 10 years ago
    • ...because you've added them in the wrong way!! Besides anything else, the firewall runs as a service so at the very least you'd need to stop and restart it. Or you could add the exceptions in the proper, documented way. Your choice... - anonymous_9363 10 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ