MATLAB: Do I receive the error message “There was an error installing the dongle device drivers“ when I install MATLAB with a dongled license

MATLAB

I'm trying to install MATLAB and get the error message:
There was an error installing the dongle device drivers. Try to use the dongleutil.exe utility (in the bin\win32 directory) to install them.
I run dongleutil.exe and the DOS Window returns: ERROR: Installing HASP Device Drivers … API error number : 0x2008007 API suberror number : 0x20007 System last error number : 0x0 API error description : Failed to start the Aladdin Device Driver. Failed to start a service in the Service Control Manager Database

Best Answer

In order to install the dongle properly, follow the instructions below:
1. Open a command window. (To do this, Click Start->Run, in the run window type 'cmd').
2. Navigate to the $MATLABROOT\bin\win32 directory (where $MATLABROOT is your root MATLAB directory)
3. Run the command:
haspdinst.exe -i
If the above workaround fails, an updated HardLock driver is available that will resolve this issue. It can be downloaded from the following website:
1. Read and accept the License Agreement
2. The Sentinel_LDK_Run-time_setup.zip will download automatically
2. Unzip the archived file
3. Execute Setup.exe