「スクリプトエンジンが見つかりません...」/「指定された言語のスクリプトを作成できません」というエラーメッセージ

MediaMonkey アドオン (スクリプト) は、Windows スクリプト フレームワークを実行して初めて実行されます。正しくインストールまたは構成されていない場合、アドオンが失敗したり、エラーが表示されたりすることがあります。

「スクリプト エンジンが見つかりません...」

一部のウイルス対策アプリケーションでは、スクリプトの登録がブロックされる場合があります。このエラーは、ウイルス対策アプリケーションが Windows のスクリプト エンジンによるアドオンの実行を許可する前にアドオンをスキャンしようとし、スキャンが完了した後に vbscript.dll ファイルを見つけられなかった場合に発生することがあります。

この問題は、 Microsoft パッチMS10-020がインストールされ、Kaspersky Internet Security が実行された後に発生することがあります。

「スクリプト エンジンが見つかりません...」というエラーを解決するには、REGEDIT を使用してレジストリを編集します。

[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

そしてキー値として「C:\Windows\system32\vbscript.dll」と入力します。


[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

そしてキー値として「C:\Windows\SysWOW64\vbscript.dll」と入力します。

「指定された言語のスクリプトを作成できません」

一部のシステム (特に x64 システム) では、ユーザー アクセス制御 (UAC) がスクリプト コンポーネントの適切な登録を妨げ、上記のエラーが発生する可能性があります。

「指定された言語のスクリプトを作成できません」という問題を解決するには:

  1. CMD を管理者モードで実行します (Windows のスタート ボタンをクリックし、検索バーに CMD と入力して右クリックし、管理者として実行を選択します)。
  2. 「cd \windows\syswow64」(32ビットWindowsの場合は「cd \windows\system32」)と入力/実行します。
  3. Visual Basic Script (vbscript) および Windows Scripting Host (WSH) ライブラリが登録されている場合は、“regsvr32 /U vbscript.dll” と入力/実行して登録を解除します。
    Visual Basic Script (vbscript) と Windows Scripting Host (WSH) ライブラリを登録するには、「regsvr32 vbscript.dll」と入力/実行します。
  4. Java Script (jscript) ライブラリが登録されている場合は、「regsvr32 /U jscript.dll」と入力/実行して登録を解除します。
    「regsvr32 jscript.dll」と入力/実行してJava Script (jscript)ライブラリを登録します。
  5. Microsoft Script Runtimeライブラリが登録されている場合は、「regsvr32 /U scrrun.dll」と入力/実行して登録を解除します。
    「regsvr32 scrrun.dll」と入力/実行して、Microsoft Script Runtimeライブラリを登録します。
  6. Microsoft Script Controlライブラリが登録されている場合は、「regsvr32 /U msscript.ocx」と入力/実行して登録します。
    「regsvr32 msscript.ocx」と入力/実行してMicrosoft Script Controlライブラリを登録します。

    これらのライブラリを登録すると、MediaMonkey およびサードパーティのアドオン/スクリプトは問題なく動作するはずです。

    注: VBScript をテストするには、システムの VBScript バージョンを表示する次のテストを使用できます。
    http://www.happymonkeying.com/eSupport/Test_VBscript.exe にVBScript バージョンが表示されます。
    バージョンが表示されない場合は、システムのスクリプトにまだ問題がある可能性があります。

注記

  • Windows レジストリの編集にはリスクが伴います。変更する前に、オンライン検索を通じて Windows レジストリについてよく理解しておいてください。

適用対象:

Translated automatically (see original)

‘Can’t find script engine …’ / ‘A script for the specified language can not be created’ error messages

MediaMonkey Addons (scripts) depend upon the Windows Scripting framework to run. If it isn’t installed or configured correctly, then Addons may fail or show errors.

‘Can’t find script engine …’

Some antivirus applications may prevent scripts from being registered; this error can occur if the antivirus application tries to scan an Addon before allowing it to be run by Windows’ scripting engine, and fails to find the vbscript.dll file after scanning is complete.

The problem is sometimes introduced after Microsoft patch MS10-020 has been installed and Kaspersky Internet Security is running.

To resolve the ‘Can’t find script engine …’ error, you may edit the registry using REGEDIT:

[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

And write “C:\Windows\system32\vbscript.dll” as key values


[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

And write “C:\Windows\SysWOW64\vbscript.dll” as key values

‘A script for the specified language can not be created’

On some systems (particularly x64 systems), User Access Controls (UAC) may interfere with proper registration of scripting components, resulting in the above error.

To resolve the ‘A script for the specified language can not be created’:

  1. Run CMD in administrator mode (click the Windows Start button -> type CMD in the search bar and right click, then choose execute as administrator).
  2. Type/execute “cd \windows\syswow64” (“cd \windows\system32” for 32 Bit windows)
  3. Type/execute “regsvr32 /U vbscript.dll” to unregister Visual Basic Script (vbscript) and Windows Scripting Host (WSH) library if it is registered
    Type/execute “regsvr32 vbscript.dll” to register Visual Basic Script (vbscript) and Windows Scripting Host (WSH) library
  4. Type/execute “regsvr32 /U jscript.dll” to unregister Java Script (jscript) library if it is registered
    Type/execute “regsvr32 jscript.dll” to register Java Script (jscript) library
  5. Type/execute “regsvr32 /U scrrun.dll” to unregister Microsoft Script Runtime library if it is registered
    Type/execute “regsvr32 scrrun.dll” to register Microsoft Script Runtime library
  6. Type/execute “regsvr32 /U msscript.ocx” to register Microsoft Script Control library if it is registered
    Type/execute “regsvr32 msscript.ocx” to register Microsoft Script Control library

    After registering these libraries MediaMonkey and any third party addons / scripts should work without issues.

    Note: To test VBScript, you can use the following test show the VBScript Version on your system:
    http://www.happymonkeying.com/eSupport/Test_VBscript.exe should show VBScript Version.
    If it fails to display the version, there may still be a problem with scripting on your system.

NOTES

  • Editing the Windows Registry is not without risk. Make sure you familiarize yourself with the Windows Registry through online searches prior to modifying it.

Applies to:

Hide original

この記事は役に立ちましたか?