Problem Overview
Engineers and commissioning technicians frequently encounter installation failures when attempting to install TIA Portal V13.0 (Totally Integrated Automation Portal) after a previous TIA Portal V13.0 SP1 installation has been removed. The typical symptom is an interrupted setup routine that aborts during the prerequisite check or product deployment phase, often with a dialog sourced from the V13.0 SP1 (UPD1) updater still present in the system. The error dialog itself usually displays "An error occurred during installation" with no actionable detail visible to the user; the root cause must be derived from the setup log files generated in the temporary installation directory.
Because the TIA Portal V13 suite bundles STEP 7 V13, WinCC V13, PLCSIM V13, Startdrive V13, and the central TIA Administration tool, a partial uninstall leaves behind shared services (license server, ALM proxy, SQL Server instance, OPC UA discovery, .NET 4.5 assemblies, virtual adapters) that conflict with a clean V13.0 install. This article consolidates the documented recovery procedure, log analysis methodology, and prerequisite verification required to bring a workstation back to a known-good state without performing a full operating system reinstall.
Affected Products and Versions
| Component | Version | Catalog / Order Number | Notes |
|---|---|---|---|
| TIA Portal | V13.0 | 6ES7822-0AA03-0YA5 (STEP 7 V13) | Base release, 2014 |
| TIA Portal | V13.0 SP1 (Update 1) | 6ES7822-0AA03-0YA7 | Cumulative update 1 |
| STEP 7 | V13 / V13 SP1 | 6ES7822-0AA03-0YA5 | Project engineering for S7-1200, S7-1500, S7-300/400 |
| WinCC | V13 / V13 SP1 | 6AV2100-0AA03-0AA5 | Comfort/Advanced Panel, RT Professional |
| PLCSIM | V13 / V13 SP1 | Included in STEP 7 | S7-PLCSIM V13 |
| Startdrive | V13 / V13 SP1 | 6SL3072-4DA02-0XG0 | SINAMICS G120, S110, S120 commissioning |
| SQL Server | 2008 R2 SP2 / 2012 SP1 | Bundled | Required for project repository |
| Siemens Automation License Manager | V5.4 / V5.5 | 6ES7822-1AA01-0YA5 | ALM service, used by TIA Portal |
Root Cause Analysis
When the setup fails, the displayed dialog almost always originates from the UPD1 (Update 1) updater module that remained on disk after the SP1 removal attempt. The most common underlying causes observed in field cases are:
-
Incomplete uninstallation of V13 SP1. The Windows Programs and Features (Appwiz.cpl) entry removes the user-visible TIA Portal product but leaves behind shared runtime services, the TIA Portal SQL instance, the Automation License Manager, registry entries under
HKLM\SOFTWARE\Siemens\Automation, and orphaned files in%ProgramFiles%\Siemens\Automationand%ProgramData%\Siemens\Automation. -
Residual SQL Server instance. TIA Portal V13 creates a named SQL instance (default instance name:
Siemens.Automation.PortalV13orS7TIA). The named instance is not removed by the standard uninstaller and conflicts with the new installation's database creation step. -
Stuck Windows services. The
Siemens ALMservice,Siemens S7DOS,S7TraceSrv, andTiaTraceSrvservices may remain in Starting or Stopped state with a non-zero exit code, blocking new service registration. -
Pending MSI / MSIX transactions. A previous aborted install leaves a Pending File Rename Operations registry key under
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager. A reboot clears this; if the user has suppressed reboot, the next install fails early. - OS prerequisite mismatch. Missing .NET Framework 4.5.2 / 4.6, missing Visual C++ 2010 SP1 / 2013 redistributables, or a non-supported Windows edition (Windows 10 build 10240 was not yet certified at the V13 SP1 release date and produces setup aborts).
-
Installer signature / certificate issues. If the local security policy or SmartScreen blocks the
Setup.exepublisher (Siemens AG, Oberschleissheim), the Windows Installer rollback fires mid-install and the user only sees a generic error.
Prerequisites for a Clean V13.0 Install
Before reinstalling, verify the workstation meets the documented TIA Portal V13 installation requirements:
| Requirement | Specification | Verification Command |
|---|---|---|
| Operating System | Windows 7 SP1 (32/64-bit), Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2012 R2 | winver |
| .NET Framework | 4.5.2 minimum, 4.6.x recommended | reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" /v Release |
| Visual C++ Redistributable | 2010 SP1, 2012, 2013 | Check installed programs |
| RAM | 8 GB minimum (16 GB for S7-1500 with large projects) | systeminfo | findstr Memory |
| Free Disk | 20 GB for TIA Portal + project data | fsutil volume diskfree C: |
| SQL Server | 2008 R2 SP2 / 2012 SP1 (Express or full) | SQL Server Configuration Manager |
| User Account | Local administrator (not Domain User) | net localgroup administrators |
| User Account Control | Set to default or lowest during install | secpol.msc |
| Antivirus | Temporarily disabled (real-time scanning intercepts the MSI extraction) | N/A |
Siemens TIA Portal user group and registers DCOM components; domain-credentialed setups often fail on DCOMCNFG permissions and COM+ application creation.Step-by-Step Recovery Procedure
Phase 1 — Capture the Current Failure
- Launch the V13.0 setup
Start.exefrom the installation media. - When the error dialog appears, click the Open Logfile button (or Open Logfile Directory to open the parent folder).
- The default log location is
C:\Users\<USER>\AppData\Local\Temp\Siemens\Setup\or%TEMP%\Siemens\Setup\. - Collect these files for analysis:
Siemens_TIA_Portal_V13_Setup.logSiemens_TIA_Portal_V13_Setup_<timestamp>.log-
MSI*.log(Windows Installer verbose logs) -
SetupError.log(component-level abort reasons)
Phase 2 — Complete Uninstallation of V13 SP1
Perform the documented Siemens procedure to remove every TIA Portal V13 component. Do not skip registry and folder cleanup.
- Open Control Panel → Programs and Features (or
appwiz.cpl) and uninstall the following entries in order:- Siemens TIA Portal V13 SP1 (all product variants visible)
- STEP 7 V13 SP1
- WinCC V13 SP1
- PLCSIM V13 SP1
- Startdrive V13 SP1
- Siemens Automation License Manager
- Siemens SIMATIC Logon
- Siemens TIA Portal HSP (Hardware Support Packages) — leave installed if needed
- Reboot the workstation.
- Stop and delete residual services:
sc stop "Siemens ALM" sc stop "S7DOS" sc stop "S7TraceSrv" sc stop "TiaTraceSrv" sc delete "Siemens ALM" sc delete "S7DOS" sc delete "S7TraceSrv" sc delete "TiaTraceSrv" - Remove the TIA SQL instance (if present) using SQL Server Configuration Manager or:
Setup.exe /ACTION=Uninstall /FEATURES=SQL /INSTANCENAME="S7TIA" /QUIET - Delete residual folders:
rmdir /s /q "C:\Program Files\Siemens\Automation" rmdir /s /q "C:\Program Files (x86)\Siemens\Automation" rmdir /s /q "C:\ProgramData\Siemens\Automation" rmdir /s /q "C:\Users\<USER>\AppData\Roaming\Siemens\Automation" - Clean registry keys (export first as backup):
reg delete "HKLM\SOFTWARE\Siemens\Automation" /f reg delete "HKLM\SOFTWARE\Wow6432Node\Siemens\Automation" /f reg delete "HKCU\SOFTWARE\Siemens\Automation" /f - Clear the MSI pending-reboot key (only if no other installers are in flight):
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations /f - Reboot once more before re-running setup.
PendingFileRenameOperations key in particular is shared by every Windows Installer transaction in progress; clearing it can corrupt a concurrent install from another vendor.Phase 3 — Reinstall TIA Portal V13.0
- Insert the TIA Portal V13.0 DVD or mount the ISO; do not copy
Start.exeto a network share with limited rights. - Right-click
Start.exeand choose Run as administrator. - In the setup language selection, choose English (or the operationally required language).
- Accept the license agreement; verify the destination paths are empty.
- On the product selection screen, choose only the products required for the project (STEP 7 Professional, WinCC Comfort/Advanced, PLCSIM, Startdrive). Selecting the full suite increases failure surface.
- Set a check mark on Restart computer automatically if required; do not interrupt the post-install reboot.
- After setup completes, install the matching HSP (Hardware Support Packages) from the Siemens online support portal via TIA Portal → Options → Support Packages.
- Install the Automation License Manager and restore the license keys.
Phase 4 — Verification
- Launch TIA Portal; the start screen should display Version: V13.0 in the title bar.
- Open Help → About and confirm: TIA Portal V13.0, Build identifier consistent with the media label.
- Create a new project, add an S7-1200 / S7-1500 device, compile, and download to PLCSIM V13 to verify the engineering chain end-to-end.
- Verify SQL instance:
sqlcmd -Lshould listS7TIA. - Verify services running:
Both should reportsc query "Siemens ALM" sc query "S7TraceSrv"STATE: 4 RUNNING. - Open Automation License Manager and confirm the license stick is visible.
Setup Log Analysis Cheat Sheet
The TIA Portal setup writes verbose diagnostics. Common fault strings and their meanings:
| Log String | Component | Root Cause | Remediation |
|---|---|---|---|
Error 1402. Could not open key: HKLM\SOFTWARE\Siemens\Automation |
Registry ACL | Permission denied on registry key | Take ownership, grant Admins Full Control, re-run as admin |
Error 1925. You do not have sufficient privileges |
User context | Not running elevated | Use Run as administrator |
SQL Server instance 'S7TIA' already exists |
SQL setup | Residual named instance | Uninstall named instance via SQL setup |
Setup detected a pending reboot |
MSI session | PendingFileRenameOperations set | Reboot workstation |
Prerequisite check failed: .NET 4.5 |
Framework | Missing or damaged .NET | Run netfx_setupverifier.exe / repair |
Signature of file 'Start.exe' could not be verified |
Authenticode | Damaged media or SmartScreen block | Re-burn DVD, verify SHA-256 with media manifest |
DCOM registration failed for 'S7TraceSrv' |
COM+ | Stuck DCOM config | Reset dcomcnfg, delete HKCR entries |
HRESULT 0x80070005 returned by MSI |
MSI runtime | Access denied to MSI cache | Clear %windir%\Installer orphans, disable AV |
Troubleshooting Matrix
| Symptom | Likely Cause | First Action | Second Action |
|---|---|---|---|
| Setup dialog shows UPD1 errors | SP1 not fully removed | Re-run full uninstall procedure | Check %ProgramData%\Siemens for residual files |
| Setup aborts at 10% with no log | Antivirus or SmartScreen | Disable AV, retry | Check Windows Event Log → Application |
| Setup aborts at "Installing SQL Server" | Residual SQL instance | Uninstall S7TIA instance | Run SQL Server Installation Center → Maintenance
|
| Setup completes, TIA Portal will not start | Missing .NET / VC++ | Install .NET 4.5.2 + VC++ 2013 | Check Event Viewer → .NET Runtime errors |
| License error on first start | ALM service not running | Start Siemens ALM service |
Reinstall ALM, reattach USB license stick |
| Only English UI available | Language pack not installed | Run setup in modify mode, add language | Reinstall with full multilingual set |
Compatibility with Later Releases
TIA Portal V13.0 is a generation-1 release that is superseded by V14, V15, V15.1, V16, V17, and V18. If the workstation has 16 GB of RAM and a current Windows build, upgrade to V15.1 or V16 to receive long-term support and to avoid the well-known V13 SP1 certificate chain issue (expired root CA). When upgrading, the official Siemens project migrator must be run; V13 projects require no conversion, but V13 SP1–only features (e.g., the S7-1500 CPU firmware V2.0 password protection) need a project save-as upgrade.
The Siemens compatibility tool lists every supported Windows build, SQL Server build, .NET version, and CPU firmware for each TIA Portal release. Use this tool before any major change to validate that the project engineering chain remains supported.
Safety and Operational Considerations
During the uninstall / install cycle, the workstation cannot be used to commission or service live automation systems. Schedule this work during a planned downtime window. Back up active projects from C:\Users\<USER>\Documents\Automation to a network share or removable media before Phase 1. Verify the integrity of archived projects by opening them in a read-only TIA Portal instance or by using the Project → Archive → Retrieve function.
Field-Proven Caveats
- Some pre-V13 SP1 media images shipped with an unsigned
Setup.exe. Siemens replaced these with a re-signed binary in 2015; verify the digital signature by right-clicking → Properties → Digital Signatures → Signer: Siemens AG. - Installing TIA Portal V13 on Windows 10 build 10240 / 10586 works in most cases but is not officially certified; later builds of Windows 10 (1607+) require TIA Portal V14 or later.
- Hyper-V and VMware virtual machines are supported for engineering use; for production HMI Runtime (WinCC RT Professional) the host must have a fixed CPU affinity and the VM must have a dedicated core set, otherwise the runtime will fault on startup.
- The TIA Portal Setup creates the local group
Siemens TIA Portal Users. Adding an operator to this group is required for the operator to run the WinCC Runtime client. Do not grant local administrator rights to operators as a shortcut. - If the workstation has Microsoft Office 365 Click-to-Run installations of Access 2016, the TIA Portal setup may mis-detect the Access runtime version and abort. Uninstall the Access runtime component or use a separate workstation for engineering.
FAQ
Why does the TIA Portal V13 setup show a UPD1 error dialog when I am trying to install V13.0?
The error dialog originates from the V13 SP1 (Update 1) updater module that remains on disk. The Windows Programs and Features uninstall does not remove the shared TIA Portal services, registry keys, and SQL instance, so the V13.0 setup detects the SP1 footprint and aborts. Perform a complete uninstall of every TIA Portal V13 component, including Automation License Manager, before reinstalling V13.0.
Where are the TIA Portal V13 setup log files located?
Setup logs are written to %TEMP%\Siemens\Setup\ (typically C:\Users\<USER>\AppData\Local\Temp\Siemens\Setup\). The error dialog has two buttons: Open Logfile and Open Logfile Directory. Look for files matching Siemens_TIA_Portal_V13_Setup*.log and any nested MSI*.log files generated by Windows Installer.
Which Windows versions are supported by TIA Portal V13?
TIA Portal V13 officially supports Windows 7 SP1 (32/64-bit), Windows 8.1, Windows Server 2008 R2 SP1, and Windows Server 2012 R2. The .NET Framework 4.5.2 or higher is required, and SQL Server 2008 R2 SP2 or 2012 SP1 is installed as part of the setup. Windows 10 builds older than 1607 may work but are not certified.
Do I need to reinstall the operating system if TIA Portal V13 setup fails repeatedly?
No. A clean reinstall of the OS is not required in the vast majority of cases. A complete uninstall of the previous TIA Portal V13 SP1, removal of residual SQL instances, deletion of the HKLM\SOFTWARE\Siemens\Automation registry tree, and a reboot are typically sufficient to recover the workstation. Only re-image if the setup log shows corruption of the Windows Installer cache (msi.dll hash mismatch).
Can I install TIA Portal V13 and V15.1 side by side on the same workstation?
Yes. Siemens supports side-by-side installation of two consecutive major TIA Portal releases. The Automation License Manager is shared and compatible across versions. Note that V15.1 and later require Windows 10 / Server 2016 or higher, so V13 must be installed first on a Windows 7/8.1/Server 2008 R2/2012 R2 image, then a separate drive or VM image is used for V15.1+ on a current Windows build.