Exchange outages after the October 2026 Windows Server updates: MapiExceptionMdbOffline (ec=1142)
After the October 13, 2026 Windows Server updates, Exchange servers report MapiExceptionMdbOffline (ec=1142) after around 24 hours: OWA fails, queues grow, and DAG copies stop replicating. The cause is a new limit in the RPC Endpoint Mapper; since October 17, 2026, Microsoft has recommended the EpmapSavedContextCap registry value, but a fix is still unavailable. Symptoms, affected KBs, verification commands, and procedure.
Current version and all builds: Exchange build numbers
Since the October 13, 2026 Patch Tuesday, Exchange servers have been failing after around 24 hours of uptime: clients lose their connection to the mailbox, OWA reports MapiExceptionMdbOffline: Unable to make connection to the server. (hr=0x80004005, ec=1142), emails remain in queues, and database copies in DAGs stop replicating. Microsoft added a note to the October Exchange SU announcement on October 15, 2026: the October updates for Windows Server are the trigger, and installing the Exchange SU is not required for the issue to occur. Since October 17, 2026, the cause and an official registry workaround have been known; a fix is not yet available. Details follow in the next section.
Update October 19, 2026: Cause and registry workaround
The Exchange team published a dedicated post about the issue on October 17, 2026. The Windows update release notes (for example, KB5126646) now list the issue as a Known Issue with the status “unresolved.”
Cause
The October updates limit the memory that the RPC Endpoint Mapper uses for endpoint lookup calls. By default, only 512 saved contexts are now allowed; according to Microsoft, that is insufficient for workloads such as Exchange. Exchange accumulates these contexts during operation until the limit is reached. After that, RPC connections to the mailbox database fail, and OWA reports MapiExceptionMdbOffline. A reader at Born verified the new configuration value EpmapSavedContextCap in the RpcEpMap.dll of the October updates. Frankys Web attributes the limit to the Denial of Service vulnerability CVE-2026-96300 in the RPC Endpoint Mapper, which was fixed on the same Patch Tuesday.
This explains several observations from the first few days:
- The outage occurs only after several hours, and the timing depends on the workload. According to Microsoft, some servers are never affected.
- Restarting the server resets the counter and therefore helps only until the limit is reached again. According to a reader at Born, restarting only the Exchange services does not release the occupied memory.
- The limit is included in the cumulative Windows updates. The Exchange SU and .NET update are not involved.
- The suspected connection to database maintenance tasks and the replication service is therefore not the cause.
Workaround
Microsoft recommends raising the limit through the registry and then restarting the server. In an elevated Command Prompt:
reg add "HKLM\SOFTWARE\Microsoft\Rpc" /v EpmapSavedContextCap /t REG_DWORD /d 65536 /f
The Endpoint Mapper reads the value only at startup; the change does not take effect without restarting the server. If the issue occurs again afterward, Microsoft recommends increasing the value further. According to Microsoft, the measure resolved the issue in all customer cases handled so far. According to Born, Nino Bilic (Microsoft) describes the entry as a temporary workaround that poses no security risk but is not the final solution. A reader at Born reports a server that has been running uninterrupted for more than 26 hours with 65536. Some administrators use higher values such as 16777215; so far, there has been no documented case in which 65536 was insufficient after a restart.
You can check whether the value is set with this query in PowerShell:
Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Rpc" -Name EpmapSavedContextCap
Set the value on all Exchange servers, including those that have not failed so far. On servers that do not yet have the October updates, you can set the value before installation; the restart after installation will then activate it. In a DAG, restart the members one at a time as described below. Frankys Web also provides a PowerShell script that sets the value, backs up the previous state, and can be reverted with -Remove.
According to Microsoft, the Windows updates should explicitly not be uninstalled. A reader at Frankys Web also reports RDP sign-in issues (CredSSP) after uninstalling KB5126868. If the registry workaround is insufficient, Microsoft offers an additional mitigation through Support for business. Once a fix is available, you should remove the registry value again because the higher limit weakens protection against CVE-2026-96300.
Open questions
- Fix: Microsoft has not given a date. A reader at Born suspects that Microsoft could remove the limit through a Known Issue Rollback (Feature ID 63096240); this has not been confirmed.
- Value: It remains unclear whether 65536 will also suffice in large environments until the next Patch Tuesday. Continue monitoring Event ID 1006.
- Other server roles: A reader at Born also sees servers without Exchange affected. Microsoft comments only on Exchange.
- Backup: It is unclear whether the reported VSS Writer error is a consequence of the outage.
Symptoms
Symptoms reported so far:
- OWA fails with
MapiExceptionMdbOffline: Unable to make connection to the server. (hr=0x80004005, ec=1142); Event ID 1006 appears in the Application Log. - Outlook clients lose their connection to the mailbox.
- Emails are delivered neither internally nor externally, and transport queues grow.
- In DAGs, database copies stop replicating; according to reader reports at Born, switchovers fail when entering maintenance mode.
- The Exchange Admin Center still shows the databases as mounted (Frankys Web).
The error does not occur immediately after installation, but according to reports after about 22 to 30 hours of uptime. Restarting the server restores operation, but the outage repeats after approximately the same period. Comments at Born observed that the mailbox replication service stops during or after database maintenance tasks and MdbOffline errors begin afterward; based on the now-known cause, this is a side effect rather than the trigger.
Affected updates
In its addendum to the Exchange announcement, Microsoft lists these cumulative Windows updates:
| Windows Server | Update |
|---|---|
| Windows Server 2025 | KB5126646 |
| Windows Server 2022 | KB5126655 |
| Windows Server 2019 | KB5126651 |
| Windows Server 2016 | KB5126868 |
The same Patch Tuesday also brought the Exchange SUs (Exchange SE: KB5128895, “SU11”) and cumulative updates for the .NET Framework. The following three packages were installed on an affected Exchange SE server running Windows Server 2019:
- Security Update For Exchange Server Subscription Edition (KB5128895)
- 2026-10 Cumulative Update for .NET Framework 3.5, 4.7.2 and 4.8 for Windows Server 2019 for x64 (KB5128923)
- 2026-10 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5126651)
Microsoft does not mention the .NET update in the addendum. However, readers at Born report outages with the combination of Windows and .NET updates (KB5128928 there under Windows Server 2022), as well as a server with KB5126651 and the Exchange SU but no .NET update that was still running after more than 24 hours. It therefore remains unclear whether the .NET update is involved.
Regarding the Exchange SU: forums and comments say that the situation improves if Exchange SU11 is installed. This cannot be confirmed; outages also occurred on a server with SU11. Conversely, several administrators report outages without an installed Exchange SU, which is consistent with Microsoft’s statement. The Exchange SU closes six vulnerabilities, including a critical remote code execution issue through a specially crafted email; details in the article on the October SU. Holding it back does not resolve the issue.
Check status
First, determine which October updates are installed on each Exchange server:
$kbs = "KB5126646", "KB5126655", "KB5126651", "KB5126868", "KB5128923"
Get-HotFix -Id $kbs -ErrorAction SilentlyContinue |
Select-Object PSComputerName, HotFixID, InstalledOn
Get-HotFix does not reliably list .NET updates on all systems; if in doubt, the update history in Settings shows the complete status. Check the Exchange build in the Exchange Management Shell with Get-ExchangeServer | Format-Table Name, AdminDisplayVersion and compare it with the Exchange build numbers.
Then check the status of databases, copies, and queues in the Exchange Management Shell:
Get-MailboxDatabaseCopyStatus -Server $env:COMPUTERNAME |
Format-Table Name, Status, CopyQueueLength, ReplayQueueLength, ContentIndexState
Get-Queue | Where-Object MessageCount -gt 0 |
Format-Table Identity, DeliveryType, Status, MessageCount, LastError
Get-WinEvent -FilterHashtable @{LogName='Application'; Id=1006; StartTime=(Get-Date).AddDays(-2)} |
Select-Object TimeCreated, ProviderName, Message
Several Exchange components log Event ID 1006; the decisive entry is the one containing the MdbOffline message in the text.
Procedure until a fix is available
The following points are from October 16, 2026, when no official workaround was available yet. Since October 17, 2026, the registry workaround from the update above comes first; points 3 through 6 remain valid as a fallback.
-
Exchange servers not yet updated: The original recommendation was to postpone the October Windows updates. With the registry workaround, this is no longer necessary: set the value and install the updates, which also close security vulnerabilities.
-
Install the Exchange SU anyway: According to Microsoft, the Exchange SU KB5128895 (or the ESU packages for 2016/2019) is not the trigger and closes a critical vulnerability that can be exploited by email without an account.
-
Servers already affected: A restart restores operation for about one day. Schedule controlled restarts at intervals well below 22 hours, for example every night, rather than waiting for the next outage. According to readers at Born, restarting only the Exchange services also helps temporarily; for how long is not documented.
-
DAG: Restart members one at a time and move active databases to a freshly restarted server beforehand. After each restart, use
Get-MailboxDatabaseCopyStatusto verify that copies areHealthyagain and queues are being cleared before restarting the next server. -
Monitor queues: Keep an eye on
Get-Queueand Event ID 1006, ideally with an alert so that an outage is not noticed only through user reports. -
Check backups: A reader at Born reports a failed VSS Writer in the backup after the outage. Check backups from recent nights.
Regarding uninstalling Windows updates: since 2021, Microsoft has delivered the cumulative update together with the Servicing Stack Update as a combined package. wusa /uninstall does not remove such a package; DISM /Online /Remove-Package with the package name from DISM /Online /Get-Packages is required instead. Since October 17, 2026, Microsoft has explicitly advised against uninstalling; with the registry workaround, there is no reason to do so anymore.
Microsoft now lists the issue as a Known Issue in the Windows update release notes (as of October 19, 2026, unresolved). This article will be updated as soon as a fix is available.
Comments
Comments are loaded from GitHub / Giscus.