Add SAP CMC Licence key via Command Line

I am having an issue with replacing the SAP CMC license key. After I deleted the old key, I cannot open the CMC anymore and Internet Explorer shows “This page can’t be displayed”. This may be because there is no license key in CMC.

I am looking for a way to add the license key back via command line or another method. I do not have access to SAP support, so I am asking if anyone has a hint as to how this can be done.

The license key was found in the following location:

[![CMC license key](https://i.stack.imgur.com/68UfO.png)](https://i.stack.imgur.com/68UfO.png)

You can add the license key back to SAP CMC via command line using the following steps:

  1. Open command prompt as an administrator.
  2. Navigate to the BusinessObjects installation directory using the command cd C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0.
  3. Enter the following command to add the license key: importKey -f C:\path\to\license.key.

Replace C:\path\to\license.key with the actual path to the license key file.

After executing the command, restart the SAP BI Platform services and try accessing the CMC again.