Resolving TIA Portal V19 "License STEP7 Basic was not found" Error (Error Code 0086:000300)
When launching TIA Portal V19 and attempting to add a new device, open a previously created project, or simply interact with the editor, the dialog "License STEP7 Basic was not found" appears, followed by the secondary message "Automation License Manager (0086:000300)". This article walks through the exact diagnostic procedure using the Automation License Manager (ALM), explains the four most common root causes, and provides five field-proven resolution methods. Target audience: commissioning engineers, system integrators, and maintenance technicians responsible for TIA Portal V17/V18/V19 workstations where STEP 7 Basic or Professional is licensed.
1. Problem Description
The error presents itself as a modal popup that prevents any device insertion, project navigation, or compilation in TIA Portal. The two message strings typically reported are:
- Primary: "License STEP7 Basic was not found"
- Secondary (in the detail pane or as the parent dialog title): "Automation License Manager (0086:000300)"
The popup appears in one of the following scenarios:
- Clicking Add new device in the project tree
- Double-clicking a PLC tag, program block, or HMI screen in an existing project
- Opening a project that was migrated or created on another TIA Portal workstation
- On the first launch of TIA Portal after a trial period expiration (most common)
- After a major Windows update that invalidates USB-based license keys
.ap17 / .ap18 / .ap19 project archive.2. Affected Products, Versions, and Error Codes
| Component | Version / Catalog | Notes |
|---|---|---|
| TIA Portal | V17, V17 Update 4+, V18, V18 Update 2+, V19 (all editions) | Error wording is identical across versions |
| STEP 7 Basic | Floating license, MLFB 6ES7822-0AA00-0YA0 (and variants) | Required for S7-1200 / S7-1500 programming |
| STEP 7 Professional | Floating license, MLFB 6ES7822-1AA00-0YA0 (and variants) | Supersedes Basic; includes S7-300/400/WinAC |
| STEP 7 Trial | Bundled with TIA Portal installation | Default 21 days; cannot be reactivated on the same PC |
| Automation License Manager | V6.0.x (bundled with TIA V19) | Backward compatible to TIA V14 licenses |
| Operating system | Windows 10 21H2 / 22H2, Windows 11 22H2 / 23H2, Windows Server 2019 / 2022 | 32-bit ALM runs on 64-bit OS via WOW64 |
For the official TIA Portal V19 delivery release, refer to the Siemens support entry 109770654 - TIA Portal V19. For the Automation License Manager itself, see Siemens support entry 109745274 - Automation License Manager.
3. Error Code Reference (0086:000300)
The TIA Portal license framework is a two-layer system. The error code 0086:000300 is interpreted as:
| Field | Value | Meaning |
|---|---|---|
| Component code | 0086 | Automation License Manager service (ALM) |
| Sub-code | 000300 | Requested license key not located in the local store, license server, or attached USB stick |
Other codes that may appear in the same dialog:
| Code | Trigger | First action |
|---|---|---|
| 0086:000300 | License missing entirely | Re-activate or transfer the key (see Section 6) |
| 0086:000301 | License is in use by another PC | Disconnect the floating license from the other station |
| 0086:000302 | License is corrupt | Restore from .alf backup |
| 0086:000303 | License server unreachable | Verify network path / VPN tunnel |
| 0086:000304 | Trial license expired | Purchase and activate a full license |
| 0086:000305 | Version mismatch (license older than TIA) | Upgrade via SUSL or downgrade TIA Portal |
4. Root Cause Analysis
The dialog text is a symptom, not a root cause. Below are the four mechanisms that generate the exact string "License STEP7 Basic was not found":
4.1 Expired Trial License (most frequent cause)
TIA Portal ships with a 21-day trial of STEP 7 Professional. After installation, the ALM registers the trial key in the local license store. The trial key carries a validity timestamp; on day 22 the key transitions to the expired state. Once expired, the trial cannot be re-armed on the same machine, even by reinstalling TIA Portal, because the license fingerprint is bound to the PC SID, MAC, and CPU ID hash.
4.2 License Held on a Different Workstation
Floating licenses (single-user or concurrent) are stored on one PC or on a license server. The ALM on the current PC performs a lookup and, finding no matching key in the local store or in the network-defined server, returns 0086:000300. The classic situation is a colleague who has the license on a USB stick that is not currently attached, or a license server located in a different VLAN that the engineering PC cannot reach.
4.3 Version Mismatch Between TIA Portal and License
A license purchased for TIA Portal V16/V17 will not unlock features that require V18/V19. The ALM may still display the key as valid, but TIA Portal's internal feature check fails, resulting in the popup. This commonly happens after a TIA Portal upgrade when the SUSL (Software Update Service License) has not been renewed.
4.4 Corrupted License Database
The local license store is a SQLite database located at %ProgramData%\Siemens\Automation\Licenses\Lsidin5.mdf with sidecar files. A forced power-off, a failed ALM crash, or a partial restore can leave the database in an inconsistent state. ALM then reports the key as "not present" because the index it relies on is unreadable.
5. Pre-Diagnostic Checklist
Before opening ALM, run through this quick list. Many field tickets are resolved by items 1-3 alone.
- Confirm the date and time of the PC are correct (Windows time sync enabled, timezone correct). A clock more than 24 h in the past makes the ALM reject all keys.
- Connect the License Key USB stick if you use one. Wait 10 s for enumeration before launching TIA Portal.
- Verify the network: if using a license server,
ping <server>and confirm the ALM port 4410 (TCP) is reachable viaTest-NetConnection -Port 4410. - Close all TIA Portal instances and stop the ALM Service from
services.msc. - Verify you are an administrator on the PC. License modifications require elevation.
6. Diagnostic Procedure with Automation License Manager
The ALM is the single source of truth for license state on a Siemens engineering workstation. It is the only tool that should be trusted when the TIA Portal popup is dismissed.
6.1 Launching ALM
- Click the Windows Start button.
- Type
Automation License Managerand select the result. - If the search returns nothing, browse to
C:\Program Files (x86)\Siemens\Automation\License Manager\Bin\almservicex.exeorC:\Program Files\Siemens\Automation\License Manager\Bin\almservicex.exe. - Right-click Run as administrator even if you are already admin - this avoids UAC prompts later when the service queries itself.
6.2 Reading the ALM Main Window
The ALM window is split into two panes. The left pane lists detected license containers in priority order:
- USB-attached License Key sticks
- Local hard-disk license store (C: drive or "Computer")
- Remote license servers (each shown as a separate node)
The right pane lists every license key detected in the selected container, with the following columns: License, Status, Validity, Number of licenses, Type, Computer. Expand each entry to see the underlying features (e.g., "STEP 7 Professional" and "WinCC Professional" on the same MLFB).
6.3 ALM Status Icon Reference
| Icon | Status | What it means | Engineer action |
|---|---|---|---|
| Green check mark | Valid | License is current, in maintenance, and available | None - TIA Portal should accept it |
| Yellow triangle (exclamation) | Warning | License valid but in grace period; e.g., SUSL has lapsed | Renew SUSL or accept that V19 features will be blocked |
| Red X | Invalid / expired | Validity timestamp in the past | Replace with a new license or return to vendor |
| Question mark | Unknown | License container unreachable (USB unplugged, server down) | Reconnect container or restore network |
| Lock symbol | In use | License currently checked out by another process or PC | Close remote TIA Portal or release from the other PC |
| Hourglass | Pending | Activation in progress | Wait 30 s, refresh with F5 |
6.4 Reading the License Detail Dialog
Right-click a license entry and select Properties to see:
- License number - the unique 20-character key
- Validity from / to - hard timestamps; the key is unusable past the to date
- Number of licenses - for floating licenses, the count of concurrent users
- Issued to - end customer name on the CoL (Certificate of License)
- CoL ID - needed when contacting Siemens to extend or replace the key
Capture this information as a screenshot. It is the evidence required by Siemens support if the next step is to re-issue the key.
7. Resolution Methods
Apply the first method that matches the diagnosis. Methods 1-3 cover the most common field cases; methods 4-5 cover database or installation corruption.
Method 1 - Activate a New License Key from a License Key USB Stick
- Insert the License Key USB stick into the engineering PC.
- Open ALM as administrator (Section 6.1).
- Locate the stick in the left-hand navigation tree.
- Right-click the desired license and select Transfer > to local drive (or simply drag the license from the USB node to the Computer node).
- Wait for the green check to appear next to the local copy.
- Optionally remove the USB stick and launch TIA Portal to confirm the popup is gone.
Method 2 - Activate a License via the Online Software Delivery (OSD) Portal
- Log in to Siemens Industry Online Support with the customer number that owns the license.
- Open Online Software Delivery and locate the purchased CoL.
- Select Activate license; the portal generates a
.alf(Automation License File) for the targeted PC fingerprint. - Download the
.alfand copy it to the engineering PC. - Open ALM, choose License > Install / Upgrade License, and point to the
.alffile. - Confirm the key is installed (green check in ALM).
Method 3 - Activate a Trial License for a Fresh TIA Portal Installation
Use this only on a workstation that has never had a TIA Portal trial before. The trial is bound to the hardware fingerprint and cannot be re-issued on the same PC.
- Close TIA Portal.
- Run the TIA Portal setup executable with
--trialif upgrading, or simply launch the standard installer on a clean PC. - On the first launch, the ALM registers a 21-day trial and TIA Portal activates the highest tier present in the setup (typically STEP 7 Professional + WinCC Professional).
- Confirm the trial is listed in ALM with a green check and a validity 21 days in the future.
Method 4 - Repair the TIA Portal Installation
- Open Windows Settings > Apps > Installed apps.
- Locate Siemens TIA Portal V19 (or matching version) and select Modify.
- Choose Repair. The installer re-registers the ALM service and the license check DLLs.
- Reboot when prompted.
- Re-test the previously failing action in TIA Portal.
Method 5 - Restore the Local License Database from Backup
- Stop the ALM service:
net stop "ALM Service"in an elevated command prompt. - Navigate to
%ProgramData%\Siemens\Automation\Licenses\. - Identify the most recent
.zipbackup created by ALM (default cadence: weekly). - Extract the backup files into the same folder, overwriting the corrupt
Lsidin5.mdfandLsidin5_log.ldf. - Restart the ALM service:
net start "ALM Service". - Re-launch ALM and verify the key is present with a green check.
8. Verification Steps After Resolution
Do not assume the issue is closed until every step passes.
- ALM check: Open ALM, confirm the relevant STEP 7 license row shows a green check.
- TIA Portal re-launch: Start TIA Portal V19; the splash screen should display "License OK" in the lower-right corner.
- Add new device test: In an empty project, click Add new device > SIMATIC S7-1500 > any CPU. The dialog should accept the action without a license popup.
- Open original project: Re-open the project that previously triggered the error and attempt to compile (right-click PLC > Compile > Software (rebuild all)). Compile must complete with zero errors and no license popup.
- ALM event log: In ALM, choose View > Event Log and confirm no new "License missing" entries since the resolution.
9. Prevention and License Management Best Practices
A few operational habits eliminate 90% of license-related tickets:
- Track CoL dates centrally. Maintain a spreadsheet of every CoL, the issue date, the validity, and the assigned workstation. Alert 60 days before expiration.
- Renew SUSL every year. The Software Update Service License is what allows an existing key to unlock the next TIA Portal version. Without it, you are stuck on the version stamped on the original CoL.
- Avoid mixing TIA versions on a single PC. A PC with TIA V17 and V19 installed uses a single ALM database. An old trial key from V17 can shadow a new V19 key during lookup. Uninstall obsolete TIA versions you no longer need.
- Keep a clean ALM backup. Set ALM's automatic backup to monthly and store copies on a network share. This single habit resolves corruption incidents in minutes instead of days.
- Document the license transfer process. For floating licenses used by multiple engineers, write the ALM drag-and-drop procedure in a one-page SOP and laminate it near the engineering PCs.
10. Troubleshooting Matrix
| Symptom | Most likely cause | First action | Escalation |
|---|---|---|---|
| Popup appears only on first launch each day | Trial license has expired | Verify in ALM; replace trial with full license (Method 2) | Siemens customer support with CoL ID |
| Popup on one PC, project opens on another PC | Floating license stuck on the other workstation | Open ALM on the other PC and release the key | License server admin if deployed |
| Popup after Windows Update | USB License Key driver regression | Reinstall Sentinel HASP driver from Siemens support | Replace USB key if hardware failure |
| Popup after TIA Portal upgrade | SUSL not renewed; license is version-locked | Verify license validity in ALM Properties | Order SUSL renewal |
| ALM shows red X on a recently purchased key | Wrong PC fingerprint at activation time | Re-issue .alf for the correct PC |
Siemens OSD support |
| ALM reports key as valid, TIA Portal still shows popup | Corrupted ALM service state | Restart the ALM service and re-test | Method 4 - Repair TIA Portal |
| All keys missing after power outage | Corrupted Lsidin5.mdf
|
Method 5 - Restore from backup | Re-activate via OSD |
11. Related Siemens Documentation
For deeper reading, the following official Siemens resources are the authoritative references:
- TIA Portal V19 delivery release and installation notes (109770654)
- Automation License Manager manual (109745274)
- Siemens Industry Online Support portal - searchable by error code or CoL number
- TIA Portal product overview
What does the TIA Portal error code 0086:000300 mean?
Code 0086:000300 is generated by the Automation License Manager and means the requested license key cannot be found in the local store, on the License Key USB stick, or on the configured license server. The popup text "License STEP7 Basic was not found" is the user-facing translation. Verify the key is present in ALM before assuming a purchase issue.
Why does TIA Portal ask for STEP 7 Basic when I own a Professional license?
TIA Portal evaluates the minimum required license first. When the dialog reports "STEP 7 Basic was not found" but the installed key is Professional, the Professional key is typically expired, version-locked to an older TIA Portal release, or not actually present on the workstation. Open ALM and inspect the Professional key's validity dates and CoL version.
Can a TIA Portal trial license be reactivated after expiration?
No. The trial license is bound to the PC fingerprint (SID, MAC, CPU ID) and cannot be re-armed on the same hardware. To continue using TIA Portal you must purchase a full STEP 7 license and activate it through the Online Software Delivery portal as an .alf file.
How do I move a floating STEP 7 license to another PC?
Open ALM as administrator on the source PC, right-click the license, choose Transfer > to local drive on the target PC (or drag-and-drop across the network). The license becomes invalid on the source PC and valid on the target. For USB-based keys, simply insert the stick on the target PC and drag the key to the local store.
Is it safe to repair the TIA Portal installation when a license error occurs?
Yes. The TIA Portal Repair operation re-registers the ALM service and the license check DLLs but does not touch the local license database at %ProgramData%\Siemens\Automation\Licenses\. Existing licenses survive the repair. Use this method when the ALM service fails to start or when TIA Portal reports a license popup that ALM does not reproduce.