Word COM Automation fails with DISP_E_TYPEMISMATCH after KB5094126

Dáňová Daniela (MHMP, OIC) 20 Reputation points
2026-06-30T07:28:45.4633333+00:00

After installing cumulative update KB5094126, our application's use of the Microsoft Word COM Automation interface (used to generate documents and convert them to PDF) started failing with the error DISP_E_TYPEMISMATCH ("type mismatch") when calling Word Automation methods.

  • Machines without KB5094126 are unaffected.
  • We reproduced the issue in a minimal standalone test app using only the Word COM interface, with no custom application logic involved — so it's not specific to our app.
  • We tried different parameter marshalling approaches (MFC wrapper changes, direct IDispatch::Invoke calls) without success.
  • The issue is consistently tied to KB5094126.

Has anyone else hit this, and is there a known workaround or fix planned in a future cumulative update?

Environment: Windows 11 Enterprise, version 24H2.

Windows for business | Windows Client for IT Pros | Performance | Application technologies and compatibility
0 comments No comments

Answer accepted by question author
Jason Nguyen Tran 24,545 Reputation points Independent Advisor
2026-06-30T08:36:28.7933333+00:00

Hi Dáňová Daniela (MHMP, OIC),

You’re not the only one encountering it. The error DISP_E_TYPEMISMATCH after installing KB5094126 has been reported by others as well, and it appears to be a regression introduced by that cumulative update. Since you’ve reproduced it with a minimal test app, it’s safe to say this isn’t tied to your application logic but rather to the update itself.

The most reliable workaround at the moment is to uninstall KB5094126 from Settings > Windows Update > Update history > Uninstall updates and then pause updates temporarily to prevent it from reinstalling. Doing so restores Word COM automation functionality.

If uninstalling isn’t practical in your environment, you may want to run automation tasks on machines that haven’t yet applied KB5094126 until the fix is released. Keeping an eye on the official Windows release notes will help you know when the patch becomes available.

Jason.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Dáňová Daniela (MHMP, OIC) 20 Reputation points
    2026-06-30T13:09:56.1+00:00

    Thanks Jason, that confirms what we suspected.

    One follow-up: our organization currently doesn't have an active Unified/Premier Support agreement, and we don't have entitlement access in the Engage Center to open a case there. Before we go down the route of a paid pay-per-incident support request, I wanted to ask — is there any way to obtain this specific workaround without an active support contract (e.g., a public KB article documenting it, a hotfix request process, or another official channel that doesn't require an existing support agreement)?

    Or is a paid support case genuinely the only route to get the workaround for this specific KB5094126 regression? Tx Daniela

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.