Resolving WinCC 7.3 License Error After System Cloning

David Krause12 min read
SiemensTroubleshootingWinCC
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

1. Problem Description

A WinCC V7.3 SP3 (or earlier SP) Engineering Workstation (EWS) returns a license error dialog at runtime start, or refuses to enter productive runtime with a message such as "Server license missing" or "Insufficient license for the configured server type." This pattern is most frequently observed on a workstation that was built as a clone of an existing EWS (ghost image, disk clone, or manual project copy) where the project was originally configured as a redundant WinCC server pair and was later split into two independent single-user or multi-user projects on the same physical subnet.

Typical reference environment (matches the reported incident):

  • OS: Windows 7 SP1 English, 64-bit, UAC disabled for engineering accounts
  • SIMATIC WinCC V7.3 (RT and/or RC) including Update / Service Pack currently installed
  • SICAM PAS 8.06 (Power Automation Suite)
  • SICAM SCC 8.04 (Substation Configuration Commissioning)
  • Two EWS nodes (EWS#1 = PMS01, EWS#2 = PMS02) on the same network segment
  • WinCC Explorer launches, Graphics Runtime does not start or reports license failure

The error appears after the first WinCC Explorer launch on the cloned node and persists across reboots, even though the original (template) workstation starts cleanly with the same project.

2. WinCC 7.3 Licensing Architecture (Technical Reference)

WinCC V7.3 uses the Siemens Automation License Manager (ALM) version 6.0.x. License containers can be either:

  • Local license — bound to the PC's hard-lock (CBOX) or a USB dongle
  • Network license (floating) — served from another ALM server on the network
  • Counted licenses — consumed per active process / per project

For each WinCC project the following license categories are checked at runtime start:

License Type Internal ALM ID Required When
WinCC RC (Runtime Configuration) WinCC RC Graphics Designer / project editing active
WinCC RT (Runtime) WinCC RT Project enters productive runtime
WinCC RT Client / Server / Redundancy WinCC RT Client / Server / Redundancy Multi-user project; redundant server pair
WinCC Archive Powerpack 1024 / 2048 / 4096 / 8192 / 16384 WinCC Archive Configured Tag Logging archive tags exceed base 512
WinCC Server (multi-user) WinCC Server Project type = multi-user project on the server
WinCC Redundancy WinCC Redundancy Both servers of a redundant pair online
WinCC Web Navigator / WebUX Web Navigator Web clients connected
WinCC User Archive User Archive User Archive tables in use
WinCC IndustrialDataBridge / OPC UA IDB / OPC UA IDB or OPC UA Server active

When a license check fails, WinCC writes entries to the WinCC_Sys_.log and WinCC_Server_.log files in the project's \Diagnostics\ folder and may show one of the following message boxes:

  • "The license check has returned the following error code: <hex>"
  • "No valid license found. WinCC Runtime will be terminated."
  • "The required license 'WinCC Server' was not found."
  • "The required license 'WinCC Archive' was not found."

WinCC 7.3 returns internal license error codes in the form 0x8004xxxx or 0x8007xxxx. The most common mappings observed in the field:

Error Code Meaning Resolution Path
0x80040154 ALM service not registered / COM class not registered Reinstall ALM 6.0.x, restart "ALM License Service"
0x80070005 Access denied to license storage Grant user Modify rights on %ProgramData%\Siemens\Automation
0x8007000E Out of memory during license handshake Kill leftover CCLicSrv.exe processes, retry
0xC004D302 / 0xC004D303 License server not reachable Check ALM subnet, firewall, "slmdemo" / "CCLicSrv" ports (tcp/4410)
0xC004D107 Requested license not present Install the missing license (Server / Archive / Redundancy)
0xC004F009 License already used on another PC Disable borrow or return floating license

3. Root Cause Analysis: Why a Cloned EWS Loses Its License

Three distinct mechanisms are routinely responsible for the post-clone license fault. They are not mutually exclusive — a single workstation can fail on all three at once.

3.1 Project type mismatch (most common)

The source project on the template EWS was created as a multi-user or client/server project to support the original redundant pair. After cloning, the new EWS is operated as a single-user project, but the project file <project>.MCF (or .ldf) still references a server sub-component. The ALM is asked for a WinCC Server license, none is installed, and the runtime refuses to start. The diagnostic pattern is "project opens in WinCC Explorer, but Runtime stops with a license error within 3–10 s of activation."

3.2 Archive tag Powerpack threshold

WinCC V7.3 base archive license covers 512 archive tags. Any project whose Tag Logging configuration includes more than 512 tags (counting both fast and slow archives) requires an Archive Powerpack license. Cloned projects almost always exceed 512 because the original was configured for a redundant pair, which typically doubles the logging point count for failover parity. The error string is "WinCC Archive" or "Tag Logging License".

3.3 Redundancy compatibility keys / hardlock

When the original pair was a WinCC redundant server, both nodes had redundancy compatibility keys written to the hardlock or the ALM license store. The clone does not carry over the hardlock (a USB CBOX cannot be cloned) and only carries a partial license image. The result is that the new node has WinCC RT but is missing WinCC Redundancy, and the project may refuse to start if redundancy is still enabled in the project file.

4. Diagnostic Procedure (Capture the License State)

  1. Open Automation License Manager on the affected EWS. Document every WinCC-related license row, its license number (CoL), the bound PC/host name, and the expiration date.
  2. Launch WinCC Explorer on the affected project. The license error must be reproduced. Note the exact error text and the hex code from the dialog or from the WinCC_Server_*.log.
  3. Export the project log directory. In WinCC Explorer select the project, right-click → Export project logs…, or copy the contents of <project_path>\Diagnostics to a support bundle.
  4. Determine the project type: in WinCC Explorer, Project → Properties → Project Type. Note whether it is set to Single-User Project, Multi-User Project, or Client Project.
  5. Count the archive tags: Tag Logging → Archives → [your archive] → Properties → Tags. The sum of all configured tags across all archives (including the system archive @SystemArchive if enabled) is the licensing-relevant number.
  6. Determine the redundancy state: in the project tree, Server → Redundancy. If the option "Server is part of a redundant pair" is checked, the project expects a WinCC Redundancy license.
  7. Open the Windows event log, Application channel, filter by source ALM and CCLicSrv. Save to .evtx for support.
  8. Create a Siemens Diagnostic Tool (SDT) / Service Desktop Tool (SDT) data set using the SDT Collector (see Siemens Industry Online Support — Service Request). Attach the data set to the support ticket.

5. Solution 1 — Toggle Project Type (Recreates License Handshake)

This procedure is the standard field fix when the underlying cause is a stale multi-user license registration on a single-user workstation.

  1. Close WinCC Explorer and any related processes (CCEsProc.exe, CCProjectMgr.exe, CCLicSrv.exe) via Task Manager.
  2. Stop the service CCLicSrv: sc stop CCLicSrv from an elevated command prompt.
  3. Start WinCC Explorer and open the project.
  4. Open Project → Properties. Switch Project Type from Single-User to Multi-User (you will be prompted to confirm; this does not consume a license yet because runtime is not started).
  5. Close WinCC Explorer completely.
  6. Reopen the project. Switch Project Type back from Multi-User to Single-User.
  7. Close WinCC Explorer again.
  8. Start CCLicSrv: sc start CCLicSrv
  9. Reopen the project, then activate Runtime.

The toggle re-registers the project with ALM as a single-user project, dropping the dangling request for a server license. If the project is genuinely intended to run as a multi-user server, the same toggle will not fix it — proceed to Solution 2.

6. Solution 2 — Archive Tag Audit and Powerpack Installation

Compute the required archive tag count first.

For Tag Logging fast + slow archives combined:

N_archive = N_fast + N_slow + N_system

where N_fast is the number of tags in the fast archive, N_slow the number in the slow archive, and N_system the number of system-chosen tags (typically 0 unless @SystemArchive is enabled, in which case it equals the number of system tags you have added).

Match the count to the appropriate license:

Archive Tag Count License Required
≤ 512 Base WinCC RT (no extra)
513 – 1024 Archive Powerpack 1024
1025 – 2048 Archive Powerpack 2048
2049 – 4096 Archive Powerpack 4096
4097 – 8192 Archive Powerpack 8192
8193 – 16384 Archive Powerpack 16384
16385 – 32768 Archive Powerpack 32768

Steps to install the Powerpack:

  1. Open Automation License Manager.
  2. Insert the USB CBOX dongle that contains the Powerpack CoL, or import the .zip license file via License → Install.
  3. Restart the service ALM and CCLicSrv in that order.
  4. Verify in ALM that the new "WinCC Archive" license row appears and shows the upgraded tag count.
  5. Restart WinCC Runtime.

To stay inside the 512-tag budget, prune the archive configuration: remove unused tags, disable @SystemArchive if not required by the SICAM PAS 8.06 / SCC 8.04 interface, and consolidate duplicate event-controlled tags.

7. Solution 3 — Redundancy Compatibility Keys

If the source project is being kept as a redundant pair, the new EWS must be re-keyed:

  1. Disable redundancy on the new EWS first: Server → Redundancy, uncheck Server is part of a redundant pair. Save and close the project.
  2. Confirm that the new EWS can start Runtime as a single-user project. If it can, the license set is sufficient for a non-redundant configuration.
  3. To re-establish redundancy, a WinCC Redundancy license must be transferred to the new node's CBOX (or to its local license store for software-bound licenses). This requires either a new license order referencing the new host ID, or a re-hosting of the existing license through Siemens License Key Re-hosting.
  4. Re-enable redundancy in the project, set the partner server name, and synchronize the configuration via the redundancy wizard.

8. Solution 4 — First-Run Patch File (WinCC 7.3 SP3 / Update 4 and earlier)

WinCC 7.3 releases prior to Update 4 / SP4 require a separate WinCC 7.3 Patch to be applied after the first installation. The patch updates the COM class registrations used by ALM and WinCC. If this patch is missing on a cloned image, the runtime fails to validate the license handshake.

  1. Open the WinCC 7.3 installation DVD or mount the corresponding ISO.
  2. Navigate to the folder \WinCC\Patch\ and execute WinCC_V7_3_Patch.exe as Administrator.
  3. Wait for the patch wizard to complete. It will register several OCX/DLL files in C:\Windows\SysWOW64 and Program Files (x86)\Siemens\Automation.
  4. Reboot. Verify the patch level via Help → About in WinCC Explorer.

On systems running WinCC 7.3 SP1 or later, the patch is already integrated. Confirm by checking the build number in Help → About → Installed SIMATIC Software.

9. License File Locations and ALM Service Reset

Item Path / Service Name
ALM service ALM License Service (display name: ALM License Service), service binary almsrv64.exe
WinCC license service CCLicSrv, service binary CCLicSrv.exe
Local license store %ProgramData%\Siemens\Automation\
User license cache %LocalAppData%\Siemens\Automation\
WinCC project license key <project_path>\<project>.MCF (binary) and <project>.LDF
Dongle driver (CBOX) CodeMeter runtime, service CodeMeter.exe
WinCC diagnostics <project_path>\Diagnostics\WinCC_Sys_*.log, WinCC_Server_*.log
ALM log %ProgramData%\Siemens\Automation\Logs\

To reset ALM cleanly (last-resort step before contacting Siemens support):

  1. net stop "ALM License Service"
  2. net stop "CCLicSrv"
  3. net stop "CodeMeter"
  4. Rename %ProgramData%\Siemens\Automation\SinLib to SinLib.old (do not delete).
  5. net start "CodeMeter"
  6. net start "ALM License Service"
  7. net start "CCLicSrv"
  8. Re-import licenses via ALM.

10. Verification Checklist

  1. ALM shows the correct license rows for the new EWS host ID. No yellow warning triangles.
  2. CCLicSrv service is Running and its startup type is Automatic.
  3. WinCC Explorer opens the project without a license error dialog.
  4. Activating Runtime starts Graphics Runtime within 10 seconds, no error in WinCC_Server_*.log.
  5. Tag Logging runtime shows Archive tags: xxx / 512 (or Powerpack value) matching the license.
  6. Process CCEsProc.exe is running; no error event with source ALM in the last 5 minutes.
  7. If redundancy is enabled, the partner server is reachable, redundancy sync status reports OK on both nodes.
  8. External SICAM PAS 8.06 → SCC 8.04 → WinCC 7.3 coupling reports Connected with no timeout entries.

11. When to Open a Siemens Service Request

If the diagnostics above do not identify a clear cause — for example, the project was originally created on a now-decommissioned host ID and the original CoLs cannot be re-homed — escalate via the Siemens Industry Online Support Service Request page. Include:

  • SDT (Service Desktop Tool) data set
  • Project export (without binary logs to keep size down)
  • ALM screenshot
  • The full text of the license error dialog
  • The hex code from WinCC_Server_*.log

Reference the related entries in the Siemens Knowledge Base:

12. Safety and Operational Notes

Operational Risk: Cloning a running WinCC server is not supported by Siemens as a means of building a redundant pair. Always rebuild the second server from a clean OS image, install the same WinCC version including the same SP/Update, and only then copy the project. Re-homing a CBOX-bound license is the only supported way to keep the redundant pair legal.
Cyber Security: Disable the Server runtime role of a cloned node before reconnecting it to the same subnet as the original. Two servers fighting for the same PLC channel can cause intermittent write operations on actuators.
Backup: Capture the full \Diagnostics\ tree and the ALM export before any license reset. A botched reset on a dongle-bound license may require a re-issue by Siemens, which can take several business days.

FAQ

Why does WinCC 7.3 on my cloned EWS report "server license missing" when I configured it as a single-user project?

The WinCC project file (MCF) still contains a server sub-component from its original multi-user or redundant configuration. Toggle the project type from Single-User → Multi-User → Single-User (close WinCC Explorer between each step) to clear the stale server license request. Restart the CCLicSrv service afterward.

How many archive tags are licensed by the standard WinCC 7.3 install?

The base WinCC RT license covers 512 archive tags. For 513–1024 tags you need the Archive Powerpack 1024, for 1025–2048 the Powerpack 2048, and so on. License counts above 16384 require the Powerpack 16384 plus the base RT license.

Can I copy a hardlock (CBOX) license from one EWS to another?

No. The CBOX is a physical USB dongle bound to a host ID. To move a license to a new EWS, request a re-hosting through Siemens License Key Re-hosting with the new EWS host ID. License re-hosting typically takes 2–5 business days.

Does WinCC 7.3 require an additional patch after the first installation?

Releases prior to Update 4 / SP4 require the WinCC 7.3 Patch (see WinCC V7.3 Readme). The patch re-registers COM classes used by ALM. WinCC 7.3 SP1 and later have the patch integrated. Verify the build number under Help → About.

Where do I find the hex license error code on the affected EWS?

The hex code is shown in the license error dialog itself, in the WinCC_Server_*.log and WinCC_Sys_*.log files inside <project_path>\Diagnostics, and in the Windows Application event log entries whose source is ALM or CCLicSrv. Common codes are 0xC004D107 (license not present) and 0xC004D302 (license server unreachable).

Back to blog