Keysight ADS License Errors Explained: -1, -5, -8, -9, -15 and How to Fix Them
When Keysight ADS cannot get a license it shows a generic “no valid license” message. The details button usually contains a FlexNet error such as “FlexNet Licensing error: -15,10”. The first number is the useful part.
Error code lookup
| Code | Meaning | Typical cause |
|---|---|---|
| -1 | License file not found | ADS_LICENSE_FILE points to a missing file or a wrong path |
| -5 | Feature not in the license | The license does not include this module, or is older than the software |
| -8 | Invalid license key or signature | The file was edited, re-encoded or belongs to another product or version |
| -9 | Hostid mismatch | Different computer, replaced or disabled network adapter |
| -15, -96 | Cannot connect to the license server | Service not running, port blocked, wrong server name |
| -97 | Vendor daemon is down | agileesofd.exe is not running |
Checklist
- ADS_LICENSE_FILE: check both user and system variables. For a local file use the full path; for a server use port@host, for example 27001@localhost. Keep only the sources you actually use, separated by semicolons.
- License service: in services.msc, EESoft Flexnet Licence Server should be running.
- Firewall: local licensing still uses network ports. Allow lmgrd.exe and agileesofd.exe.
- Network adapter: node-locked licenses are tied to the hostid (a MAC address). Disabled adapters, USB adapters and virtual adapters can change what FlexNet sees.
- The license file itself: open it in Notepad, never in Word. Only the SERVER line host name and port may be edited; changing anything on FEATURE or INCREMENT lines breaks the signature (-8).
You can check the server with lmutil lmstat -a -c 27001@localhost from the license tools bin folder.
Errors that appear right after a reinstall
If the license worked before you reinstalled or upgraded, the cause is usually leftovers from the old install: an old FlexNet service pointing to a deleted folder, registry entries for old license tools (the license path appears greyed out), or ADS_LICENSE_FILE still pointing to an old file. Clean these up first, restart, then configure the license again. See how to completely uninstall Keysight ADS.
Skip the manual cleanup: ADS Cleanup Tool
The ADS Cleanup Tool is a small Windows utility for one situation: ADS was installed before and now refuses to reinstall. It supports ADS 2009 through 2027. It first checks the Windows user name, computer name, firewall, third-party antivirus and Visual C++ runtime, then stops the license processes, removes the EESoft FlexNet license service, deletes the Zero G Registry and uninstall_ADS records, the Keysight/Agilent registry keys and the ADS_LICENSE_FILE variable.
It does not delete the Keysight install folder. It renames it to Keysig1, Keysig2 and so on, so you can remove the backup after the new version is installed and working. Restart once before running it, and run it as administrator.
Download links and a video are on the ADS Cleanup Tool page. A license code costs ¥9.9 and can be bought here.
FAQ
It worked yesterday and fails today.
Check the expiry date on the feature lines, the license service and the network adapter. Windows updates sometimes reset firewall rules, which shows up as -15.
The same license works on a colleague’s computer.
A node-locked license only works on the machine whose hostid it contains, so -9 is expected elsewhere.
Does running ADS as administrator help?
Not for license errors themselves, but the license configuration tool and the service need administrator rights.