Windows 10: Enable/Disable Firewall Rules for 'Application Packages' using CMD?

Discus and support Enable/Disable Firewall Rules for 'Application Packages' using CMD? in AntiVirus, Firewalls and System Security to solve the problem; Hi all, I'm trying to use the CMD prompt command Netsh AdvFirewall Firewall SET RULE name="name" NEW... I'm trying to configure the Firewall Rules... Discussion in 'AntiVirus, Firewalls and System Security' started by Thelps, Mar 25, 2020.

  1. Thelps Win User

    Enable/Disable Firewall Rules for 'Application Packages' using CMD?


    Hi all,

    I'm trying to use the CMD prompt command

    Netsh AdvFirewall Firewall SET RULE name="name" NEW...


    I'm trying to configure the Firewall Rules associated with the application packages found in "C:\Program Files\WindowsApps".

    However, for some reason, the usual CMD syntax to SET an existing firewall rule simply returns the error:

    No rules match the specified criteria

    This used to work in older versions of Windows 10. However, it doesn't work in Version 1909.

    Can someone explain how to use CMD Prompt to configure the pre-existing Firewall Rules that apply to Windows Apps?

    :)
     
    Thelps, Mar 25, 2020
    #1
  2. Thelps Win User

    Enable/Disable Firewall Rules for 'Application Packages' using CMD?

    Hi all,

    I'm trying to use the CMD prompt command

    Netsh AdvFirewall Firewall SET RULE name="name" NEW...


    I'm trying to configure the Firewall Rules associated with the application packages found in "C:\Program Files\WindowsApps".

    However, for some reason, the usual CMD syntax to SET an existing firewall rule simply returns the error:

    No rules match the specified criteria

    This used to work in older versions of Windows 10. However, it doesn't work in Version 1909.

    Can someone explain how to use CMD Prompt to configure the pre-existing Firewall Rules that apply to Windows Apps?
     
    Thelps, Mar 25, 2020
    #2
  3. Enable/Disable Firewall Rules for 'Application Packages' using CMD?

    I realise you asked for how to use cmd prompt and I do not know yet the answer to that, but could you not establish the new rule using settings and the provided method as per my screenshot
    Settings - update and security - windows security - on main pane Firewall and network protection and then scroll to advanced settings
     
    Macboatmaster, Mar 25, 2020
    #3
  4. Steevo Win User

    Enable/Disable Firewall Rules for 'Application Packages' using CMD?

    Windows Firewall blocking program even with inbound/outbound rule enabled.

    Windows firewall is like a fart when you have squirty dumplings, you shouldn't really trust it.


    Disable the private network firewall, if the application works fine do this.

    Open a CMD prompt window with admin rights. type in "netstat" without the quotes and press enter. You should get a list of what IP and port is connecting to what port and or service. Open those ports for the application, or just allow those ports to be unfiltered.
     
    Steevo, Mar 25, 2020
    #4
Thema:

Enable/Disable Firewall Rules for 'Application Packages' using CMD?

Loading...
  1. Enable/Disable Firewall Rules for 'Application Packages' using CMD? - Similar Threads - Enable Disable Firewall

  2. Enable/Disable Firewall Rules for 'Application Packages' using CMD?

    in Windows 10 Network and Sharing
    Enable/Disable Firewall Rules for 'Application Packages' using CMD?: Hi all, I'm trying to use the CMD prompt command Netsh AdvFirewall Firewall SET RULE name="name" NEW... I'm trying to configure the application packages found in "C:\Program Files\WindowsApps". However, for some reason, the usual CMD syntax to SET an existing firewall...
  3. Adding a new rule using Windows Defender Firewall

    in AntiVirus, Firewalls and System Security
    Adding a new rule using Windows Defender Firewall: Hi all. I have an HP All-In-One Desktop running Windows 10 Version 1909, Build 18363.720. I regularly run Windows update and the last update I received, March 12, 2020 is KB4551762 OS Builds 18362.720 and 18363.720. I manage my music through an older Logitech Squeezebox...
  4. Windows Firewall doesn't use my rules...

    in Windows 10 Ask Insider
    Windows Firewall doesn't use my rules...: I'm planning on getting a VPN soon but wanted to make sure I can restrict an app to only use a VPN Connection (so my IP does'nt leak) by blocking my IP address in Firewall. I've been trying to set up a rule to do that with Firefox, but no matter what I try, Firefox is STILL...
  5. Firewall Rules

    in Windows 10 Network and Sharing
    Firewall Rules: Can you setup exceptions for firewall rules? For example, if I have a port blocked inbound for ALL via GPO, can I create an exception to that rule to allow just certain IP addresses to get through the port being blocked? Win 10 ENT in a domain environment....
  6. How to disable a firewall rule windows 1809

    in AntiVirus, Firewalls and System Security
    How to disable a firewall rule windows 1809: What I want to do is very simple. I have a few firewall rules that I set up that are no longer needed and I want to remove/disable them so the app is no longer allowed through. I found a remove button but it is greyed out. All the advice and instructions on the internet are...
  7. Need help trying to add a firewall rule for an application...

    in AntiVirus, Firewalls and System Security
    Need help trying to add a firewall rule for an application...: I have been trying to get this to work for almost a week now and I'm not having any luck. And as I've mentioned before, I'm not that great at vbscript. When I step through the vb.net part of the code, it looks like it should work, but it's not. I could REALLY use some help...
  8. Firewall rules

    in AntiVirus, Firewalls and System Security
    Firewall rules: I accidentally deleted outbound windows firewall rules. Will these reappear? Can this be dangerous? Please help. Thanks https://answers.microsoft.com/en-us/windows/forum/windows_10-security/firewall-rules/1f7cbdda-d9e2-435a-96cb-6caef7699b88"
  9. Firewall rules resetting

    in AntiVirus, Firewalls and System Security
    Firewall rules resetting: For some reason I'm not able to keep my firewall settings saved. Specifically, apps that I allow through the firewall whether through prompt or control panel reset back to "not allowed.' I think this is happening after each update. It's extremely frustrating as I primarily...
  10. Windows Firewall Rules

    in AntiVirus, Firewalls and System Security
    Windows Firewall Rules: I was looking at Windows Firewall with Adv Security and noticed 11 individual but seemingly identical entries for Microsoft Solitaire Collection. The default rules were to allow all. First, why 11? And second, why all any at all? Ditto for Stick Notes, Microsoft Phone,...