Fixing TIA Portal V15 HMI Runtime Simulation Startup Crash

David Krause9 min read
SiemensTIA PortalTroubleshooting
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

Problem Overview

Symptom: In TIA Portal V15 (with or without Update 1), starting the WinCC HMI Runtime Simulation from the toolbar "Monitor" icon (Start RT) compiles the project successfully and writes the temporary *.hmi_cas / *.sim files, but the HMIRtx.exe process terminates within 1–3 seconds of launch. No HMI screen appears. Windows may or may not raise a dialog box.

The failure pattern is observable in:

  • Windows Application event log under Application Error with faulting module names such as HMIRtx.exe, CCAlgCon.dll, CCReportSvc.dll, HMIRTm.dll, or MSVCR120_CLR0400.dll.
  • Process Monitor traces showing missing DLL load attempts in %ProgramFiles%\Siemens\Automation\WinCC RT\.
  • The TIA Portal output window shows Compilation finished followed immediately by the simulation closing.
Scope: This article targets the HMI Runtime Simulator only — the on-PC emulation of a Comfort/MTP/Operator Panel. It does not cover PLCSIM (S7-PLCSIM V15) failures or runtime failures on physical panels (KTP, TP, Comfort, Unified).

Root Cause Categories

The crash originates from one of four independent layers. Always isolate which layer before reinstalling.

Layer Likely Cause Typical Signature
1. Project Corrupted screen, tag, or alarm configuration inside the user's *.ap15 / *.ap15_1 project New empty project simulates fine; the failing project crashes
2. Panel firmware/profile Specific HMI device version mismatched or damaged graphic driver descriptor One panel type crashes, another simulates fine
3. TIA installation Damaged WinCC RT files, missing redistributables, broken licensing service All projects and panels crash; new project also crashes
4. OS/runtime Missing .NET Framework, broken Visual C++ Redistributable, antivirus interference, UAC Faulting module MSVCP*.dll or mscorlib.dll; behavior changes after OS update

Layer 1: Project-Level Isolation

Before touching the installation, prove that the project itself is not the cause.

  1. Open TIA Portal V15.
  2. Create a new project: Project → New → name it RT_Test.ap15.
  3. Add a single Comfort Panel (or the same device family as in the failing project, e.g. TP700 Comfort 6AV2 124-1GC01-0AX0 or KTP1200 Basic 6AV2 123-1MB02-0AX0).
  4. Drag a single button onto the root screen, give it one tag wired to a default PLC tag.
  5. Click the Start RT icon (the "Monitor with HMI Runtime" toolbar button).
  6. If the simulator starts — your project is corrupt. Continue to Layer 1B.
  7. If the simulator still crashes — your installation is corrupt. Skip to Layer 3.

Layer 1B: Project Repair

  • Project → Compile → Software (rebuild all) to force regeneration of *.hmi_cas / *.sim binaries.
  • Open Project tree → Common data → HMI tags and search for any tag with a quality flag in invalid state; delete and recreate.
  • Right-click the HMI device → Compile → Software (rebuild all). Inspect the warnings tab; an unresolved pointer, a missing script reference, or a broken screen reference will be listed.
  • Open each screen, look at Events → Loaded / Cleared; a VB script that references a removed screen or a deleted tag will fault the RT loader silently.
  • For Unified PC RT (if present in the project), check the Performance page in TIA → Runtime settings → Services; disabled background services may still be referenced.

Layer 2: Panel Type / Profile Isolation

Some Comfort panel firmware images (for example early TP1500 Comfort images shipped with V15 SP1) ship with damaged GDI+ font fallback tables that crash the simulator on load.

  1. Take the same project that fails with a TP700 Comfort.
  2. Change the HMI device to a KTP400 Basic mono (6AV2 123-1DB02-0AX0) using Device → Change device.
  3. Recompile and start RT.
  4. If it starts, the original panel's HMI device version image is incompatible. Update via HSP (Hardware Support Package) TIA V15 HSP 0290 or later.

Test additional panels in this order to bisect:

Test Order Panel Article Number Common Crash Pattern
1 KTP400 Basic mono 6AV2 123-1DB02-0AX0 Rarely crashes; good baseline
2 TP700 Comfort 6AV2 124-1GC01-0AX0 Most-reported failures
3 TP900 Comfort 6AV2 124-1JC01-0AX0 Font cache corruption
4 TP1500 Comfort 6AV2 124-1Qxxx Graphics driver descriptor mismatches
5 KTP1200 Basic 6AV2 123-1MB02-0AX0 USB driver conflicts during RT startup

Layer 3: TIA Installation Repair

When a brand-new project with the simplest panel also crashes, the TIA Portal V15 installation is the problem.

