Application deployment

0x8007007E: The specified module could not be found

Windows could not load a DLL or program file that the job needs. In SCCM a missing runtime or a wrong path in the install command is the usual cause.

Hex code0x8007007E
Decimal-2147024770
NameERROR_MOD_NOT_FOUND
Logs to readAppEnforce.log, execmgr.log, ccmsetup.log, smsts.log

What 0x8007007E means

0x8007007E is the Windows code ERROR_MOD_NOT_FOUND, "The specified module could not be found". In Configuration Manager you see it in Software Center, in AppEnforce.log, in smsts.log and sometimes in ccmsetup.log.

A module is a DLL or another program file. A process tried to load one and Windows could not find it. The file that is missing is often not the installer itself. It is a file that the installer depends on.

Common causes

  • The installer needs a runtime, such as a Visual C++ redistributable, that is not on the computer.
  • The install command calls a file that is not in the content.
  • The install runs as a 32-bit process and looks in the 32-bit system folder for a 64-bit file.
  • A system file of Windows or of the client is missing or damaged.
  • Antivirus software removed a file from the client cache.

How to fix 0x8007007E

  1. Read the command and exit code in AppEnforce.log

    Open C:\Windows\CCM\Logs\AppEnforce.log. Note the command line and the working folder under C:\Windows\ccmcache. Open that folder on the client. Confirm that every file the command names is there.

  2. Install the missing runtime

    Run the installer by hand on a test computer that fails. Windows often names the missing DLL in a message box. Find out which runtime holds that DLL. Deploy it first, and add it on the Dependencies tab of the deployment type.

  3. Check 32-bit and 64-bit paths

    The client can run an install as a 32-bit process. Windows then redirects C:\Windows\System32 to C:\Windows\SysWOW64. A file that exists only in the 64-bit folder is then not found. For a package, use C:\Windows\Sysnative in the command line. For an application, clear the option to run the program as a 32-bit process on 64-bit clients.

  4. Repair system files

    If the missing module is part of Windows, run the code block below in an elevated prompt and restart. If it is part of the Configuration Manager client, reinstall the client.

Commands that help

Repair the Windows component store and system files · Command Prompt
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
List installed Visual C++ runtimes · PowerShell
Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* -ErrorAction SilentlyContinue |
    Where-Object { $_.DisplayName -like '*Visual C++*' } |
    Select-Object DisplayName, DisplayVersion
Got a different code?

Turn any hex or decimal error code into its meaning, or search every code on this site.

Error code lookup All SCCM error codes

✉

Get new articles in your inbox

SCCM guides, AI tools, automation tips — sent when published. No spam.