Resolving SIMATIC PCS 7 V7.0 'No Valid License Key Found' Errors on CFC/SFC Charts
When a fresh SIMATIC PCS 7 V7.0 engineering station is activated with a 14-day trial license, the operator typically expects unrestricted access to every chart in every project. The reality is more constrained: PCS 7 licensing is component-aware, time-bound, and in some cases size-bound by the number of process objects (PO) the trial will permit. This article walks through the diagnostic flow used by experienced PCS 7 commissioning engineers to recover from No valid license key found. The application will be closed. errors thrown by the CFC or SFC editor.
1. Symptom Definition and Reproduction Matrix
The failure surface for this error is wider than a single product. The CFC and SFC editors are licensed as separate software components inside the PCS 7 suite, so it is possible for one to load and the other to refuse. Capture the following information before changing anything:
| Observation | What to record | Why it matters |
|---|---|---|
| Editor that fails (CFC, SFC, both) | Exact title bar of the dialog | Pinpoints the unlicensed component |
| Project type (S7 Program only, S7-400H, AS bundle) | Master data library version | Determines which PO counter is hit |
| Number of process objects in the S7 program | PO count from CFC Editor → Options → Statistics | Tests the 250 PO trial hypothesis |
| License key fingerprint | ALM → My license keys → Detail | Distinguishes trial, rental, and floating |
| ALM service state |
services.msc → "Automation License Manager" status |
Rule out the most common cause first |
| Domain/workgroup context | Whether the station is domain-joined at the time of failure | Group policy may suppress the ALM service |
2. PCS 7 V7.0 Licensing Architecture
PCS 7 V7.0 uses the same Automation License Manager (ALM) infrastructure as the rest of the SIMATIC family. The relevant components are:
-
ALM Service —
almservice.exe(path%ProgramFiles%\Siemens\AutomationLicenseManager\bin\almservice.exeon x86 and...\AutomationLicenseManager\x64\...on x64). Runs as Local System by default. -
ALM GUI —
almsrv.exeor the start-menu "Siemens Automation License Manager". -
License key storage — Local license keys are stored in the Windows Registry under
HKLM\SOFTWARE\Siemens\AutomationLicenseManager\Keysand on the physical/redundant license key USB dongle (if used). - Trial license files — Activated via the Web License Key Download portal, then imported by the ALM into the registry. Time-bombed to 14 calendar days from first activation on that machine.
- Component-level checks — Each SIMATIC application (CFC, SFC, WinCC Explorer, PCS 7 OS Runtime, SFC Visualization, APL Library, etc.) calls the ALM with a feature ID. The ALM responds with a granted/denied/expired/exceeded verdict.
3. Root Cause Matrix
Across field reports, four root causes account for the majority of these errors. The matrix is ordered from most to least common in V7.0 deployments.
| # | Root cause | Indicator | Frequency | Time to confirm |
|---|---|---|---|---|
| 1 | Automation License Manager service is stopped or disabled | ALM GUI shows red status, Start service button visible |
High | 30 s |
| 2 | Trial license does not include the requested component (CFC vs SFC) | ALM → My License Keys lists SFC but not CFC (or vice versa) | High | 60 s |
| 3 | Project size exceeds the trial license PO ceiling (commonly cited as 250 PO) | Project loads on small example but fails on production-sized program | Medium | 5 min |
| 4 | Group Policy or local security policy blocks the ALM service from starting on domain-joined machines | Service is "Disabled" in services.msc; manual start succeeds outside the corporate network |
Medium | 5 min |
| 5 | License key was activated, then rolled back (system restore, VM snapshot revert) | ALM reports 0 days remaining despite fresh activation | Low | 10 min |
| 6 | Out-of-process server for the editor is missing (e.g., WinCC Explorer not installed) | OS component fails but AS engineering works | Low | 10 min |
4. Cause 1: Automation License Manager Service Is Not Running
The ALM service is the only daemon that mediates between the CFC/SFC editor and the actual license entitlement. If it is stopped, the editor will throw No valid license key found on the very first request, even when the license key is present in the registry.
4.1 Service verification (manual)
- Right-click My Computer → Manage → expand Services and Applications → Services.
- Locate Automation License Manager. The service name is
almservice, display name Automation License Manager. - Confirm Status is Started and Startup Type is Automatic.
- Double-click and review the Log On tab. The default is Local System account; do not change to a domain account unless your IT policy explicitly mandates it.
- Check the Recovery tab: configure First failure, Second failure, and Subsequent failures to Restart the Service with a 1-minute restart delay. A failed ALM that does not auto-restart is the most common cause of repeat errors after a reboot.
4.2 Service verification (command line)
:: Confirm the service is installed
sc query almservice
:: Start it if stopped
sc start almservice
:: Enable auto-start
sc config almservice start= auto
4.3 Domain-joined workstations and IT-managed machines
When the engineering station is part of an Active Directory domain, group policy may override the service start type to Disabled. Symptoms are unambiguous: the service is "Disabled" in services.msc, and the station functions correctly only when logged in over VPN or when the workstation is removed from the corporate LAN.
Coordinate with your IT administrator and either:
- Add the workstation's computer account to a GPO exception that allows the ALM service to run, or
- Whitelist the executable
almservice.exein the application control / antivirus exclusion list, or - Provide a local administrator account that bypasses the policy for the engineering user.
almservice.exe as "unknown service" and quarantine it. After restoring the file from quarantine, the service will start, but if the security product re-applies its hash, the next reboot will fail again. Add a permanent exception for the entire Siemens\AutomationLicenseManager directory.5. Cause 2: Trial License Does Not Cover the Requested Component
The 14-day trial license is a bundle, but not every feature inside the bundle is automatically granted. The trial's feature list is generated when the license key is downloaded from the Siemens Industry Online Support portal and is keyed to the components enabled in your specific download profile. If a previous engineer downloaded only the SFC component for evaluation, you will see SFC in ALM and CFC absent.
5.1 How to inspect
- Open the ALM.
- Switch to the My License Keys tab.
- Look for entries named SIMATIC PCS 7 SFC and SIMATIC PCS 7 CFC. The "Validity" column should read a non-zero number of days.
- Switch to the Missing License Keys tab. Any component listed here is what is preventing the corresponding editor from launching.
5.2 Correction
If a component is missing, re-run the Automation License Manager → Web License Key Download workflow, select the missing component, and transfer the new key file back to the engineering station. The trial countdown is not reset by adding components; the original 14-day window remains in force.
6. Cause 3: Project Size Exceeds the Trial PO Ceiling
Siemens trial licenses for PCS 7 are time-limited and frequently size-limited. Field reports consistently cite a 250 process object (PO) ceiling for trial activations on V7.0. Siemens does not publish this number prominently; the value is enforced silently by the ALM when the editor enumerates the chart's PO count at load time.
6.1 How to count process objects
- Open the S7 program in the CFC editor.
- Choose Options → Chart Statistics (or Options → Cross References → Chart Reference Data).
- Locate the line labeled Process objects or Number of POs. This is the figure the ALM compares against your license ceiling.
If the chart shows more than your ceiling and the trial license is the only one installed, the editor will close with the same error message you are seeing on "in-house" charts while still opening the smaller example charts.
6.2 Workarounds
- Request a full development license for the engineer, not a trial, with a sufficient PO count.
- Use the rental license mechanism described in Section 5.2.
- Open the project in read-only mode where supported (CFC does not allow this; SFC has a limited view-only mode by removing the edit entitlement).
- Generate a downscaled test image of the project (copy the multiproject, delete blocks until the PO count is below the ceiling) for read-only review. This is a temporary learning exercise, not a production change.
7. Diagnostic Flow Diagram
The decision tree below is the procedure to follow before touching the registry or contacting Siemens support. Inline SVG is used so it renders in any HTML viewer.
8. Step-by-Step Resolution Procedure
The following procedure is the order that experienced PCS 7 support engineers apply. Each step ends with a verification action; do not proceed if the verification fails.
Step 1 — Capture the symptom
- Open SIMATIC Manager.
- Open the failing in-house project.
- Attempt to open a CFC chart and an SFC chart, recording the exact error message and which editor closes.
- Note the time of the failure.
Step 2 — Verify ALM service state
- Open
services.msc. - Check the Automation License Manager row. Status must be Started; Startup Type must be Automatic.
- If the service is Stopped, right-click and choose Start. Re-run Step 1.
Step 3 — Verify license key in the ALM GUI
- Open Siemens Automation License Manager from the Start menu.
- Switch to My License Keys. Verify that a non-expired entry exists for both SIMATIC PCS 7 CFC and SIMATIC PCS 7 SFC.
- If a component is absent, switch to Missing License Keys and note the exact text — it is the most useful information for the Siemens support team if escalation becomes necessary.
Step 4 — Re-download the trial key with the missing component
- Open the ALM and choose Web License Key Download.
- Log in with the credentials supplied when the trial was issued.
- Select the missing component (for example, SIMATIC PCS 7 CFC) and click Download.
- Confirm in My License Keys that the component now appears with the remaining days of the original 14-day window.
Step 5 — Project size check
- In SIMATIC Manager, open the S7 program.
- From the menu, Options → PCS 7 → License Information. This dialog reports the project's PO count and the license ceiling. Compare the two values.
- If the project exceeds the ceiling, request a permanent or rental license from your licensing contact.
Step 6 — Final verification
- Close and reopen SIMATIC Manager.
- Open the in-house project.
- Open at least one CFC chart and one SFC chart. Neither should report the license error.
- Save the project to confirm write access is also licensed.
9. License Key Storage and Registry Inspection
For advanced diagnostics, the ALM stores its state in the Windows registry. The locations below are read-only diagnostic paths; do not edit them.
| Path | Meaning | What to look for |
|---|---|---|
HKLM\SOFTWARE\Siemens\AutomationLicenseManager\Service |
Service-level state |
Status = running
|
HKLM\SOFTWARE\Siemens\AutomationLicenseManager\Keys |
Local license keys | Subkeys for CFC, SFC, OS, etc. |
HKLM\SOFTWARE\Siemens\AutomationLicenseManager\Trials |
Trial key metadata | Expiration timestamp |
HKCU\SOFTWARE\Siemens\AutomationLicenseManager |
Per-user overrides | User-scoped license server settings |
To enumerate the keys from the command prompt:
reg query "HKLM\SOFTWARE\Siemens\AutomationLicenseManager\Keys" /s
reg query "HKLM\SOFTWARE\Siemens\AutomationLicenseManager\Trials" /s
10. Network Floating Licenses and License Server Configuration
If your site uses a floating license server (license server, not local key), the engineering station must reach the server on TCP port 4410 (License Manager) and TCP 4411 (License Server). Verify with:
telnet lic-server 4410
telnet lic-server 4411
If the connection fails:
- Open the ALM on the engineering station.
- Choose View → Settings → License Server.
- Confirm the server name matches the hostname of the floating server and that the port is the default 4410.
- Restart the ALM service after every change:
sc stop almservice && sc start almservice.
If the engineering station is on a different subnet, ask the network team to confirm the firewall allows inbound and outbound TCP 4410/4411 and that no DPI/IPS is silently dropping the traffic.
11. PCS 7 V7.0 Service Pack Compatibility Notes
The trial license, once activated, is tied to the ALM build that issued it. Mixing service packs on the same engineering station can lead to false negatives. The table below records the tested combinations; it is field-derived, not contractual.
| SIMATIC Manager SP | ALM build | Trial PO ceiling observed | Notes |
|---|---|---|---|
| V7.0 base | 5.0.x | 250 PO | CFC and SFC bundled in one key |
| V7.0 SP1 | 5.1.x | 250 PO | APL library added to the trial bundle |
| V7.0 SP2 | 5.2.x | 250 PO | Component split remains identical to SP1 |
| V7.0 SP3 | 5.3.x | 250 PO | No trial ceiling change observed |
| V7.0 SP4 | 5.4.x | 250 PO | OS runtime entitlement now separate from CFC/SFC |
12. Recovery from License Time-Bomb or Expired Trial
Once the 14-day window expires, the trial key remains visible in ALM but is no longer honored. The only supported path is to:
- Request a permanent license or a rental license from the Siemens licensing portal.
- Activate the new key on the engineering station.
- Restart the ALM service to clear the cached expired entitlement.
If the trial expired because the engineering station was off-network for an extended period, the ALM cannot "pause" the countdown. The only way to preserve days is to avoid activating the trial until the engineer is ready to work continuously. For new-hire onboarding, defer activation to day 1 of the work assignment, not to the date the media was installed.
13. License Migration from a Departed Engineer
| Scenario | Recommended path | Time to recover |
|---|---|---|
| License was a USB dongle, still in the office | Plug into the new engineer's station, ALM auto-detects | 10 minutes |
| License was a softkey on the old laptop | Return laptop to IT, transfer the registry key to the new station using ALM's export/import | 1-2 hours |
| License was a floating entitlement on a server | Have the licensing contact assign the seat to the new engineer | 1 business day |
| License is lost (old laptop wiped, dongle missing) | Re-purchase through the Siemens license portal; this is the last resort | 1-4 weeks |
For softkey transfer between two engineering stations, the procedure is:
- On the old station, open ALM and select the license. Choose Export → License Key File and save to USB.
- On the new station, open ALM, choose Import → License Key File, and select the saved file.
- Restart the ALM service.
This transfer decrements the available activations on the original key. Most PCS 7 keys are issued for 1-2 simultaneous activations; check the key's Number of Activations field in the ALM GUI before exporting.
14. Verification Checklist
Use this list as a punch list before closing the troubleshooting ticket.
- [ ]
almserviceis Started and Automatic. - [ ] My License Keys lists every component the engineer intends to use (CFC, SFC, OS, APL, etc.).
- [ ] Each license shows a non-zero number of remaining days.
- [ ] Missing License Keys tab is empty.
- [ ] The S7 program's PO count is below the active license's PO ceiling.
- [ ] A representative in-house CFC chart opens without the license error.
- [ ] A representative in-house SFC chart opens without the license error.
- [ ] The engineer can save changes to the chart (write entitlement confirmed).
- [ ] A simulated service restart (
sc stop almservice && sc start almservice) does not re-trigger the error. - [ ] A workstation reboot is performed and the same chart still opens.
15. Escalation Notes for Siemens Support
If all of the above is verified and the error persists, the following data is the minimum that Siemens support will request. Collect it before opening the case.
- PCS 7 version and service pack (from SIMATIC Manager → Help → About).
- ALM version (from Help → About in the ALM GUI).
- Screenshot of the My License Keys tab.
- Screenshot of the Missing License Keys tab.
- Windows event log entries under Applications and Services Logs → Siemens if present.
- The PCS 7 License Information dialog (Options → PCS 7 → License Information) showing the project's PO count.
- Output of
reg query "HKLM\SOFTWARE\Siemens\AutomationLicenseManager\Keys" /sas a text file. - The trial key's order number (looks like
6FC...) and the email address used to download the key.
Submit the case through the Siemens Industry Online Support portal. Web Request (SR) is preferred over phone for these cases because the licensing team works from the portal queue, not the phone queue.
16. Frequently Asked Questions
Why does my PCS 7 V7.0 trial license open example charts but refuse in-house CFC charts?
The most common cause is that the in-house S7 program exceeds the trial's process object (PO) ceiling, which is commonly observed at 250 PO. The trial license is granted per machine but enforced per project at editor load time. Verify the project's PO count via Options → PCS 7 → License Information and request a full or rental license if the count exceeds the ceiling.
Does the Automation License Manager need to be running as a Windows service?
Yes. The ALM service (almservice) is the only daemon that mediates between the CFC/SFC editor and the license entitlement. If it is stopped, the editor throws "No valid license key found" on the first request, even when the license key is present. Set the service to Automatic startup and configure recovery actions to restart on failure.
Can a 14-day trial license be activated on more than one engineering station?
No. The trial is bound to the host machine's hardware fingerprint. Activating it on a second machine consumes the only available activation and the second station will report the license as missing. If you need two stations active simultaneously, request a 2-seat rental license instead.
How do I transfer a PCS 7 license from a departing engineer's laptop to a new hire?
On the old station, open the ALM, select the license, and choose Export → License Key File. On the new station, open the ALM and choose Import → License Key File. Restart the ALM service on both machines. The transfer decrements the available activations on the original key, so check the Number of Activations field first.
What is the difference between a trial, rental, and permanent PCS 7 license?
A trial license is time-limited (typically 14 days) and size-limited (commonly 250 PO). A rental license is time-limited only (commonly 30/90/180 days) with no PO ceiling. A permanent license has no time limit and is sold by PO count, with optional upgrade contracts. Rental licenses are the right choice for migration projects and for engineers onboarding before the permanent license is procured.