Windows 11 26H2 Firewall Event ID 2042 Persists on Some PCs Even After KB5132057
KB5132057, released on November 19 U.S. time, brings Windows 11 26H2 to OS build 26300.10075. A user investigating firewall errors since October reported in a December follow-up that event ID 2042 was still logged twice on this build.
The event source is Microsoft-Windows-Windows Firewall With Advanced Security. The error says the service failed to read setting 18 and reports 0x80070005, which means access denied.
The user said the problem began after installing preview update KB5127936, released on October 28 U.S. time. They saw two errors at every boot on Windows 11 Pro 26H2 build 26300.9818.
The error reportedly disappeared when the user removed KB5127936 and rebooted, and returned after reinstalling the update and rebooting. It also occurred on a clean Windows installation.
Another user with a Dell Latitude 5580 reported the same behavior after uninstalling and reinstalling KB5127936. They still saw the startup error after installing security update KB5132061 (build 26300.9974), released on November 10 U.S. time.
A user who had skipped the late-October preview update reported seeing the error after the November monthly update.
Windows 11 26H2 firewall error
| Release date and update | OS build | Reports from some PCs |
|---|---|---|
| Event ID 2042: Failed to read setting 18 0x80070005 | ||
| October 28 KB5127936 | 26300.9818 | Twice at startup Disappears after uninstall Returns after reinstall |
| November 10 KB5132061 | 26300.9974 | Twice at startup Persists after update |
| November 19 KB5132057 | 26300.10075 | Logged twice in December |
※Release dates are U.S. dates in 2026.
What happened to setting 18?
The initial reporter compared system files before and after the update, including FWPolicyIOMgr.dll and mpssvc.dll.
In version 10.0.26100.9711, they found that global setting 18 had the name EnableAuditMode. In the files from version 10.0.26100.9818, the name pointer was NULL. They found that when the pointer is NULL, the read routine returns 0x80070005. They said the firewall service still attempts to read setting 18.
The hypothesis from the file comparison fits both the setting number and the error code in the logged event. The comparison identifies a possible code path alongside the user's observation that the event disappeared and returned when the update was removed and reinstalled.
The reporter used static analysis and did not capture which code actually ran during the affected boot. A runtime trace would be needed to establish how the error occurred. The analysis also does not explain why the reference to the setting name disappeared.
Firewall status in Windows 11 26H2
| Check | Observed state | Notes or impact |
|---|---|---|
| Setting 18 | Read failed Event ID 2042 0x80070005 | Name reference missing Static analysis finding Cause unconfirmed |
| Protection settings and operation | Services running Profiles All three enabled | Defaults Inbound blocked Outbound allowed |
| Export settings | Group Access denied | Problems saving And migrating rules |
| App environment registration | AppContainer Fails during creation 0x800706D9 | Causal link to 2042 Unconfirmed |
Some systems also cannot export firewall settings
When the initial reporter checked services during the problem, the Base Filtering Engine (BFE) and Windows Defender Firewall were running. The Domain, Private, and Public firewall profiles were all enabled, with inbound traffic blocked and outbound traffic allowed by default.
Another user reported that after event ID 2042 started appearing, exporting firewall settings managed by Group Policy failed with an access denied error, preventing a backup.
According to Microsoft's explanation reported by The Register on December 2 UTC, Microsoft is aware of both the startup configuration read error and the policy export failure on Windows 11 26H2. The issue identifier is WI1575989.
Microsoft reportedly said the firewall operates as expected on affected devices. Administrators can still configure it and deploy rules. Exporting existing rules for backup or reuse on other devices is affected, and Microsoft plans to fix it in a future Windows update.
Even when traffic is allowed and blocked correctly, failing to save settings makes it harder to prepare for device replacement or recover from failures. Users may never see it, but it affects administrators' day-to-day work.
The public Windows 11 26H2 known issues list, updated December 2 U.S. time, did not list the configuration read error or policy export failure.
AppContainer registration failures
In the December follow-up, the original reporter said that for DefenderAiPlatformHost, AppModel-Runtime events 21 and 35 were also logged. They said the events indicated that firewall registration failed while CreateAppContainerProfile was creating an AppContainer. Both records had the same timestamp and showed error 0x800706D9. BFE and Windows Defender Firewall were running when the reporter checked later.
AppContainer is a runtime environment that restricts which resources an app can access, including files and the network. Another user said that when an AppModel-Runtime error occurred at boot, Defender AI Platform Host did not appear in Task Manager. It appeared on boots without the error.
On the original reporter's system, a firewall-related error occurred during creation of an app environment as well as during the setting read. The reporter captured no runtime evidence directly connecting event ID 2042 to the failed AppContainer registration. A causal link remains unconfirmed. Further testing would be needed to attribute the registration failure to the read of setting 18.
Keeping the PC protected while investigating the error
Administrators should check whether the firewall is on, whether rules correctly allow or block the required traffic, and whether those rules can be saved. Each matters for ongoing operations.
In its documentation on Windows Firewall, Microsoft recommends leaving it on. Avoid disabling protection to clear event ID 2042 and keep Windows security updates installed.
Users tried removing and reinstalling updates and examined differences in system files to find clues. A fix should stop the logged errors while keeping both traffic protection and rule management working.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
