Forum Discussion
Apr 25, 2021
MSIX Packaging Tool Firewall Rule Failure
The Microsoft MSIX Packaging Tool:
Does not detect firewall rules added by the installer and add them as Desktop2 manifest entries.
Does not capture HKLM\Software\Services\CurrentControlSet\Ser...
- Mar 10, 2023We tried Teamviewer, but it adds firewall rules as expected - in SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules
We tried, but couldn't find an app that writes firewall rules in:
SOFTWARE\Policies\Microsoft\WindowsFirewall\FirewallRules
Jan 16, 2023
UltraVNC https://github.com/ultravnc
Jan 16, 2023
@Aniket_Banerjee: The original was a customer owned app I can't share, so UltraVNC will do. Perhaps Pollewops can share whatever app he was fixing up also.
- Aniket_BanerjeeJan 19, 2023
Microsoft
We tried converting UltraVNC in a test environment. MPT does detect the firewall, but it adds firewall rules to registry:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules instead of registry location you mentioned - HKLM\Software\Services\CurrentControlSet\Services\SharedAccess.
- Jan 27, 2023Maybe try TeamViewer. The package created by MMPT 2023.118 did not include a firewall entry in the manifest, but after installation I do see an entry under CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules\{guid}
The native installer is adding in the firewall rule properly, and it works natively, but when captured by the MMPT the package does not contain either any values under any SharedAccess key, and it is not in the Manifest as an extension. The result is that when you run the application from the MSIX package the end user is prompted for adding the firewall in. This isn't all that bad of an impact, but just nor right either.- Aniket_BanerjeeMar 10, 2023
Microsoft
We tried Teamviewer, but it adds firewall rules as expected - in SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules
We tried, but couldn't find an app that writes firewall rules in:
SOFTWARE\Policies\Microsoft\WindowsFirewall\FirewallRules
- PollewopsJan 17, 2023Iron Contributor
Think as Timothy said, all apps will do if you create a firewall rule. I can do some testing myself if i do not forget to see if it is fixed. Just create a msix package and create a rule. Will it be captured?