MATLAB: Do I receive “Failed to update the DACL settings” when setting up a new License Manager service

When I first installed the Network License Manager on my Windows operating system, I did not choose to setup as a service. Now when I try to use LMtools.exe to setup a service, I receive a "Failed to update the DACL settings" error. How can I avoid this error and configure the Network License Manager as a service?

Best Answer

When configuring the Network License Manager as a service post-installation, you will needed elevated permissions on your system in order to update this service.
To make any changes, you will need to access the local administrator account on your License Server. From this user account, an administrator can access the License Manager service itself and adjust the permissions accordingly so it can be managed.
Once the permissions have been adjusted, you should be able to save the service in LMtools.exe and configure it to start up automatically on Windows boot-up.
You may also see this issue when editing the service that is already setup for the network license manager. This will happen on the new version of LMtools (11.13.1.3) if the "Trusted Storage in Use" box is checked off in the config services tab. MATLAB does not use trusted storage, to resolve this please un-check that box and then save the service.