Windows App Certification Kit - Test Results :[HRESULT 0x8007007F] An error occurred during TAEF startup. (Failed to load the custom test mode DLL at "......\TAEF\TE.TestMode.Container.dll

Divyns Lin 41 Reputation points
2025-10-17T15:40:09.27+00:00

Hi MSFT,

I created a UWP package and ran the App Certification. Last month there were no issues, but recently an error started to appear. I’m not sure if this is caused by a Windows update or another change.

I reinstalled SDK 22621, but the error still occurs.

Do you have any suggestions or tips?

Thank you.

  • Error Found: The app launch test detected the following errors:
    • [HRESULT 0x8007007F] An error occurred during TAEF startup. (Failed to load the custom test mode DLL at "C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\TAEF\TE.TestMode.Container.dll".)
    User's image
Windows development | WinUI
{count} votes

3 answers

Sort by: Most helpful
  1. Danny Nguyen (WICLOUD CORPORATION) 5,410 Reputation points Microsoft External Staff Moderator
    2025-10-24T09:22:32.3466667+00:00

    Hi,

    Could you please run a quick harness check so we can confirm whether the issue is with the test mode plugin or something broader?

    1. Verify presence & signature of the plugin Path: C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\TAEF\TE.TestMode.Container.dll
      • Right‑click → Properties → Digital Signatures tab. Confirm it shows a valid Microsoft signature.
      • In Details tab note the File version (for SDK 10.0.22621 it should start with 10.0.22621.).
      • If the file is missing, let me know immediately.
    2. Run TAEF core directly (just to prove the engine itself loads):
         
         cd "C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\TAEF"
         
         te.exe /list
      
    3. Please post back with:
      • Present / missing DLL?
      • Signature valid?
      • File version string?
      • Exact output from te.exe /list (copy/paste).

    If the DLL is present but signed and we still get the WACK failure, next step is a dependency/export check. If the DLL is corrupt or missing, we’ll do a clean SDK reinstall . Archive the entire TAEF directory for reference before a full SDK uninstall if needed.


  2. RWZ 0 Reputation points
    2025-12-02T15:36:46.0233333+00:00

    I have same error

    [HRESULT 0x8007007F] An error occurred during TAEF startup. (Failed to load the custom test mode DLL at "C:\Program Files (x86)\Windows Kits\10\Testing\Runtimes\TAEF\TE.TestMode.Container.dll".)User's image


  3. RWZ 0 Reputation points
    2025-12-03T16:24:22.9966667+00:00

    try

    rename
    TE.TestMode.Container.dll
    to
    TE.TestMode.Container.bad.dll

    it may be work .

    I angrily deleted this file. It's amazing . it works so well now.


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.