This article describes how a network administrator can edit a file on the client machines to help find an OpticsViewer license server. This will allow you to configure multiple client computers to reach the server without having each user enter the server name manually.
Authored By Matthew Sutton
As the network administrator or IT professional installing OpticsViewer on several client machines across a network, you may find that the client machines do not automatically locate the network license server and have to manually enter the name into the settings.
If you are responsible for a large number of client machines, manually entering the information on each client machine may become tedious. If you would like to automate this process, follow the instructions in this article.
For Opticstudio or Lensmechanix, see Automate client computer configuration for softkey and Red USB key network installations
Step 1: Move to a client computer where OpticsViewer has already been installed and is working.
Step 2: Verify the settings are correct by opening the Sentinel Admin Control Center "Access to Remote License Managers" section - normally located at this address: http://localhost:1947/_int_/config_to.html.
The following screen should appear. Verify the correct server name is in the "Place.IP.Address.Here" section, and that both "Broadcast Search" and "Allow Access to remote licenses" is checked.
Tip: You may also need to check the "Aggressive Search for Remote Licenses" option if the license still is not found.
Step 3: Navigate to C:\Program Files (x86)\Common Files\Aladdin Shared\HASP folder.
Step 4: Find the file called hasplm.ini. The file contains all the settings for the Admin Control Center including the server name you verified in step 2. OpticsViewer will use these settings when launched. It can now be copied into the same folder directory on any client machine. Note that you will need Administrator rights on the client machine you copy the file to.
Important: After copying the file to the client machine, you will need to either restart the computer, or the Sentinel LDK Licensing Service for changes to take effect.
To restart just the service, you may either:
- Open the Start menu, and search for services.msc
- Open Control Panel...System and Security...Administrative Tools...Services
Next, right-click on Sentinel LDK License Manager (also called HASPLMS) and select Restart.
Step 5: Verify that OpticsViewer launches successfully.
If you would like to change the server name or other settings, you can also edit the HASPLM.INI file and re-deploy it to the client machines rather than getting a new file from the client machines.
Open the hasplm.ini configuration file in Notepad or another text editor. The [REMOTE] section shown below covers the same settings as found on the "Access to Remote Licenses" section of the Admin Control Center. Note the serveraddr field can be either the server's network name OR an IP address.
If you are on a client machine, a guide to configuring your machine to find the license server is described in the article How to configure the keyserver and clients for an OpticsViewer network license (Client).