Resolving WinCC Runtime "License Expired" Error with Automation License Manager
The "License expired, please purchase a valid license" popup in WinCC Runtime is one of the most reported authorization failures on Siemens HMI/SCADA stations. The popup typically appears at runtime startup or when switching runtime modes, even when the engineering team believes all purchased licenses are installed and active. In most cases the root cause is not an actually expired license but rather license corruption, duplicate license keys, or a Trial License shadowing a valid Floating License.
This reference walks through the diagnostic and recovery procedure using Automation License Manager (ALM), the central tool for managing all SIMATIC and WinCC authorizations. It applies to TIA Portal V17, V18, V19, and V20, as well as legacy WinCC V7.x installations, with references to the official Siemens Licensing STEP 7 and WinCC documentation.
1. Problem Description
When WinCC Runtime (RT Professional, RT Advanced, or WinCC V7) is started on a panel or PC, the following popup may appear:
License expired, please purchase a valid license.
Clicking Details > reveals internal error codes, the affected license (for example WinCC RT Professional (8192)), and the computer fingerprint. Typical diagnostic values seen in the Details pane include:
E123 - Trial License expiredE124 - License not foundE125 - License corruptedE130 - License for wrong versionE131 - Multiple identical licenses detected
The Runtime can sometimes continue operating in demo mode for a grace period (typically 14 days) but will lock non-demonstrable features. WinCC Comfort/Advanced Panels and WinCC RT Professional enforce the license check strictly without grace.
2. Root Cause Analysis
There are six common root causes for the popup, ordered by frequency in field-reported cases:
| # | Root Cause | Symptom in ALM | Typical Trigger |
|---|---|---|---|
| 1 | Defective (corrupted) license on the local drive | Red X mark on the license row | HDD/SSD swap, ghost image restore, broken Windows profile |
| 2 | Multiple identical license keys installed | Two or more rows with the same CoLID/Serial | Reinstalled from backup without removing old key |
| 3 | Expired Trial License shadowing a real Floating License | License Number 000000000 + clock symbol |
Reactivated PC after formatting without reattaching to license server |
| 4 | Floating License server unreachable | Yellow warning, "Server not found" | Firewall blocking TCP 4410, server offline, DNS issue |
| 5 | License assigned to wrong PC fingerprint | Red X + message "Computer fingerprint mismatch" | Re-hosting the license after motherboard replacement |
| 6 | Wrong license version (e.g., V18 license on a V20 installation) | Red X + "Version mismatch" | Upgraded TIA Portal without upgrading licenses |
3. Prerequisites for Diagnostics
Before opening ALM, verify the following administrative items:
-
Administrator privileges on the runtime PC. ALM writes to
C:\Program Files (x86)\Siemens\Automation License Managerand toC:\ProgramData\Siemens\Automation License Manager. - Automation License Manager installed. For TIA V20, ALM V6.0.10 or later is shipped. For WinCC V7.5 / V7.4 SP1, ALM V5.3 SPx is sufficient.
-
Network access to the license server (UDP/TCP 4410, 4411) if Floating Licenses are in use. Test with
telnet <license-server> 4410from the runtime PC. -
License documentation available: CoLID, license number, license key file (.zip or .alf), original
License Key USBor floppy. - Screenshot capability ready - the ALM main window, the license details, and the runtime popup with Details pressed are all required for any Siemens Support Request (SR).
4. Step-by-Step Diagnostic Procedure in Automation License Manager
4.1 Open Automation License Manager
Launch ALM from the Windows start menu: Start > Siemens Automation > Automation License Manager. The main window lists all licenses visible to the local machine, including those on attached license servers.
4.2 Select and Check All Licenses
- Press
Ctrl + A(or right-click and choose Select All) to highlight every row in the license table. - Right-click and choose Check from the context menu.
- ALM performs an integrity check on every license key. The results appear as status icons in the Status column.
4.3 Interpret the Status Icons
| Icon | Meaning | Required Action |
|---|---|---|
| Green checkmark | License is valid and healthy | None |
| Red X | License is defective/corrupted or the system fingerprint has changed | Recover via ALM or contact Siemens Support |
| Yellow triangle | License is on a server that is currently unreachable | Check network, license server service, firewall |
| Clock symbol | License is a Trial License (CoLID/Serial is 000000000) |
Check "Days left" column; if 0, deactivate and re-activate the real license |
4.4 Inspect License Details
Double-click any license row to open the detail dialog. Note the following fields - they are essential for any Siemens Support Request:
-
License Number (e.g.,
SW-C6A100516-P) - CoLID (Certificate of License ID)
- Validity (date range, or "days left" for Trial)
- Type (Single, Floating, Trial, Upgrade)
- Target System (WinCC RT, Panel, TIA Portal)
- Version (e.g., V18.0, V20.0)
- Computer fingerprint (host ID bound to the license)
5. Resolution Procedures by Root Cause
5.1 Resolving a Defective (Corrupted) License
If the status icon is a red X:
- Right-click the defective license and select Defective Licenses > Recover. ALM attempts to re-read the key from its source (USB stick, USB license stick, or license server).
- If recovery fails, deactivate the defective license: right-click and select Defective Licenses > Move to Defective Licenses subfolder.
- Reinstall the license from the original
.zippackage orLicense Key USBvia License Key > Install in ALM. - If the license was bound to a now-defunct computer fingerprint (motherboard replaced), the license must be returned to Siemens for re-hosting:
- Open a Support Request at Siemens Industry Online Support and attach screenshots of the ALM window (showing license number and key) and the runtime popup Details dialog.
- Provide proof of original purchase (invoice, license certificate).
- Siemens will issue a new
License Keybound to the new fingerprint.
5.2 Resolving Duplicate Identical Licenses
When two or more rows show the same License Number and CoLID:
- Identify the active license (the one installed last - typically the bottom row in the list).
- Right-click the older/duplicate row and select Defective Licenses > Move to Defective Licenses. This deactivates it without deleting.
- Confirm via the runtime that only one license is checked out.
5.3 Resolving an Expired Trial License Shadowing a Real License
This is the single most common cause of the "license expired" popup. The Trial License is still listed in ALM with a clock symbol; once its 21 days are exhausted, the runtime picks it up first and reports expiry.
- In ALM, locate the row with License Number
000000000and a clock symbol. - Right-click and select Deactivate License (in some ALM versions: Defective Licenses > Move to Defective Licenses).
- Restart the WinCC Runtime - the actual valid license will be picked up.
To prevent recurrence, deactivate the Trial License as soon as the real license is installed. The official Siemens TIA V20 licensing guide states: "You have the one-time option of activating a Trial License. However, this Trial License is valid for a limited period only and expires after 21 days."
5.4 Resolving Floating License Server Unreachable
- On the license server, verify the
Siemens ALM Serverservice is running:services.msc > Siemens ALM Server. - Open TCP ports 4410 and 4411 inbound on the license server firewall.
- From the runtime PC, test connectivity:
Test-NetConnection <server> -Port 4410(PowerShell) ortelnet <server> 4410. - In ALM on the runtime PC, click Connect to License Server, enter the server hostname or IP, and confirm the license appears as healthy.
5.5 Resolving Version Mismatch
WinCC licenses are version-specific. A V18 license will not authorize a V20 installation. Verify the Target System Version field in the ALM detail dialog. To upgrade licenses across TIA Portal versions, purchase a License Upgrade (e.g., 6AV2107-0XA00-0BH0 for a WinCC Comfort/Upgrade V17 to V20).
6. License Type Reference Table
| Type | Storage | Bound To | Typical Use |
|---|---|---|---|
| Single License (F) | Local hard drive or USB License Key | One computer fingerprint | Dedicated engineering station |
| Floating License (FL) | License server | Multiple users, one at a time | Engineering teams |
| Trial License | Local hard drive | One computer, 21 days max | Evaluation only |
| Upgrade License | Local or server | Existing base license | Version upgrades |
| Power Pack | Local or server | Existing base license | Capacity upgrade (e.g., tags) |
7. Verification Procedure
After applying the corrective action, verify the fix at three levels:
7.1 ALM-Level Verification
- Open ALM and confirm no red X icons remain.
- Confirm the Trial License is removed (no clock symbol) unless it is the intended license.
- Confirm the valid license shows a green checkmark.
7.2 Runtime-Level Verification
- Restart the WinCC Runtime service or restart the panel.
- Confirm the "License Expired" popup does not appear.
- Open WinCC Explorer > Help > About (or RT Professional Project > Runtime > License) - the dialog must show a valid license line, not "Demo" or "Missing".
7.3 Diagnostic Dump Verification
- Generate a WinCC License Diagnostic dump:
Start > Siemens Automation > WinCC > License Analysis(legacy V7) or via the RT Diagnostics page in TIA V20. - Confirm the dump lists the valid license and the runtime starts in non-demo mode.
8. Common Error Code Mapping
| Code | Meaning | Likely Fix |
|---|---|---|
| E123 | Trial License expired | Deactivate Trial, activate purchased license |
| E124 | License not found | Reinstall license or repair ALM |
| E125 | License corrupted | Recover from source or request re-hosting |
| E128 | License version mismatch | Install matching version license or purchase upgrade |
| E130 | Server unreachable (Floating) | Verify network, TCP 4410, ALM service |
| E131 | Duplicate license detected | Deactivate the older duplicate |
9. Preventive Best Practices
- Centralize license administration on a dedicated license server. Floating Licenses reduce risk of fingerprint lock-out.
- Deactivate Trial Licenses immediately after a real license is installed - do not leave them on the system.
-
Back up the
C:\ProgramData\Siemens\Automation License Managerfolder before any Windows image deployment. - Document every license (CoLID, License Number, target system, version) in a central plant registry. This dramatically shortens any Support Request.
- Test WinCC Runtime startup after every TIA Portal upgrade - a version mismatch can remain latent for weeks until a panel is rebooted.
- Avoid ghost image restore on systems that hold Single Licenses. Use the original installation media and re-host the license from Siemens.
10. When to Open a Siemens Support Request
Escalate to Siemens Industry Online Support (SIOS) when:
- The computer fingerprint has changed (motherboard or SSD replacement).
- The license number is not recognized in any backup.
- The Floating License server is verified healthy but the client still reports "Server not found".
For a Support Request, attach:
- Screenshot of ALM with all licenses visible (Ctrl + A, full window).
- Screenshot of the defective license details dialog.
- Screenshot of the WinCC Runtime popup with the Details button pressed.
- Proof of purchase (invoice, license certificate PDF).
- The
License Analysisdump if WinCC V7 is involved.
Why does WinCC Runtime show "License Expired" even though the license was purchased recently?
The popup is almost always triggered by a corrupted (red X) license, a duplicate install, or - most commonly - an expired Trial License (clock symbol, License Number 000000000) still present on the system. Deactivate the Trial License first and verify all remaining entries in ALM show a green checkmark.
How long is a Siemens Trial License valid?
A Trial License is valid for 21 days from first activation, as documented in the official TIA Portal V20 licensing guide. After 21 days the Trial License can no longer authorize the software but is not automatically removed - it must be deactivated manually in ALM.
How do I distinguish a Trial License from a real license in ALM?
A Trial License shows a clock symbol in the Status column and a License Number of 000000000. The Validity column displays the remaining days instead of a date range. A real Single or Floating License shows a green checkmark and a non-zero License Number.
What ports does the Floating License server use?
The Siemens ALM Floating License server uses TCP and UDP port 4410 (primary) and 4411. These must be open in the firewall on the license server and any intermediate network equipment. Test with Test-NetConnection <server> -Port 4410 from the client PC.
What should I attach to a Siemens Support Request for a defective license?
Attach screenshots of the ALM main window (Ctrl + A to show all licenses), the defective license details dialog (License Number and License Key must be visible), the WinCC Runtime popup with the Details button pressed, and the original purchase invoice. Without proof of purchase, Siemens cannot re-host the license.