IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

CB Protection: Server install fails with the log code "Return Code: 1 on execution of C:\Windows\SysWOW64\cscript.exe."

CB Protection: Server install fails with the log code "Return Code: 1 on execution of C:\Windows\SysWOW64\cscript.exe."

Environment

  • CB Protection Server: All Versions
  • Microsoft Windows Server: All Supported Versions

Symptoms

  • Install fails with no visible error, rolling back its changes
  • Logs show the following error:
    Executing C:\Windows\SysWOW64\cscript.exe "C:\Users\USERNAME\AppData\Local\Temp\GUID\GUID\icfutil.js" /silent  /s:ParityServer /e:41002 /i:41002 /n:localhost /p:tcp 
    
    Return Code: 1 on execution of C:\Windows\SysWOW64\cscript.exe.
  • Attempting to run a JS file manually in CScript fails with an error:
    There is no script engine for file extension .js

Cause

The default file handler for .JS files is set incorrectly in the registry

Resolution

  1. Open Regedit as an Administrator
  2. Navigate to HKEY_CLASSES_ROOT\.js
  3. Set the (Default) reg_sz key to JSFile
  4. Re-run the Server installer

Related Content


Labels (1)
Was this article helpful? Yes No
100% helpful (3/3)
Article Information
Author:
Creation Date:
‎09-09-2020
Views:
471
Contributors