Introduction
You are facing an issue where Windows command-based script host "cscript" is not functioning properly. This causes the *.vbs and *.js scripts, which detect the applications, to not work properly.
Troubleshooting
First of all, make sure *.js and *.vbs scripts work on your machine:
Step 1
To check *.js scripts:
- Create a *.txt file with the following text: WScript.Echo ("Hello, World");
- Save it as *.js script, for example: test.js
- Open command line as Administrator: Start -> Run -> cmd
- Go to the directory where you have saved the script: cd <path-to-file>
- Execute the following command: cscript test.js
- The output should be the text, you've put in the script body: Hello, World
Step 2
To check *.vbs scripts:
- Create a *.txt file with the following text: WScript.Echo "Hello, World"
- Save it as *.vbs script, for example: test.vbs
- Open command line as an Administrator: Start -> Run -> cmd
- Go to the directory where you have saved the script: cd <path-to-file>
- Execute the following command: cscript test.vbs
- The output should be the text, you've put in the script body: Hello, World
If both scripts output the correct "Hello World" messages you can skip the current article since you do not have the problem described here.
If you receive the error "Error: there is no script engine for file extension ".vbs(.js)"", do the following:
- Type cmd in the Start, Run box, right-click on Command Prompt, click on Run as Administrator.
- Type
Regsvr32 vbscript.dll
in order to insure, that it's registered correctly. - Type
Regsvr32 jscript.dll
in order to insure, that it's registered correctly. - Type
cscript.exe //H:WScript
to make wscript.exe process scripts by default. - Type
assoc .vbs=VBSFile
to associate .vbs scripts with wscript.exe - Type
assoc .js=JSFile
to associate .js scripts with wscript.exe - If scripts execution returns correct text, restart Acronis Managed Machine Service.
More information
If you need further assistance, please collect System Information and contact Acronis Support with the reference to this article.