Windows 10: Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules.

Discus and support Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules. in Windows 10 Gaming to solve the problem; Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules.We noticed that our current Windows 10 and 11 Clients do... Discussion in 'Windows 10 Gaming' started by Michael Dallmann, May 7, 2024.

  1. Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules.


    Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules.We noticed that our current Windows 10 and 11 Clients do not adhere to outbound firewall rules set via GPO.I tried a similar szenario in Hyper-V.Using Windows Server 2022 EVAL as DC and a Windows 10 22H3 Client.This environment was completely stock and the result is the same.The GPO get's applied,Windows Defender Firewall on the client does show the created rules.However they do not work.It's alsow not possible to querry those rules via Powershell, they don't show up.Creating the rules manualy works no

    :)
     
    Michael Dallmann, May 7, 2024
    #1

  2. Windows Firewall Outbound rules

    Hi Matthew,

    Welcome to Microsoft Community.

    I'm Hahn and I'm here to help you with your concern.

    Outbound rules are used to control the network traffic that originates from your device and goes to another device on the network or the internet. By default, Windows Firewall allows all outbound network traffic, unless it matches a rule that prohibits the traffic.



    If you want to block or allow a specific program or port to communicate outbound, you need to create a custom outbound rule. You can do this by following these steps: Configure firewall rules with group policy - Windows Security | Microsoft Learn



    Unfortunately, Windows Firewall Outbound rules issue is not supported on the Microsoft Answers forum. It is more suitable for publishing on Microsoft Learn (English only), you can click on "Ask a question", there are experts who can provide more professional solutions in that place.



    Here is a link: Windows 10 Security - Microsoft Q&A to the forum where you can raise specific scenarios and share your idea to help solve the problem.



    I won't be able to help you, but I'll leave that question open in case one of our amazing volunteers has ideas for you.



    Your Sincerely

    | Microsoft Community Support Specialist
     
    Hahn - MSFT, May 7, 2024
    #2
  3. Add Store apps to Windows Firewall outbound rule

    Hello,

    I have changed Windows Firewall to block outbound connections.

    I had no problem configuring outbound rules to allow classic applications accessing the internet.

    I have tried adding the following two rules, but it does not work:

    • %ProgramFiles%\WindowsApps\Microsoft.WindowsStore_22210.1401.13.0_x64__8wekyb3d8bbwe\WinStore.App.exe
    • C:\Windows\System32\RuntimeBroker.exe
    I receive the next error when trying to use Windows Store:

    You'll need the Internet for this.

    It doesn't look like you're connected to the Internet. Check your connection and try again.

    0x800704cf

    I am aware of the answer bellow, but it does not work:

    Redirecting

    For example, Feedback Hub is marked as allowed but the same error is displayed when trying to use the app.

    How do I create outbound rules for Windows Store apps in Windows Firewall?
     
    Razvan Chisa, May 7, 2024
    #3
  4. Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules.

    Windows Firewall Outbound rules

    I set windows firewall to block all inbound and outbound connections on all profiles (Public, Domain, and Private). I then created an outbound rule for one specific program that i want to allow through. I am looking at 2 computers, both with the exact same firewall rules. One works and one doesn't.

    I have tried creating another rule to allow all outbound connections to that local server's IP address. I still cant hit that server. It's almost like sometimes the outbound connections blocked in the profile is taking precedence over the rules i have created.

    I have set many computers up this way and have the same issue until it magically starts working. Again the rules are all the same. The actual error i get from the application is a .net error stating: An attempt was made to access a socket in a way forbidden by its access permissions (server IPWindows 10/11 Clients Defender does not act according to GPO created outbound firewall rules. :port)

    Not sure what is happening here or why it works sometimes, and sometimes it doesn't. As far as i know. I shouldn't have to allow services through, just the program should be enough, and it has been enough for the other computers currently working with this setup.
     
    Matthew Bousfield, May 7, 2024
    #4
Thema:

Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules.

Loading...
  1. Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules. - Similar Threads - Clients Defender does

  2. Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules.

    in Windows 10 Software and Apps
    Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules.: Windows 10/11 Clients Defender does not act according to GPO created outbound firewall rules.We noticed that our current Windows 10 and 11 Clients do not adhere to outbound firewall rules set via GPO.I tried a similar szenario in Hyper-V.Using Windows Server 2022 EVAL as DC...
  3. Windows Firewall Outbound rules

    in Windows 10 Gaming
    Windows Firewall Outbound rules: I set windows firewall to block all inbound and outbound connections on all profiles Public, Domain, and Private. I then created an outbound rule for one specific program that i want to allow through. I am looking at 2 computers, both with the exact same firewall rules. One...
  4. Windows Firewall Outbound rules

    in Windows 10 Software and Apps
    Windows Firewall Outbound rules: I set windows firewall to block all inbound and outbound connections on all profiles Public, Domain, and Private. I then created an outbound rule for one specific program that i want to allow through. I am looking at 2 computers, both with the exact same firewall rules. One...
  5. Windows Firewall Outbound rules

    in Windows 10 Network and Sharing
    Windows Firewall Outbound rules: I set windows firewall to block all inbound and outbound connections on all profiles Public, Domain, and Private. I then created an outbound rule for one specific program that i want to allow through. I am looking at 2 computers, both with the exact same firewall rules. One...
  6. Advanced Safety Windows Defender Firewall Outbound Rule was emptied

    in Windows 10 Gaming
    Advanced Safety Windows Defender Firewall Outbound Rule was emptied: Everytime when I update my Windows 10, my Advanced Safety Windows Defender Firewall Outbound Rule will be emptied. I would have to rebuild these rules everytime when I open those softwares. Is there any ways to keep it?...
  7. Advanced Safety Windows Defender Firewall Outbound Rule was emptied

    in Windows 10 Software and Apps
    Advanced Safety Windows Defender Firewall Outbound Rule was emptied: Everytime when I update my Windows 10, my Advanced Safety Windows Defender Firewall Outbound Rule will be emptied. I would have to rebuild these rules everytime when I open those softwares. Is there any ways to keep it?...
  8. Advanced Safety Windows Defender Firewall Outbound Rule was emptied

    in Windows 10 Installation and Upgrade
    Advanced Safety Windows Defender Firewall Outbound Rule was emptied: Everytime when I update my Windows 10, my Advanced Safety Windows Defender Firewall Outbound Rule will be emptied. I would have to rebuild these rules everytime when I open those softwares. Is there any ways to keep it?...
  9. Windows defender firewall Advance Security Inbound outbound Rules Settings

    in Windows 10 Gaming
    Windows defender firewall Advance Security Inbound outbound Rules Settings: How to? Windows security setup inbound, outbound for Blocking Mostly Advertisers. https://answers.microsoft.com/en-us/windows/forum/all/windows-defender-firewall-advance-security-inbound/5eb780cc-610d-421f-bd3f-b7ea49c7fb6b
  10. question about firewall outbound rules

    in Windows 10 Network and Sharing
    question about firewall outbound rules: hi there *Smile I intend to create an outbound rule in Windows Firewall to block connections certain software might attempt to make. My question is if I can add an IP exception, like blocking all outbound connections with the exception of certain IP address where the...