Once the is source for this user, run the following command line to add a license key to the system.

$BINDIR/mozjsshell $JAVASCRIPTDIR/addlicensekey.js /cms cmsname:6400 /license XXXXX-XXXXXXX-XXXXXXX-XXXX /username Administrator /password mypassword /authenticate secEnterprise

For your environment, replace the below values with your environment values.

• cmsname:6400: Your CMS name and the port that you are running your CMS on


• Administrator: A BusinessObjects Enterprise Administrator account that has rights to add a license key to the system

• mypassword = Your administrator account password

• secEnterprise = Your authentication type. secEnterprise, secWindowsNT, secWinAD, and secLDAP are valid authentication types.

Below is a usage guide for the addlicensekey.js script:

addlicensekey.js /Silent /License <license key> /CMS <CMS Name> /Username <username>

/Password <password> /Authenticate <authentication type>

/Silent – Suppresses error messages

/License <license key> – Sets the license key to <license key>

/CMS <CMS Name> – Adds samples to CMS <CMS Name>

/Username <username> – Sets username to <username> for CMS logon

/Password <password> – Sets password to <password> for CMS logon

/Authenticate <authentication type> – Sets AuthenticationType to <authentication type> for CMS logon

The addlicensekey.js creates a log file in the same directory as the addlicensekey.js script. The log will be in the following format: addlicensekey_DATE_TIME.log. This log file contains any error messages that occur during the execution of the script, or if the script runs successfully, it will display the message “Success adding License Key: …”.

It's only fair to share...
Share on FacebookGoogle+Tweet about this on TwitterShare on LinkedIn

Leave a Reply