Resolving TIA Portal HSP Installation Failures with TIA Updater
Hardware Support Packages (HSP) extend the TIA Portal device catalog with new CPU, I/O, drive, and third-party module firmware revisions. When the TIA Software Updater fails to install HSPs, TIA Portal crashes, or TIA Administrator refuses to bind to https://localhost:8888/ with ERR_CONNECTION_REFUSED, the failure is almost always in the local HSP cache, the TIA Administrator service, or Windows file and registry permissions. This reference documents the validated resolution paths for TIA Portal V17 Update 4 on Windows 10/11, including the cache-clear procedure, the TIA Administrator service reset, the silent-install diagnostic, and the TIA Administrator standalone fallback.
1. Problem Overview
Engineers report a cluster of related symptoms when attempting to install one or more Hardware Support Packages through the TIA Software Updater integrated into TIA Portal:
- Updater downloads the HSP bundles and then halts with a red error icon next to the affected package.
- The HSP install status returns a non-zero abort code in the TIA Updater command-line window.
- Launching TIA Portal after a partial install produces a crash, hangs at the splash screen, or rolls back the catalog.
- Re-attempting the install from a previously downloaded HSP archive fails identically.
- Manual double-click of the HSP setup file aborts with a generic installer error that does not point to a known cause.
A second failure mode opens when engineers attempt the recommended TIA Administrator workflow: the launcher opens a system browser to https://localhost:8888/ and Chromium or Edge return ERR_CONNECTION_REFUSED. Disabling the antivirus and the Windows Firewall does not restore connectivity because the TIA Administrator background service never started. The two failure modes share the same root trigger: a corrupted HSP archive in the updater staging folder, combined with a service that was not started before the launcher opened the browser.
2. Affected Versions and Environment
| Component | Verified Version | Notes |
|---|---|---|
| TIA Portal | V17 Update 4 (build 17.0.0.0) | Bug observed on Engineering installation; Combo and Standalone installers behave the same |
| TIA Software Updater | Shipped with V17 Update 4 | Located in TIA Portal under Help > TIA Software Updater |
| TIA Administrator | V17.x | Separate web-based tool hosted on local port 8888 |
| Operating System | Windows 10 LTSC 21H2, Windows 11 21H2/22H2/23H2 | Reproduction confirmed on Windows 11 22H2 |
| .NET Framework | 4.8 | Required by TIA Updater and TIA Administrator |
| WebView2 Runtime | Evergreen ≥ 110.x (recommend ≥ 122.0.2365.0) | Drives the TIA Administrator HTML front-end |
| TLS | 1.2 minimum | Schannel default in Windows 10/11 |
3. Root Cause Analysis
Three independent failure chains produce the observed symptoms. Identifying which chain is active on a given workstation determines the correct fix. Multiple chains can be present at once on systems where the user has attempted both the TIA Updater and TIA Administrator workflows.
3.1 Corrupted or Incomplete HSP Cache
The TIA Software Updater stages every HSP bundle in a working directory before invoking the silent installer. The default stage path is %USERPROFILE%\Downloads\SIMATIC\tiaportal\HSP. If a previous download was interrupted (browser closed, network drop, low disk, or Windows reboot during install), the cached archive is left in a non-finalized state. Subsequent updater runs detect the existing file, skip re-download, and feed the corrupted blob to the installer, which then aborts with a return value in the 1603 or 1812 range. The Siemens installer also performs a SHA-256 comparison against the manifest; when the cached archive does not match, the install is aborted silently from the user perspective and reported in the command line as a non-zero return value.
3.2 TIA Administrator Service Failure
TIA Administrator is a Windows service (Siemens TIA Administrator) that exposes a REST/HTML interface on https://localhost:8888/. When the service is not running, the launcher opens the default browser, which fails the TLS handshake and reports ERR_CONNECTION_REFUSED. Common triggers:
- The service is set to Manual startup and a prior crash left it in the Stopped state.
- Port 8888 is bound by another application (Atlassian Confluence, Tableau Server, SCADA node agents, Docker port mapping, IIS sites, internal monitoring daemons).
- The Siemens certificate store under
C:\ProgramData\Siemens\Automation\TIAAdministrator\certis missing or unreadable because of ACL changes after a Windows feature update. - WebView2 runtime is missing or below the minimum Evergreen version.
- TLS 1.2 is disabled at the SChannel level by a corporate GPO that targeted Windows components but did not whitelist
localhost.
3.3 Permissions, Antivirus, and Controlled Folder Access
HSP installers drop files under C:\Program Files\Siemens\Automation\Portal V17\ and write per-user configuration under %LOCALAPPDATA%\Siemens\Automation\Portal V17\. If TIA Portal is launched without administrative elevation, or if a third-party security product or Windows Controlled Folder Access quarantines the staging files, the installer exits with a Windows error 5 (Access Denied) and TIA Portal terminates abnormally on the next launch. On Windows 11, Smart App Control can also block the silent installer because the HSP setup is not yet reputation-verified through Microsoft’s cloud.
4. Symptom-to-Cause Matrix
| Observed Symptom | Likely Cause | Section |
|---|---|---|
| Updater shows red X next to one specific HSP, others install | Corrupted cached archive (Section 3.1) | 5.1 |
| Updater fails immediately, no download starts | Port 8888 conflict or TIA Administrator service down (3.2) | 5.3 |
| TIA Portal crashes on launch after partial HSP install | Mixed install state in TIA Portal catalog (3.3) | 5.2 |
| ERR_CONNECTION_REFUSED on https://localhost:8888/ | TIA Administrator service not started (3.2) | 5.3 |
| Manual HSP double-click installs but is not recognized in TIA Portal | HSP revision mismatches TIA Portal V17 Update 4 (3.1) | 5.4 |
| Updater reports Return value 1603 in command line | Permissions, antivirus, or Controlled Folder Access (3.3) | 5.2 / 5.5 |
| Updater reports Return value 1812 in command line | Corrupted cabinet (CAB) inside cached HSP archive (3.1) | 5.1 / 5.5 |
| Browser opens but shows a Siemens certificate error | Missing or unreadable cert in C:\ProgramData\Siemens\Automation\TIAAdministrator\cert (3.2) | 5.3 |
5. Resolution Procedures
Apply the resolutions in the order listed. Each step validates the previous one before continuing. The cache-clear in 5.1 resolves the majority of field-reported cases.
5.1 Clear the TIA Updater HSP Cache (Primary Fix)
- Close TIA Portal completely, including the TIA Software Updater tray icon and any background
Siemens.Automation.Portal.exeprocess. Verify with Task Manager that no instance is running. - Open File Explorer and navigate to
C:\Users\<username>\Downloads\SIMATIC\tiaportal\HSP. If the path does not exist, check the redirected Downloads location under OneDrive:%USERPROFILE%\OneDrive\Downloads\SIMATIC\tiaportal\HSP. - Select all files in the
HSPfolder. Do not delete the folder itself; only its contents. - Permanently delete the contents (Shift+Delete) or move them to a temporary holding directory such as
C:\Temp\HSP_OLDfor forensic review. - Confirm the folder is empty by opening a Command Prompt in that directory:
The output must showdir "C:\Users\<username>\Downloads\SIMATIC\tiaportal\HSP"0 File(s)and0 Dir(s)or just the.and..entries. - Right-click the TIA Portal V17 icon in the Start menu and choose Run as administrator. Confirm the UAC prompt.
- From the TIA Portal menu bar, open Help > TIA Software Updater.
- Select the desired HSP packages, accept the Siemens license, and click Download and install.
- Monitor the command-line window that the updater launches. Each successful HSP reports
Return value 0. Any non-zero value indicates a remaining issue, usually a prerequisite gap that requires Section 5.4 or 5.5.
5.2 Run TIA Portal as Administrator for HSP Install
If Section 5.1 completes but the HSP still returns an abort value (typically 1603 or 5), the issue is file-system permission. TIA Portal V17 must be elevated when performing the first install of an HSP into the protected catalog directory.
- Right-click TIA Portal V17 in the Start menu.
- Select More > Run as administrator.
- Confirm the UAC prompt.
- Open the project (or create a new empty project) so the catalog compiles.
- Trigger the HSP install through the TIA Updater from inside the elevated session.
- Close and re-open TIA Portal normally to confirm the install persists outside the elevated session.
If the elevated session is not acceptable in the engineering environment, a persistent fix is to grant the engineering user Modify rights on C:\Program Files\Siemens\Automation\Portal V17\. Siemens does not recommend this for production engineering fleets, but it is acceptable on isolated build workstations. As a safer alternative, add the TIA Portal executable to the Controlled Folder Access allow-list under Windows Security > Virus & threat protection > Ransomware protection > Allow an app through Controlled folder access.
5.3 Restore the TIA Administrator Service (Localhost:8888)
- Open services.msc as administrator (Win+R, type
services.msc, Ctrl+Shift+Enter). - Locate Siemens TIA Administrator. Confirm the Startup type is Automatic (Delayed Start).
- If the service status is Stopped, right-click and select Start. Watch the Event Viewer under Windows Logs > Application for source TIA Administrator errors.
- Verify port 8888 is free:
If another PID listens, identify it withnetstat -ano | findstr :8888tasklist /FI "PID eq <pid>"and stop the conflicting process, or change the conflicting application’s port to free 8888. - Inspect the Siemens certificate directory:
If the directory is empty or the certificates show an ACL that excludes the engineering user, reset the ACL from an elevated PowerShell:dir "C:\ProgramData\Siemens\Automation\TIAAdministrator\cert"icacls "C:\ProgramData\Siemens\Automation\TIAAdministrator" /reset /T /C - Reinstall TIA Administrator from the official Siemens delivery if the service still fails to start:
- Download the latest TIA Administrator package from Siemens Support Entry 114358 – TIA Administrator.
- Uninstall the current version through Settings > Apps > Installed apps.
- Reboot to clear any orphaned service registrations.
- Install the freshly downloaded package as administrator.
- Reboot again to ensure the WebView2 dependency registers and the Siemens TIA Administrator service is set to Automatic.
- Launch TIA Administrator. The default browser should load
https://localhost:8888/without a connection error. If the browser shows a certificate warning, accept the local Siemens certificate (it is a self-signed cert for the local service only).
5.4 Validate HSP Revision Compatibility
HSPs are tied to a specific TIA Portal major version. A V18 HSP cannot be installed into V17, and within a major version the HSP revision must be greater than or equal to the TIA Portal Service Pack. Verify compatibility before downloading.
- Note the exact TIA Portal version: in TIA Portal, open Help > About and record the build string, e.g.,
V17 Update 4 - HL 17.0.0.0. - Open the Siemens HSP download page filtered for the recorded version.
- Confirm the HSP Released for field matches the version recorded in step 1. If the field lists V17 without an Update suffix, the HSP is the original V17 baseline; if it lists V17 Update 4, the HSP is post-Service Pack 4 and is compatible.
- Reject any HSP whose Released for is V18, V19, or V20, even if the same hardware family is supported across versions. The Siemens installer performs a version check and returns a non-zero abort value rather than installing the package, which can leave the catalog in an inconsistent state.
5.5 Manual HSP Silent Install (Diagnostic)
When the TIA Updater continues to fail after Section 5.1, invoke the silent installer directly to capture a clean error log. This bypasses the updater’s intermediate staging directory and writes to a log file of your choice.
- Open an elevated Command Prompt.
- Navigate to the directory containing the unpacked HSP
.exeor run the cached file directly:
The exact file name follows the pattern"C:\Users\<username>\Downloads\SIMATIC\tiaportal\HSP\HSP_0170_xxxxxx.exe" /quiet /norestart /log "C:\Temp\HSP_Install.log"HSP_<TIA-version>_<build>.exeas published on the Siemens support portal. - Open the generated log in C:\Temp\HSP_Install.log and search for
Return value 3,Return value 1603,Access is denied, orThe cabinet fileto identify the specific failure. - Common log signatures and their meaning:
Log Entry Meaning Fix Return value 3 Prerequisite missing (wrong TIA Portal version) Section 5.4 Return value 5 Access denied Section 5.2 + antivirus exclusions Return value 1603 Fatal error during install (registry or GPO blocked) Section 5.2 + corporate policy review Return value 1812 Corrupt CAB Section 5.1 (re-download) Product: Siemens HSP — This application requires a minimum of TIA Portal V17 Update 4 Revision mismatch Section 5.4
The silent install also has the advantage of returning a deterministic exit code that can be wrapped in deployment scripts (SCCM, PDQ Deploy, PowerShell DSC) for fleet-wide HSP rollouts.
6. Alternative Workflow: TIA Administrator Standalone
When the embedded TIA Updater cannot complete, the supported fallback is to install the HSP from TIA Administrator, a separate web application maintained by Siemens for centralized catalog and firmware rollouts on engineering fleets. The procedure is documented in Siemens Support Entry 114358 – TIA Administrator.
- Download the TIA Administrator installer from the support entry above.
- Install TIA Administrator on the engineering workstation or a dedicated deployment server.
- From a browser, navigate to
https://localhost:8888/on the TIA Administrator host. - Upload the HSP bundle(s) obtained from the Siemens support page for the matching TIA Portal version.
- Assign the HSP to the engineering workstation target, then trigger the install.
- The TIA Administrator service will deploy the HSP to the registered TIA Portal installation, including the catalog update and registration in the Add-on catalog.
TIA Administrator is the recommended path for fleets of more than three TIA Portal installations because it deduplicates downloads and centralizes licensing visibility. It is also the only officially supported method for hosting an HSP on a network share and pushing it to engineering workstations that lack internet access.
7. Verification
After applying any of the resolutions in Section 5, perform the following verification sequence:
- Restart TIA Portal. The splash screen must reach the project portal without a crash dialog.
- Open an existing project that uses a device targeted by the newly installed HSP. Right-click the device, select Change device / version, and confirm the new firmware revision appears in the version list.
- Add a new device from the hardware catalog. The device description files for the HSP must show the latest firmware revision and any added modules (for example, new ET 200SP HA base units or S7-1500 CPUs released after V17 Update 4).
- Open Help > Installed software in TIA Portal. The installed HSP packages are listed with their build number, install date, and originating catalog path.
- Compile the project. The hardware catalog rebuild must complete with no missing-description errors.
- Confirm the HSP is registered in the registry under
HKLM\SOFTWARE\Siemens\Automation\Portal V17\HSP. Each installed HSP writes a sub-key whose DisplayName matches the Siemens-published package name.
8. Windows 11 Specific Considerations
Windows 11 introduces several behaviors that interact with the TIA Updater workflow. Apply the following configuration in addition to Section 5.
-
Controlled Folder Access in Windows Security can silently block the updater from writing into
%USERPROFILE%\Downloads\SIMATIC\tiaportal\HSP. AddSiemens.Automation.Portal.exe, the TIA Updater executable, and the HSP silent installer to the allowed-app list, or temporarily disable Controlled Folder Access during the install and re-enable it afterward. - Smart App Control on fresh Windows 11 installations can block the HSP silent installer if it is not yet reputation-verified. Use Settings > Privacy & security > Windows Security > App & browser control > Smart App Control settings to switch to Audit mode for the duration of the install.
-
OneDrive Known Folder Move redirects
Downloadsto%USERPROFILE%\OneDrive\Downloads. The TIA Updater still uses the legacy path; either move the redirected path back to the local profile or manually create the staging directory in the OneDrive location and copy the cached HSP into it before re-running the updater. -
Windows 11 23H2 ships an updated WebView2 runtime that resolves several TIA Administrator TLS handshake issues. Confirm Evergreen ≥ 122.0.2365.0 is installed before opening a Siemens support ticket for the
ERR_CONNECTION_REFUSEDsymptom. -
TLS 1.3-only GPOs deployed by some enterprise security teams break the self-signed certificate negotiation of TIA Administrator. If the browser shows
ERR_SSL_VERSION_OR_CIPHER_MISMATCH, enable TLS 1.2 on the Schannel client forlocalhostby creating the registry valueDisabledByDefault=0underHKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client.
9. Preventive Measures
- Schedule a monthly cleanup of the
HSPstaging directory. A simple PowerShell snippet prevents recurring cache corruption:
Add this to a scheduled task running under the engineering user context.Get-ChildItem "$env:USERPROFILE\Downloads\SIMATIC\tiaportal\HSP\*" -Recurse | Where-Object LastWriteTime -lt (Get-Date).AddDays(-30) | Remove-Item -Force -Recurse - Maintain a local TIA Administrator repository on a file server and pin specific HSP revisions. Pinning eliminates the surprise of a freshly published HSP being auto-pulled into the updater and breaking catalog compatibility for in-flight projects.
- Capture an image of the TIA Portal installation with the desired HSP set. Distribute the image through your deployment tool (SCCM, MDT, PDQ Deploy, or Workspace ONE) rather than re-running the updater on every machine. Image-based deployment removes the entire class of cache corruption and TIA Administrator service failures.
- Subscribe to the Siemens HSP release notes for the specific TIA Portal major version in use. The notes flag revisions that are pending, withdrawn, or superseded, which prevents the updater from selecting an incompatible bundle.
- Document the engineering workstation baseline (.NET 4.8, WebView2 Evergreen, Schannel TLS 1.2, Siemens service account) and check it with a configuration management script on a weekly basis. Drift in any of these prerequisites is the silent cause of the symptoms described in Section 3.
10. Escalation Path
If Sections 5 and 6 do not resolve the issue, escalate to Siemens Technical Support with the following artifacts. Each item reduces the time to a verified root cause.
- Complete
%USERPROFILE%\Downloads\SIMATIC\tiaportal\HSP\*.logfrom the failed run. - Silent-install log from Section 5.5.
- Windows Event Viewer export covering the Application and System logs for the 30 minutes surrounding the failure.
- Output of
msinfo32 /report %TEMP%\msi32.txtfor hardware and software inventory. - Output of
netstat -ano > %TEMP%\ports.txtto confirm port 8888 ownership at the time of failure. - Screen recording of the TIA Updater command-line output for one full cycle.
- The exact TIA Portal build string captured in Section 5.4 step 1.
Open a Support Request (SR) at the Siemens Industry Online Support portal. Reference the TIA Portal build string in the SR title to route the request to the correct product specialist queue.
11. Frequently Asked Questions
Why does the TIA Software Updater download an HSP but then fail to install it?
The cached HSP archive in %USERPROFILE%\Downloads\SIMATIC\tiaportal\HSP is corrupted or partial. Close TIA Portal, delete the contents of that folder, and re-run the updater so it re-downloads the bundle with a clean SHA-256 hash. Refer to Section 5.1 for the full procedure and verify the install by reopening TIA Portal and checking Help > Installed software.
What causes ERR_CONNECTION_REFUSED on https://localhost:8888/ when launching TIA Administrator?
The Siemens TIA Administrator Windows service is not running, port 8888 is occupied by another application, or the WebView2 runtime is missing. Start the service in services.msc, confirm the port is free with netstat -ano | findstr :8888, and reinstall TIA Administrator from Support Entry 114358 if the service still fails to start.
Can I install an HSP for a newer TIA Portal version (for example, V18) into a V17 installation?
No. HSPs are version-locked to a specific TIA Portal major release and a specific service pack. Installing a V18 HSP into V17 will fail the prerequisite check and produce a non-zero abort value in the TIA Updater command line. Use only the HSPs whose Released for field matches your exact TIA Portal build string, for example V17 Update 4 - HL 17.0.0.0.
Does disabling Windows Defender or third-party antivirus resolve the install failure?
Sometimes, but only as a diagnostic step. Many security products quarantine the HSP silent installer before it can write to C:\Program Files\Siemens\Automation\Portal V17\. Add the TIA Portal and Updater executables to the antivirus exclusion list, run TIA Portal as administrator, and re-attempt the install. Do not leave real-time protection permanently disabled on production engineering workstations.
Is TIA Administrator required if I only have one TIA Portal installation?
No. The TIA Software Updater built into TIA Portal handles single-workstation workflows. TIA Administrator adds value once you have more than three TIA Portal installations to manage or need centralized catalog rollouts across engineering sites. For a single seat, fix the underlying TIA Updater failure using the cache-clear in Section 5.1 and the silent-install diagnostic in Section 5.5.