Consider the following options to resolve the error.
Check for vbscript and jscript DLLs in the Registry
- Check that vbscript.dll and jscript.dll are not registered in HKEY_CURRENT_USER (HKCU), checking for the registry keys below.
- VBScript, HKCU\SOFTWARE\Classes\CLSID\{ B54F3741-5B07-11CF-A4B0-00AA004A55E8}
- JScript, HKCU\SOFTWARE\Classes\CLSID\{ F414C260-6AC0-11CF-B6D1-00AA00BBBB58}
- Remove these keys if they exist in HKEY_CURRENT_USER.
Re-register vbscript or jscript DLLs
Make sure that if you need to re-register vbscript.dll or jscript.dll, you run regsvr32.exe in an elevated console with User Account Control (UAC) enabled. Otherwise, you will end up registering the runtimes in HKCU.
Check for the following keys:
- VBScript, HKEY_CLASSES_ROOT \CLSID\{ B54F3741-5B07-11CF-A4B0-00AA004A55E8}
- JScript, HKEY_CLASSES_ROOT \CLSID\{ F414C260-6AC0-11CF-B6D1-00AA00BBBB58}