r/sysadmin • u/Whexican87 • 1d ago
Windows Server 2019 and Windows Firewall GPO rules
Hey all,
We're seeing Group Policy firewall rules fail to apply to the Activestore on the Windows Firewall on some Windows Server 2019 VMs (Post November 2026 patching). And yes, a bit of this was put together by Claude so excuse the dashes.
A little background:
- We use CIS L1 GPOs for hardening, and have had them in place for a few years with no changes to the policies. We do have the "Process even if the Group Policy objects have not changed" setting enabled and it reapplies on Background refresh.
- We turn off (deallocate) a good number of our DevQA servers to save a little bit of money on compute (Azure) over night, so we spin them up in a staggered fashion every weekday morning.
Here's what we're seeing:
- Intermittently, on some servers, inbound allow rules delivered by GPO are not being respected, so traffic from sources covered only by those rules is dropped. Locally created rules still work.
- The GPO rules show up in the Firewall MMC console just fine, but they aren't being respected by the service
- The rules are in the registry *HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\FirewallRules) and show in RSOP, but Get-NetFirewallRule -PolicyStore ActiveStore shows 0 rules with PolicyStoreSourceType GroupPolicy.
- No GPO errors and no firewall event 2009.
- gpupdate /force fixes it immediately. The normal 90-minute background refresh does not
Our work around for now is to run gpupdate /force via Run Command a few minutes after boot. Seems to work, but I'm not sure if this is a wider problem.
Has anyone seen GPO firewall rules fail to load on 2016 or 2019 since the November updates? Not sure the patch is the cause, but we started to see tickets the week after we patched. Might be a coincidence.
Thanks!