KB: Javascripts used by Operations Manager Management Packs fail to execute with "Can't find script engine"
Published Feb 15 2019 04:19 PM 465 Views
First published on TECHNET on Oct 15, 2012

Here’s a new Knowledge Base article we published. This one talks about an issue where Javascripts used by Operations Manager Management Packs fail to execute with CScript Error: Can't find script engine .

=====

Symptoms

Javascripts used by System Center Operations Manager 2007 Management Packs for monitoring fail to execute on a specific agent and the following error is generated:

CScript Error: Can't find script engine "JScript" for script "C:\Program Files\System Center Operations Manager 2007\Health Service State\Monitoring Host Temporary Files 8\1596\DiscoverHealthServiceCommunicationRelationships.js".

Cause

This can occur if there are incorrect permissions applied to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{f414c261-6ac0-11cf-b6d1-00aa00bbbb58}\InprocServer32

Resolution

To resolve this issue, edit the permissions on the registry key mentioned above and make sure they are as follows:

SYSTEM (READ ACCESS)
Administrators(Localsystem\administrators) (READ ACCESS)
Users (Localsystem\users) (READ ACCESS)
TrustedInstaller (Full control ACCESS)

=====

For the most current version of this article please see the following:

2750487 - Javascripts used by Operations Manager Management Packs fail to execute with "Can't f...

J.C. Hornbeck | Knowledge Engineer | Management and Security Division

Get the latest System Center news on Facebook and Twitter :

App-V Team blog: http://blogs.technet.com/appv/
ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
DPM Team blog: http://blogs.technet.com/dpm/
MED-V Team blog: http://blogs.technet.com/medv/
Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
Operations Manager Team blog: http://blogs.technet.com/momteam/
SCVMM Team blog: http://blogs.technet.com/scvmm
Server App-V Team blog: http://blogs.technet.com/b/serverappv
Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center Essentials Team blog: http://blogs.technet.com/b/systemcenteressentials
WSUS Support Team blog: http://blogs.technet.com/sus/

The Forefront Server Protection blog: http://blogs.technet.com/b/fss/
The Forefront Endpoint Security blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

Version history
Last update:
‎Mar 11 2019 09:41 AM
Updated by: