Hi Brichardi,
The difference lies in the scope and enforcement of the rules.
In your case, it seems like the Group Policy might be overriding or conflicting with the rules set in the Windows Defender Firewall console. This could explain why the rule works when set in the Local Group Policy Editor but not when set in the Windows Defender Firewall console https://community.spiceworks.com/t/disabling-specific-local-firewall-rules-via-gpo/951871
To resolve this issue, you might want to consider managing your firewall rules using Group Policies, especially if you’re working in an Active Directory environment https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/configure
|-------------------------------->>> If the reply was helpful please don't forget to upvote and/or accept as answer, thank you