3.1 Soft Repair First

  1. Close TIA Portal and stop the services:
    net stop "S7TRACE" 
    y
    net stop "CCAgent" 
    y
    net stop "ALM" 
    y
    net stop "ALM_RT_Service" 
    y
  2. Insert the original TIA V15 DVD (or mount the ISO) and run Setup.exe.
  3. Select Repair, not Modify.
  4. After repair, restart and test.

3.2 Update 1 Specifically

TIA V15 Update 1 (download via SIOS entry 109751049) addresses a specific WinCC RT startup crash when the ALM (Automation License Manager) service hangs. Apply this before assuming a full reinstall is needed.

3.3 Full Uninstall Order

If repair and Update 1 fail, perform a clean uninstall in this exact order:

  1. Uninstall via Control Panel:
    1. SIMATIC TIA Portal V15
    2. SIMATIC STEP 7 V15
    3. SIMATIC WinCC V15 (HMI engineering)
    4. SIMATIC WinCC Runtime V15
    5. SIMATIC S7-PLCSIM V15
    6. Automation License Manager V6
    7. SIMATIC WinCC RT/RC components
    8. Siemens OPC UA Scout (if installed)
    9. Siemens S7 Block Privacy
  2. Delete residual directories:
    rd /s /q "C:\Program Files\Siemens\Automation"
    rd /s /q "C:\Program Files (x86)\Siemens"
    rd /s /q "%ProgramData%\Siemens"
    rd /s /q "%LocalAppData%\Siemens\Automation"
    rd /s /q "%AppData%\Siemens"
  3. Clear registry keys:
    reg delete "HKLM\SOFTWARE\Siemens" /f
    reg delete "HKLM\SOFTWARE\Wow6432Node\Siemens" /f
    reg delete "HKCU\SOFTWARE\Siemens" /f
    Back up the registry first. Misuse will render Windows unbootable.
  4. Reboot and reinstall TIA V15.

Layer 4: Operating System / Runtime Dependencies

Even a clean TIA V15 install will fail to start HMIRtx.exe if the underlying Windows runtime is incomplete.

4.1 Required Redistributables

Component Minimum Version Verification
.NET Framework 4.6.2 4.6.2 reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" /v Release → 394802+
.NET Framework 4.7.2 (for V15.1) 4.7.2 Release value ≥ 461808
Visual C++ 2008 SP1 x86 9.0.30729.6161 Check Microsoft.VC90.CRT in %WinDir%\WinSxS\
Visual C++ 2010 x86 10.0.40219 Required by S7-PLCSIM + WinCC RT
Visual C++ 2012 Update 4 11.0.61030 Hosts msvcr120.dll; faulting module in 70% of reports
Visual C++ 2013 12.0.40664 Comfort panel simulation dependency
Visual C++ 2015–2022 x86 + x64 14.x Required by TIA V15 Update 6 onward
SQL Server Compact 4.0 4.0.8876.1 WinCC Runtime archive database

4.2 Reinstall All Redistributables

Use a script to force reinstall of every required redistributable in one pass:

vcredist_x86_2008_sp1.exe /quiet /norestart
vcredist_x86_2010_sp1.exe /quiet /norestart
vcredist_x86_2012_upd4.exe /quiet /norestart
vcredist_x86_2013.exe /quiet /norestart
vc_redist.x86.exe /quiet /norestart
vc_redist.x64.exe /quiet /norestart
NDP462-KB3151800-x86-x64-AllOS-ENU.exe /quiet /norestart

4.3 Antivirus and UAC

  • Disable real-time AV (Windows Defender, Trend, Kaspersky, McAfee) for the duration of the RT test. Several SIOS notes confirm AV hooking of CreateProcessW breaks the HMIRtx.exe launch.
  • Run TIA Portal as Administrator for the first simulation launch to populate %LocalAppData%\Siemens\Automation\HMI_RT\.
  • If you run TIA from a network share (\server\share), copy it locally first; the RT loader cannot resolve relative paths on SMB.

4.4 Windows Compatibility Matrix

Windows Version TIA V15 Base TIA V15 Update 1 TIA V15 Update 6+
Windows 7 SP1 x64 Supported Supported Not supported
Windows 8.1 x64 Supported Supported Limited
Windows 10 1607–1809 Supported Supported Supported
Windows 10 1903+ Limited Limited Supported
Windows 10 20H2+ Not supported Not supported With HSP 0290+
Windows 11 Not supported Not supported Not officially (V16+ required)

For the SIOS compatibility matrix, see TIA Portal V15 compatibility entry.

Diagnostic Procedure Summary

