- (Individual and Campus-Wide license only) The username in the license file does not match
- (Offline Activations) The Host ID in the license file does not match
- (Designated Computer Only) MATLAB is already running under a different user account
- Non-static Host ID
Why do I receive License Manager Error -9?
34,454 views (last 30 days)
MathWorks Support Team on 9 Nov 2021
Edited: MathWorks Support Team on 9 Nov 2021
The best way to resolve a License Manager Error -9 is by reactivating MATLAB with the activation client.
License Manager Error -9 may be caused by a few different reasons depending on how MATLAB was installed and activated:
When installing and/or activating MATLAB, the MathWorks Installer and/or Activation Client will attempt to pull the username of the user installing MATLAB to activate. If the username was changed or the username pulled is incorrect, the username in the license file will not match the username of the MATLAB user, and MATLAB will provide a License Manager Error -9.
To resolve, verify the username of the MATLAB user, then reactivate MATLAB with the correct username.
Note: Usernames are case sensitive and may break with spaces.
When activating MATLAB manually via the License Center, the Host ID, and username for Individual licenses, is required to activate the license to the machine. If the wrong Host ID was used to activate, the Host ID in the license file will not match the Host ID on the machine, and MATLAB will provide a License Manager Error -9.
To resolve, verify the Host ID of the machine, and the username of the MATLAB user for Individual licenses, then reactivate MATLAB.
For Designated Computer licenses, MATLAB may only be used by one user on one user account on the machine at a time. When MATLAB is started with a Designated Computer license, it will attempt to detect any MATLAB processes on the machine. If there is a MATLAB process running under a different user account on the machine, MATLAB will provide a License Manager Error -9.
To resolve, end all MATLAB processes on different user accounts.
For Individual and Designated Computer licenses, the Host ID activated to must not change over time or the Host ID will not match the Host ID in the license file, and MATLAB will provide a License Manager Error -9. This is common for many virtual machine configurations.
To resolve, configure your system to have a static Host ID then reactivate MATLAB.
More Answers (121)
Dandan Zhang on 12 Mar 2016
Note: It's your Windows User Name rather than Microsoft Account Name.
You can determine your Windows username as follows:
- 1.While sitting at the host computer with press and hold the Windows key and press the letter R on your keyboard.
- 2.The Run box will appear.
- 3.In the box, type cmd and press Enter. The command prompt window will appear.
- 4.Type echo %username% and press Enter. (there is a space between echo and %username%)
- 5.Your current username will be displayed.