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 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.
The registry fix is specific to one cause, so match the fingerprints first:
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.
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:
reg export "HKLM\SOFTWARE\Microsoft\Rpc" "%USERPROFILE%\Desktop\Rpc-backup.reg" /yKeep 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.
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:
reg add "HKLM\SOFTWARE\Microsoft\Rpc" /v EpmapSavedContextCap /t REG_DWORD /d 65536 /freg query "HKLM\SOFTWARE\Microsoft\Rpc" /v EpmapSavedContextCapEpmapSavedContextCap 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.
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:
Every week: Windows Server problems, hidden tools and full setup guides, explained step by step.
▶ Subscribe on YouTubeThe 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.
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.
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.
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.
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.