Now HASP Driver repairs are needed occasionally

  • 10 January 2022
  • 6 replies

Userlevel 2

Since upgrading to the latest Zemax OpticStudio version 21.3.2 (or maybe after a minor Windows 10 update?), I have been having license issues with my Subscription Professional license.

Especially after sitting idle for a week or more, I get the Zemax License Manager popup showing no licenses.  I have found that I can click “Check & Repair HASP Drivers” on the Troubleshoot page, and then get the “Service restarted successfully” message (see attached image).

After restarting the HASP service (whatever that means), then View License shows my license and OpticStudio runs as usual.

Is anybody else experiencing this?

-- Greg


Best answer by Don Dickinson 10 January 2022, 21:47

View original

6 replies

Userlevel 2


Odd, the service should stay running all the time.

One thing you can do is set up the licensing service to automatically restart upon errors. This may give it OpticStudio a chance to find the license again before it times out and shuts down. Note that it will take 1-1.5 minutes to restart itself when it stop working even with this setup, so be patient.

Open the Start menu and search for SERVICES.MSC. Locate the Sentinel LDK License Manager service and double-click it to open the properties. Click the Recovery tab. See the screen shot for an example of what settings to use.


Userlevel 2

Thanks, Don.  This might prove helpful to others who are observing the same issue.

From your reply, I’m assuming that you had not heard of this before.  FYI, this has happened to me shortly after startup, with few if any other programs (such as maybe a web browser) running, aside from (recently updated) Norton 360 in the background.

Since your startup settings suggestion sounds like it might take longer than just “repairing the HASP drivers” (which is very fast), I think I’d rather do it the way I have been a few times already as described above.  Also, I think it might be hard to tell what is going on if OpticStudio is just taking a very long time to start up.

*** Is there any reason for you to discourage what I have been doing?

I still hope that others will report similar behavior to you.  I can pay more attention and see whether I can correlate this HASP(?) behavior with other changes to the computer (e.g. Windows or Nor*ton antivirus updates).

-- Greg


*possibly leading to head-scratching, cursing, and unnecessary restarting of the computer

Userlevel 2

Oops, the asterisk (*) should have gone after “very long time to start up.” ...not in the middle of “Nor*ton”

Userlevel 2

Good day!

The method i suggested is a one-time setup - It may keep you from having to manually repair the HASP drivers. Instead it will attempt to restart on it’s own if it stops. 


Userlevel 2

Update from today after experiencing the same thing as originally described:

Your method using Services to set up the Sentinel LDK License Manager Recovery Properties to “Restart the Service” on first, second, and subsequent failures DOES NOT WORK for me.

After changing the Recovery settings, AND restarting the computer to check if they “stuck” (they did, show your suggested settings after restart), OpticStudio still couldn’t find the license.

But my method of Zemax License Manager > Troubleshoot > Check & Repair HASP Drivers DOES work to get my license to show, and then after doing so, OpticStudio successfully starts (automatically).

-- Greg

Userlevel 2

Good day, and thanks for the update. Changing the settings after having it stop working won’t fix the service, it’s intended to avoid having it go down in the first place. If you’ve changed it, leave it in place. Of course you may have a different problem this setting does not address.