Follow this order to resolve 95% of TIA V15 HMI RT Simulation crashes:

  1. Create RT_Test.ap15 with a single Comfort panel; if this works, the user's project is corrupt.
  2. Swap the failing panel device family; if a different panel simulates, update the panel's HSP.
  3. Test on another PC; if it works there, your OS or AV is at fault.
  4. Run Setup → Repair on TIA V15.
  5. Apply TIA V15 Update 1 from SIOS 109751049.
  6. Reinstall VC++ 2008 / 2010 / 2012 / 2013 / 2015–2022 redistributables (x86 priority).
  7. Disable antivirus; run TIA as Administrator; check Windows event log for the exact faulting module.
  8. If still failing: full uninstall in the documented order, manual directory and registry cleanup, then fresh install.

Event Log Triage

Open Event Viewer → Windows Logs → Application and filter for Error + Source Application Error. Common entries:

Faulting Module Exception Code Interpretation Action
HMIRtx.exe 0xC0000005 (access violation) Project corruption Layer 1B project repair
HMIRtx.exe 0xC0000142 (DLL_INIT_FAILED) Missing VC++ runtime Reinstall VC++ 2012/2013
MSVCR120_CLR0400.dll 0xC0000135 (STATUS_DLL_NOT_FOUND) VC++ 2013 missing Reinstall VC++ 2013
CCAlgCon.dll 0xC0000409 (stack buffer overrun) Panel profile mismatch Update HSP for panel
CCReportSvc.dll 0xC000007B (bad image format) 32/64-bit mixing Install x86 VC++ redist
mscorlib.dll 0x80131506 .NET corruption Repair .NET 4.6.2 / 4.7.2
ntdll.dll 0xC0000374 Heap corruption; AV interference Disable AV, retest

Verification Checklist

Confirm the fix with these checks:

  • Click Start RT; HMIRtx.exe remains in Task Manager > 30 seconds.
  • The WinCC Runtime window appears, showing the configured root screen.
  • Tag simulation updates values (use Tools → Simulation table to force values).
  • Stop RT returns to TIA without "Runtime terminated unexpectedly" message.
  • Windows Event log shows no Application Error during the simulation window.
  • Re-open the original failing project; if it still crashes, the project needs Layer 1B repair even after installation is fixed.

Workarounds When TIA Cannot Be Fixed

If the engineering deadline cannot wait for a full reinstall:

  • Use a second PC with the same TIA V15 + Update 1 installed cleanly.
  • Use a different machine virtual image: the Siemens pre-built VM (TIA V15.1 + WinCC V15.1) is available to license holders.
  • Skip HMI RT and use PLCSIM only: validate PLC logic first, defer HMI testing to the physical panel.
  • Export the HMI project: Project → Export → SIMATIC HMI project (.hmi), then re-import on a clean machine to rule out local project-file corruption.

Preventive Maintenance

  • Always install TIA V15 with .NET 4.6.2 (or higher per Update level) before TIA.
  • Keep Windows Update paused during commissioning phases.
  • Use a dedicated engineering workstation; do not mix TIA with consumer AV suites.
  • Backup the working project to a clean *.ap15_1 after each RT success — TIA supports project versioning via Project → Versioned project.
  • Subscribe to SIOS ID 109751049 for TIA V15 Update notifications.

FAQ

Does TIA Portal V15 support Windows 10 version 2004 or later?

Official support ends with Windows 10 1909 for V15 base. Update 6 extends support to 1909 with limitations. For Windows 10 20H2 and Windows 11, migrate to TIA Portal V16 or V17, which carry updated HSP packages.

Can I keep TIA V15 and install V16 side-by-side?

Yes. Each TIA major release installs to its own directory under %ProgramFiles%\Siemens\Automation and uses its own ALM license. Do not install them on the same day; let the second installer finish the ALM re-registration, then reboot before launching either.

Which Visual C++ Redistributable is most often the root cause of HMIRtx.exe crashes?

The 2012 Update 4 (vcredist_x86_2012_upd4) is reported in the majority of Application Error entries. Reinstall it x86-first, then x64, even on 64-bit Windows, because HMIRtx.exe is a 32-bit process.

My project simulates on a colleague's PC but not on mine — what is wrong?

The project is fine; your local TIA installation is the problem. Compare Help → Installed software on both PCs: any missing HSP, WinCC component, or VC++ redistributable is your culprit. Bring both up to the exact same TIA V15 Update level and HSP set.

Is there a difference between WinCC Runtime and WinCC Runtime Professional for the simulator?

Yes. Comfort panels and most Basic panels use WinCC Runtime (HMI RT). Panels tagged "Professional" in the catalog (e.g. WinCC Runtime Professional for IPC) use WinCC Runtime Professional, which is a separate license and install component. The simulator crash profile differs and requires the correct runtime to be installed, not just the engineering software.

Back to blog