Technical Anshu
Tutorials Blog
Guide Walkthrough

Here is the pattern admins started reporting right after the October 2026 updates: the Exchange server looks healthy, services are running, but users cannot sign in to Outlook on the web (OWA), mail sent from Outlook stays in the Outbox, transport queues keep growing, and mailbox moves or replication report failures. Restart the server and everything works again - for a while. Then it degrades all over again. If that cycle sounds familiar, this is your problem, and the fix is a single registry value.

Event Viewer  ·  Application Log  ·  Exchange Server

Event ID: 1006 MapiExceptionMdbOffline: Unable to make connection to the server. (hr=0x80004005, ec=1142)

✖ OWA sign-in fails - users cannot log in to web mail

✖ Mail sent from Outlook stays in the Outbox, transport queues keep growing

✖ Mailbox replication and database copies report connection failures

✖ DAG members can struggle to reach or hold quorum under load

✖ Started after the 13 October 2026 Windows Server update - a reboot clears it, then it comes back

The fingerprint of this issue: Event 1006 with MapiExceptionMdbOffline (0x80004005, ec=1142), returning again and again under load.

1

Confirm It Is This Exact Problem (and Why It Happens)

The registry fix is specific to one cause, so match the fingerprints first:

  1. The server runs on-prem Exchange (2016, 2019 or SE) on Windows Server 2016, 2019, 2022 or 2025 - and one of these 13 October 2026 updates is installed: KB5126646 (Server 2025), KB5126655 (Server 2022), KB5126651 (Server 2019), KB5126868 (Server 2016).
  2. The Application log shows Event ID 1006 with MapiExceptionMdbOffline (hr=0x80004005, ec=1142).
  3. Failures appear "after a certain time" under load, not instantly at boot - and a reboot clears them temporarily. That load-dependent pattern is the giveaway.
  4. It does not matter whether the October Exchange security update is installed - servers without it break exactly the same way. Exchange Online is not affected at all.

Why it happens: the October Windows update added a new default cap on the RPC Endpoint Mapper - the Windows component every RPC client uses to look up endpoints. The cap allows only 512 simultaneous Endpoint Lookup calls. A busy Exchange server blows through 512 easily: every mailbox connection, queue operation and replication session needs lookups. Once the cap is reached, new lookups fail, MAPI connections to the mailbox database start failing with the error above, OWA sign-in collapses and queues back up. Microsoft lists the issue as Mitigated in Windows Server release health - the mitigation is Fix 3 below.

2

Back Up the Rpc Registry Key First

The fix adds one value under the Rpc key. Export that key first so the change is reversible in seconds. Open an elevated Command Prompt on the Exchange server and run:

  1. reg export "HKLM\SOFTWARE\Microsoft\Rpc" "%USERPROFILE%\Desktop\Rpc-backup.reg" /y

Keep the Rpc-backup.reg file with your change record. You will also note this change in your patch log anyway - the next admin (or your future self) needs to know why this value exists when Microsoft later changes the default again.

3

