Task Run Failed, error code 0x8007007e

Symptom

Task failing at run time with the following error code:

“Task Run Failed”, error code 0x8007007e

Cause

The fault mode occurs when the VBScript COM registration in the registry has been changed to point to a proprietary dll. This change is typically caused by Anti-Virus software as part of a ‘defence in depth’ approach.

Because TaskCentre requires and makes use of VBscript.dll, this breaks its functionality.

Resolution

The resolution is to update the registry entry in HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3741-5B07-11CF-A4B0-00AA004A55E8} to change the default value from this:

C :\Program Files\Anti-Virus Vendor\proprietary.dll

to this:

C:\Windows\System32\VBScript.dll