Set EpmapSavedContextCap to 65536 (Microsoft's official fix) ⭐

This raises the Endpoint Mapper's saved-context cap from the new default of 512 to 65536 - far beyond what Exchange load generates. It is the exact mitigation the Microsoft Exchange Team published on 16 October 2026. Still in the elevated Command Prompt:

  1. reg add "HKLM\SOFTWARE\Microsoft\Rpc" /v EpmapSavedContextCap /t REG_DWORD /d 65536 /f
  2. Verify the value landed correctly:
  3. reg query "HKLM\SOFTWARE\Microsoft\Rpc" /v EpmapSavedContextCap
  4. It must answer EpmapSavedContextCap   REG_DWORD   0x10000 - 0x10000 is 65536 in hexadecimal. If it shows anything else, re-run step 1 and paste the command instead of typing it.

The value does nothing until the server restarts - that is what Fix 4 is for. Planning ahead? Microsoft's FAQ confirms you can set this value before installing the October updates: it has no effect until the updates are present and it survives their installation. Adding it to your patch runbook for Exchange servers still waiting on October patches is a smart move.

4

Reboot in a Maintenance Window (DAG: One Member at a Time)

The new cap is read when the Endpoint Mapper starts, so a reboot is mandatory - and on a mail server, a reboot is an outage you schedule, not one you improvise:

  1. Single Exchange server: announce a short maintenance window, then restart. Mail is down only for the restart itself.
  2. DAG members: put the server into maintenance mode and move active database copies to another member first, then reboot one member at a time and confirm it is healthy before touching the next. Never reboot two DAG members together for this.
  3. Apply the registry value from Fix 3 to every Exchange server in the organisation, not just the one that already failed - the quieter servers are simply the ones whose load has not hit 512 yet.
5

Monitor After the Reboot - and Know the Limits of the Fix

  1. Watch OWA sign-in, transport queues and database copy status through at least one full business peak. The failures should not return.
  2. Watch memory usage as well: allowing more saved contexts lets the Endpoint Mapper use more memory. That is the accepted trade-off of this mitigation, but on a memory-tight server it is worth a glance.
  3. If the problem still returns with 65536 set, do not keep inventing bigger numbers. Microsoft says it has not yet seen a case needing more than 65536 - at that point, open a case with Microsoft Support instead of guessing (an additional, non-public mitigation exists through Support for Business).
  4. Keep an eye on the Windows Server release health entry and the KB articles: the status will change from "Mitigated" to "Resolved" with a named KB when the lasting fix ships. As of the Exchange Team's 20 October FAQ, no follow-up release was imminent - both teams were still analysing, so do not postpone the registry fix while waiting for a patch.
⚠️ Do NOT uninstall the October updates. This is Microsoft's own instruction, stated plainly in the Exchange Team guidance: install the October Windows Server updates as soon as possible and do not delay or remove them over this issue - they carry a significant security payload. Uninstalling the October Exchange security update would not help either, because it is not the cause. The registry value in Fix 3 solves the Exchange problem while keeping every security fix in place.

📺 More Server Fixes on Technical Anshu

Every week: Windows Server problems, hidden tools and full setup guides, explained step by step.

▶ Subscribe on YouTube

Frequently Asked Questions

What causes Exchange Server to become unstable after the October 2026 Windows Server updates?

The October 2026 Windows Server updates added a new default limit to the Windows RPC Endpoint Mapper: only 512 simultaneous Endpoint Lookup calls. Under production load, Exchange Server needs far more than that. When the cap is hit, Outlook on the web sign-in fails, mail stays in queues, mailbox replication stumbles, and the Application log records Event ID 1006 with MapiExceptionMdbOffline (hr=0x80004005, ec=1142). A reboot clears it for a while, then it returns as load builds again.

Which Windows updates trigger the Exchange instability?

The 13 October 2026 Windows Server cumulative updates: KB5126646 on Windows Server 2025, KB5126655 on Windows Server 2022, KB5126651 on Windows Server 2019, and KB5126868 on Windows Server 2016. Any on-prem Exchange version running on those Windows versions - Exchange 2016, Exchange 2019 or Exchange Server SE - can be affected, even if the October Exchange security updates were never installed. Exchange Online is not affected.

Should I uninstall the October 2026 updates to fix Exchange?

No. Microsoft's Exchange Team explicitly advises against uninstalling them. The October Windows Server updates carry a significant security payload, and removing them trades a solvable mail problem for unpatched vulnerabilities. Apply the registry mitigation instead: set EpmapSavedContextCap to 65536 under HKLM\SOFTWARE\Microsoft\Rpc and reboot the server in a maintenance window.

Is the October 2026 Exchange security update itself the cause?

No. Microsoft states clearly that the problem comes from the Windows Server updates released the same day, not from the Exchange security update. Servers without the October Exchange SU installed show the same failures, and servers with only the Exchange SU are fine. That is another reason uninstalling updates is the wrong response - you would most likely remove the wrong one first.

Does a reboot alone fix the Exchange problem?

Only temporarily. A reboot empties the Endpoint Mapper's saved contexts, so OWA sign-in and mail flow recover - until load pushes the lookups back up to the 512 cap and the failures return. The durable mitigation is the registry value EpmapSavedContextCap set to 65536 together with a reboot. As of Microsoft's 20 October 2026 FAQ update, no follow-up patch was imminent and the known issue is listed as Mitigated, so do not wait for a patch instead of applying the registry fix.

Guide by Technical Anshu · Problem collected from real user reports; solution written and verified by Technical Anshu.