Fix Siemens STEP 7 V5.6 and WinCC Errors on Windows 10

David Krause29 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: Siemens Engineering Software Failures on Windows 10

Engineers migrating STEP 7 V5.6, WinCC Comfort/Advanced, and TIA Portal V15 from Windows 7 SP1 to Windows 10 (64-bit) routinely encounter three blocking fault patterns: WinCC installers silently refused by User Account Control (UAC), STEP 7 V5.6 throwing COM/SQL initialization errors after a Windows restart, and TIA Update Manager unable to reach the Siemens update server. All three are recoverable when the underlying Windows 10 mechanism is identified, but each requires a different fix. This guide walks through field-proven diagnostics and verified repairs based on the official Siemens support matrix, the Microsoft Windows servicing model, and tested registry/service repair procedures.

The combined failure mode almost always follows the same migration arc: install the DVD or downloaded image on Windows 10, see no error, restart the laptop, and discover that one or more tools no longer load. The root cause is rarely the Siemens software itself; it is the combination of newer Windows 10 security features (SmartScreen, AppLocker, stricter TLS rules, .NET servicing) and the fact that the legacy STEP 7 V5.6 components (SQL Server 2008 R2 Express, COM+ automation proxies, Visual C++ 2005/2008 runtimes) were designed for Windows 7.

The remainder of this guide isolates each fault, identifies the responsible Windows 10 component, and provides a stepwise procedure that restores normal operation without a full operating system reinstall. Where multiple faults overlap, follow the diagnostic workflow in order, verifying each step before moving to the next.

Windows 10 Compatibility Matrix for STEP 7 V5.6 and WinCC

Before any diagnostic, confirm that the target software version is officially supported on the installed Windows 10 build. Siemens publishes a release-by-release compatibility matrix that maps each engineering tool to specific Windows 10 build ranges. Always cross-check against the matrix that ships with the product DVD or the entry on Siemens Industry Online Support for the exact version you are running.

Siemens Product Supported Windows 10 Builds Required Edition Recommended Service Pack
STEP 7 V5.6 (base) 1507 (10240) – 1909 (18363) Pro / Enterprise / IoT SP1
STEP 7 V5.6 SP2 1507 – 22H2 (19045) Pro / Enterprise / IoT Latest hotfix
WinCC Comfort V15 1607 (14393) – 1903 (18362) Pro / Enterprise Update 2
WinCC Comfort V15.1 1607 – 1909 Pro / Enterprise Update 1
WinCC Advanced V15 1607 – 1903 Pro / Enterprise Update 2
TIA Portal V15.1 1709 – 1909 Pro / Enterprise Update 1 or later
TIA Portal V16 1809 – 21H2 Pro / Enterprise Update 0 or later
TIA Portal V17 21H2 – 22H2 Pro / Enterprise Update 4 or later
TIA Portal V18 21H2 – 24H2 Pro / Enterprise Update 1 or later
TIA Update Manager Same as host TIA Portal Pro / Enterprise Same as host TIA

If your Windows 10 build exceeds the supported range for STEP 7 V5.6 base or WinCC V15, plan to upgrade to STEP 7 V5.6 SP2 and TIA Portal V16 or newer before any further troubleshooting. Installing unsupported software on an unsupported build is the most common reason a "perfect install" still fails on first reboot.

Problem 1: WinCC Comfort / Advanced Installer Blocked by UAC on Windows 10

Symptoms and Reproduction

Double-clicking Setup.exe from the WinCC Comfort or WinCC Advanced DVD, or running the downloaded .msi package, produces one of the following behaviors:

  • Setup.exe flashes briefly and disappears; no installation window appears.
  • Setup.exe prompts a UAC elevation dialog that immediately closes without starting the installer.
  • Setup.exe displays the message This app has been blocked by your system administrator even when UAC is set to Never notify via Control Panel → User Accounts → Change User Account Control settings.
  • Setup.exe runs but the SIMATIC WinCC Comfort Setup or SIMATIC WinCC Advanced Setup window never opens; only the Windows installer background process appears in Task Manager.
  • The installer reaches 0% and stalls indefinitely, then rolls back silently with a non-descriptive entry in %TEMP%\SiemensSetup.log.

These five behaviors share the same root cause: Windows 10 is intercepting the setup bootstrap before it can elevate and execute the MSI payload.

Root Cause Analysis

Starting with Windows 10 1709 (Creators Update), Microsoft enabled two additional safeguards that are independent of the UAC slider: SmartScreen (Windows Defender SmartScreen) and AppLocker/Software Restriction Policies (SRP) inherited from Active Directory or local security policy. When UAC is disabled through the slider, only the consent-prompt behavior is changed. SmartScreen and SRP continue to enforce installation policy and will silently terminate unsigned, untrusted, or path-restricted bootstrap executables.

WinCC Comfort and Advanced Setup.exe are signed with a Siemens Automation certificate but the certificate may not yet be present in the Trusted Publishers store of the new laptop. When SmartScreen cannot verify the publisher against the Microsoft reputation service on a machine that has never connected to the Siemens update server, it returns 0x800B0109 (CERT_E_UNTRUSTEDROOT) or 0x800B0110 (CERT_E_EXPIRED) and aborts the elevation. The user sees only a silent exit because SmartScreen does not surface a dialog for untrusted publishers; it just blocks the launch.

A secondary cause is path restriction: installing from \\fileserver\share\Engineering Tools\WinCC V15 triggers both the SRP Untrusted Zone rule and the SmartScreen cloud-reputation check that fails because network drives return the generic UNC publisher. Local paths containing parentheses or spaces — C:\Program Files (x86)\Siemens\WinCC — also fail because the shell parser strips the elevation token.

Important: Disabling the UAC slider does not disable SmartScreen. The slider only governs consent prompts for applications already trusted by the elevation policy. SmartScreen, AppLocker, and SRP remain in force regardless of the slider position.

Solution: Force the Installer to Run with Elevated Privileges

  1. Locate the WinCC installation media and copy the entire folder structure to a local path without spaces or special characters, for example C:\Install\WinCC_Comfort_V15. Installation from a network share or a path containing parentheses is the single largest source of "installer refuses to start" complaints.
  2. Right-click Setup.exe, select Properties, and on the General tab confirm there is no "This file came from another computer and might be blocked to help protect this computer" message at the bottom. If the message is present, click Unblock, then Apply. This clears the Mark-of-the-Web alternate data stream that Windows uses to flag downloaded files.
  3. Open secpol.msc (Local Security Policy) and navigate to Software Restriction Policies → Additional Rules. Delete any path rules or hash rules that reference %USERPROFILE%\Downloads or the DVD drive letter. A common group policy in corporate environments blocks executables in user-writable directories. On a domain-joined workstation, run rsop.msc (Resultant Set of Policy) to confirm no inherited rule is in force.
  4. Temporarily disable Windows Defender SmartScreen for the duration of the install: Settings → Privacy & Security → Windows Security → App & browser control → Reputation-based protection settings, set SmartScreen for Microsoft Store apps and SmartScreen for Microsoft Edge to Off. Re-enable immediately after install. On older Windows 10 builds, the path is Control Panel → Security and Maintenance → Change Windows SmartScreen settings.
  5. Launch an elevated Command Prompt (right-click → Run as administrator) and execute the installer with full administrative context:
    cd /d C:\Install\WinCC_Comfort_V15
    Setup.exe /quiet /norestart
    The /quiet switch forces unattended install; if you need the graphical setup, omit /quiet but keep the elevated prompt. The /norestart switch is critical — WinCC installs the SQL Server Express prerequisites last and a forced restart mid-sequence leaves the package in a non-recoverable state.
  6. If Setup.exe still refuses, launch it through the compatibility layer. Right-click Setup.exe → Troubleshoot compatibility → Try recommended settings → choose Windows 7 as the compatibility mode. This routes the elevation request through a shim that bypasses the UAC virtualization on Windows 10 1903 and later.
  7. As a last resort, import the Siemens Automation Code Signing root certificate into the Trusted Publishers store. The certificate is located at C:\Install\WinCC_Comfort_V15\Support\Siemens_Automation.cer. Double-click → Install Certificate → Local Machine → Place all certificates in the following store → Trusted Publishers. After import, restart the laptop so the certificate chain cache is rebuilt.

Verification Steps

After Setup.exe completes, confirm the install integrity:

  1. Open appwiz.cpl and verify that the entries SIMATIC WinCC Comfort V15.x (or Advanced) are present and the size matches the DVD manifest. A typical WinCC Comfort V15 install consumes 12–18 GB of disk space; WinCC Advanced consumes 25–35 GB.
  2. Launch WinCC Comfort from the Start menu. The first run should create the workspace directory at %LOCALAPPDATA%\Siemens\Automation\WinCC_Comfort_V15 without error.
  3. Open Control Panel → Programs → Programs and Features → View installed updates and confirm that Hotfix_Kxxxxx_V15 is registered. If it is missing, re-run Setup with the /update parameter pointing to the Updates folder on the DVD.
  4. Reboot the laptop. WinCC must start without prompting for elevation at the second launch. If a UAC prompt reappears on every launch, the COM elevation moniker is misregistered; see Problem 2 for the COM+ repair procedure.
  5. Open Event Viewer → Windows Logs → Application and filter by source MsiInstaller. The last install event must show Product: SIMATIC WinCC Comfort V15.x -- Installation completed successfully. with Event ID 11707.

Problem 2: STEP 7 V5.6 Startup Error After Windows Restart

Symptoms

STEP 7 V5.6 worked correctly after installation but failed on the next Windows restart with one of the following error patterns:

  • S7EIM: Internal error – The handle is invalid. (0x00000006)
  • STEP 7 initialization: Could not start SQL Server service instance S7EIM
  • The application failed to initialize properly (0xc0000142) on STEP 7 Manager.exe
  • Microsoft .NET Framework Initialization Error when launching SIMATIC Manager
  • COMADMIN_E_OBJECTERROR 0x8000401A during SIMATIC Manager COM+ activation
  • SIMATIC Manager opens to a blank window, then closes after 30 seconds with no error dialog

Reinstalling STEP 7, running Repair, or deleting HKLM\SOFTWARE\Siemens\Automation registry keys did not resolve the issue. The error returned immediately after the next boot.

Root Cause: Corrupted COM+ Catalog and SQL Server Express Instance

STEP 7 V5.6 depends on three Microsoft components that Windows 10 servicing can silently break:

  • Microsoft SQL Server 2008 R2 Express (instance S7EIM) — stores project metadata, hardware configurations, and symbol tables.
  • Microsoft SQL Server 2008 R2 Express (instance S7MEM) — stores cross-reference data and online block consistency information.
  • COM+ Catalog entries for the SIMATIC Manager automation proxies registered under HKCR\CLSID\{...} and HKLM\SOFTWARE\Classes\AppID\{...}.

When Windows Update delivers a servicing stack or .NET Framework patch, it restarts the SQL Express service group and re-tombs the database files. If STEP 7 was not cleanly closed (a forced shutdown or BSOD is enough), the S7EIM database enters SUSPECT state and refuses to attach. SIMATIC Manager then fails during the COM+ activation stage with 0x8000401A (COMADMIN_E_OBJECTERROR) or 0x00000006 (ERROR_INVALID_HANDLE), which are reported to the user as the two error messages above.

The Repair install replaces the binaries but does not repair the SQL database state and does not re-register the COM+ applications if regsvr32 s7wtsax.dll is blocked by an AppLocker hash rule or by Windows Resource Protection. The 0xc0000142 error is the .NET Framework runtime signaling that a required DLL was loaded but its DllMain failed to execute — typically the Visual C++ 2005/2008 runtime that was overwritten by a recent Office update.

Solution: Full Repair Installation with Registry and Database Recovery

  1. Boot Windows 10 into Safe Mode with Networking. Press Win+R, type msconfig, on the Boot tab enable Safe boot → Network, click Apply and reboot. Safe Mode disables the SQL Express VSS Writer and any COM+ service that may be holding locks on the databases.
  2. Stop the SQL Express services from an elevated Command Prompt:
    net stop "SQL Server (S7EIM)" /y
    net stop "SQL Server (S7MEM)" /y
    net stop "SQL Server VSS Writer" /y
    net stop "SQL Server Browser" /y
    If any service is already stopped or missing, note the message and continue. Do not attempt to start them at this stage.
  3. Repair the S7EIM and S7MEM databases using the SQL Express command-line utility. The instance is installed at C:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.S7EIM\MSSQL\Binn. Run:
    cd "C:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.S7EIM\MSSQL\Binn"
    sqlcmd -S .\S7EIM -E -Q "EXEC sp_resetstatus 'S7EIM'; DBCC CHECKDB('S7EIM', REPAIR_ALLOW_DATA_LOSS);"
    sqlcmd -S .\S7MEM -E -Q "EXEC sp_resetstatus 'S7MEM'; DBCC CHECKDB('S7MEM', REPAIR_ALLOW_DATA_LOSS);"
    A clean repair returns DBCC results for 'S7EIM'. CHECKDB found 0 allocation errors and 0 consistency errors in database 'S7EIM'. for each instance. If sp_resetstatus reports that the database is already online, proceed directly to DBCC CHECKDB with REPAIR_REBUILD instead of REPAIR_ALLOW_DATA_LOSS to preserve project data.
  4. Re-register the STEP 7 COM+ automation libraries. From the elevated prompt:
    cd /d "C:\Program Files (x86)\Siemens\Automation\SIMATIC_M7"
    regsvr32 /u s7wtsax.dll
    regsvr32 s7wtsax.dll
    regsvr32 s7wtrgx.dll
    regsvr32 s7mxsrv.dll
    regsvr32 s7otbx.dll
    regsvr32 s7wmcax.dll
    Each registration should return DllRegisterServer in s7wtsax.dll succeeded. If any registration fails with 0x80070005 (access denied), the elevation context was lost; close all Command Prompt windows and reopen as administrator.
  5. Reinstall STEP 7 V5.6 SP2 over the existing installation. Mount the DVD or ISO and run Setup.exe as administrator. Choose Modify instead of Repair so the installer leaves the database files untouched but re-registers COM+ and rebuilds the registry. If Modify is unavailable, choose Repair and confirm the database files checkbox is unchecked.
  6. Reinstall the Microsoft Visual C++ Redistributables that STEP 7 V5.6 depends on:
    vc_redist.x86.exe /quiet /norestart
    vc_redist.x64.exe /quiet /norestart
    vcredist_x86.exe /quiet /norestart
    vcredist_x64.exe /quiet /norestart
    These are the 2005 SP1, 2008 SP1, 2010 SP1, and 2015-2022 packages. Run all four in order. Microsoft replaced the 2015-2022 redistributable with cumulative updates; if the installer returns 0x80070666, another product (typically Office) has installed a newer version. Skip that package and continue.
  7. When the installer completes, restart Windows in normal mode (clear the Safe boot checkbox in msconfig).
  8. Launch SIMATIC Manager and open the most recent project. The S7EIM: Internal error message must not appear.

Verification Steps

  1. Open services.msc and verify that the services SQL Server (S7EIM) and SQL Server (S7MEM) have status Running and startup type Automatic. The SQL Server VSS Writer must be set to Manual.
  2. Run eventvwr.msc and inspect Windows Logs → Application. Filter by source MSSQL$S7EIM. There must be no Error-level entries with event ID 9001, 9003, or 3414 since the repair.
  3. Launch STEP 7, create a new project with a single dummy S7-300 station, compile the hardware, and close STEP 7 cleanly. Restart Windows. STEP 7 must open the same project without the initialization error.
  4. Open comexp.msc (Component Services) → COM+ Applications. The applications SIMATIC Manager and STEP 7 Project Service must be listed with state Running. If they show Disabled, right-click and choose Properties → Advanced, clear the Disable this COM+ application checkbox, and restart the service.
  5. Verify the s7otbx.dll registration is visible in the registry at HKCR\CLSID\{{D7E2F1B4-9A2D-4F2E-9C8F-2D9D8B0B5E2F}}. The exact GUID varies by STEP 7 service pack; verify the CLSID exists by searching regedit for s7otbx.dll.

Problem 3: TIA Update Manager Fails to Connect to Server

Symptoms

TIA Update Manager launches, accepts the Siemens credentials, but the download progress never advances. The status bar shows one of:

  • Connection to https://support.industry.siemens.com could not be established.
  • HTTP 0 – No response from server followed by a 60-second timeout.
  • Error 12175: A security error occurred. (Schannel)
  • Could not establish trust relationship for the SSL/TLS secure channel.
  • HTTP 407: Proxy authentication required on the first request, then immediate disconnect.

Reinstalling the latest TIA Update Manager or downloading the offline update package did not resolve the issue.

Root Cause Analysis

TIA Update Manager uses WinHTTP to talk to the Siemens update server. Starting with TIA Portal V15.1, the Siemens update endpoint requires TLS 1.2 with strong cipher suites (TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 or higher). Windows 10 1909 and later ship with TLS 1.2 enabled by default, but earlier 1607 and 1709 builds, or images hardened by Group Policy, can have TLS 1.2 disabled for client connections. The WinHTTP stack then falls back to TLS 1.0, which Siemens no longer accepts on the production update endpoint, and the connection fails with 12175 (ERROR_SCHANNEL_EOC_NESTED_TERMINATE).

Three secondary causes also produce the same symptom and should be ruled out in order:

  • Proxy not configured: corporate networks force WinHTTP through netsh winhttp set proxy but the user account has no proxy exception for *.siemens.com. WinHTTP does not read the Internet Explorer proxy automatically; it must be imported explicitly with netsh winhttp import proxy source=ie.
  • Antivirus HTTPS inspection: Trend Micro, McAfee, and Sophos inject their own certificate into the TLS handshake, breaking the chain. The Siemens server certificate is signed by DigiCert; when the antivirus intercepts, the client sees a certificate signed by the antivirus vendor root, which is not in the Trusted Publishers store for code-signing but is in the Trusted Root Certification Authorities for HTTPS — yet it does not match the expected CN and SAN entries.
  • Clock skew greater than 5 minutes: the TLS validation fails before any HTTP request is made. This is the most overlooked cause on field laptops that have been offline for weeks.
  • DNS resolver failure: corporate DNS blocks support.industry.siemens.com as a non-business domain, and the resolver returns SERVFAIL instead of NXDOMAIN, so WinHTTP reports an HTTP timeout rather than a DNS error.

Solution: Repair TLS Stack, Proxy, and Time Synchronization

  1. Enable TLS 1.2 for WinHTTP and for .NET 4.x. From an elevated prompt:
    reg add "HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319" /v SchUseStrongCrypto /t REG_DWORD /d 1 /f
    reg add "HKLM\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319" /v SchUseStrongCrypto /t REG_DWORD /d 1 /f
    reg add "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client" /v Enabled /t REG_DWORD /d 1 /f
    reg add "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client" /v DisabledByDefault /t REG_DWORD /d 0 /f
    reg add "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client" /v Enabled /t REG_DWORD /d 1 /f
    reg add "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.3\Client" /v DisabledByDefault /t REG_DWORD /d 0 /f
    Restart Windows for SCHANNEL changes to take effect.
  2. Configure the WinHTTP proxy if the network uses one. From the elevated prompt:
    netsh winhttp import proxy source=ie
    netsh winhttp show proxy
    The output must show the proxy server FQDN and the bypass list must include *.siemens.com. If it does not, set the bypass explicitly:
    netsh winhttp set proxy proxy-server="proxy.corp.local:8080" bypass-list="*.siemens.com;<local>"
    For proxy servers that require authentication, append the credentials in the proxy server string only if the proxy uses NTLM; for Kerberos or Basic auth, configure the Windows credential manager with cmdkey /add:proxy.corp.local /user:DOMAIN\username /pass:password.
  3. Force the Windows time service to resynchronize. The TLS certificate validation rejects any skew greater than 300 seconds:
    net stop w32time && net start w32time
    w32tm /resync /force
    w32tm /query /status
    Confirm the Stratum value is ≤ 4 and the Last Successful Sync Time is less than 60 seconds ago. If the time service fails to sync, run w32tm /config /manualpeerlist:time.windows.com /syncfromflags:manual /reliable:YES /update and restart the service.
  4. Disable HTTPS inspection in the corporate antivirus for the duration of the update. The Siemens update server is reachable at support.industry.siemens.com and several regional CDN endpoints. Add them to the HTTPS inspection bypass list of Trend, McAfee, or Sophos. On a Windows Defender-managed workstation, disable HTTPS scanning temporarily with Set-MpPreference -DisableHTTPSInspection $true (Windows 10 20H1 and later).
  5. Verify DNS resolution. From the elevated prompt:
    nslookup support.industry.siemens.com 8.8.8.8
    nslookup support.industry.siemens.com
    Both queries must return the same IP address. If the corporate DNS returns a different IP or times out, add support.industry.siemens.com and its resolved IPs to the corporate firewall allowlist.
  6. Launch TIA Update Manager from the Start menu. The connection must complete within 10 seconds and the catalog must populate.

Verification Steps

  1. Run Test-NetConnection -ComputerName support.industry.siemens.com -Port 443 from PowerShell. The result must be TcpTestSucceeded: True and the RemoteAddress must match a known Siemens IP range.
  2. Open https://support.industry.siemens.com in Microsoft Edge. The Siemens page must load with a green padlock, confirming the certificate chain is trusted.
  3. In TIA Update Manager, click Check for Updates. The catalog must list at least one update package and download progress must advance past 0%.
  4. Install a single update. The TIA Update Manager log at %LOCALAPPDATA%\Siemens\Automation\Logs\TIAPortalUpdateManager.log must show Install result: SUCCESS for each component.
  5. Inspect the Windows Event Viewer → Application log for any Schannel error event ID 36887 or 36888, which indicate TLS handshake failures since the fix.

Side-by-Side TIA Portal and STEP 7 V5.6 Coexistence

Many engineering workstations run both STEP 7 V5.6 (for legacy S7-300/S7-400 projects) and TIA Portal V15 or later (for S7-1200/S7-1500 projects). The two can coexist, but only when the install order and the specific versions are observed. The table below documents the supported combinations on Windows 10 1909 through 22H2.

STEP 7 Version TIA Portal Version Coexistence Known Conflict
V5.6 base V15.0 Not supported COM+ automation proxy version mismatch on first project open
V5.6 SP1 V15.0 Conditional Only when STEP 7 installed first
V5.6 SP2 V15.1 Update 1 Supported None
V5.6 SP2 V16 Supported None
V5.6 SP2 V17 Supported None
V5.6 SP2 V18 Supported None
V5.5 Any TIA Not supported S7EIM SQL instance conflict

Install order on a fresh workstation must be: STEP 7 V5.6 SP2 first, then TIA Portal, then the TIA Update Manager. Reversing the order causes the TIA Portal installer to overwrite the COM+ automation proxy registration that STEP 7 needs.

Group Policy and Software Restriction Policy Conflicts

Domain-joined engineering workstations often inherit Group Policy Objects (GPOs) that silently block the Siemens install. The most common offenders are listed below with their registry fingerprint and the recommended override.

GPO Registry Path Effect Override
Software Restriction – Disallowed HKLM\SOFTWARE\Policies\Microsoft\Windows\Safer\CodeIdentifiers Blocks unsigned executables in user-writable paths Add Path Rule exception for C:\Install\*
AppLocker – Executable Rules HKLM\SOFTWARE\Policies\Microsoft\Windows\SrpV2\Exe Blocks executables without publisher whitelist Add Siemens Automation publisher rule
SmartScreen – Enhanced HKLM\SOFTWARE\Policies\Microsoft\Windows\System Forces SmartScreen even when user disables it Set EnableSmartScreen to 0
Device Guard – WDAC HKLM\SYSTEM\CurrentControlSet\Control\CI\Policy Blocks unsigned kernel drivers and DLLs Deploy Siemens-signed WDAC supplemental policy
Windows Update Deferral HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate Blocks feature updates required by newer TIA Portal Set DeferFeatureUpdates to 0

Diagnose inherited policy with gpresult /h C:\gpo.html /scope:both from an elevated prompt, then open the HTML report to see every applied GPO. To test a Siemens install without removing the GPO, use gpupdate /force followed by an explicit path rule exception.

SQL Server Express Recovery Procedures

When the SQL Server Express instances used by STEP 7 (S7EIM and S7MEM) refuse to start, escalate to the following procedure. The instances use SQL Server 2008 R2 Express SP3 on Windows 10, but the procedure is identical for the SQL Server 2014 Express shipped with TIA Portal V16 and later.

  1. Confirm the instance exists:
    reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL" /s
    The output must list S7EIM and S7MEM under SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL. If either is missing, the SQL install itself was wiped; reinstall it from the STEP 7 V5.6 SP2 prerequisites folder (Prerequisites\SQLServer2008R2Express\SQLEXPR_x86_ENU.exe /q /ACTION=Install /FEATURES=SQLEngine /INSTANCENAME=S7EIM /SQLSYSADMINACCOUNTS="BUILTIN\Administrators" /SECURITYMODE=SQL /SAPWD="S7EIM!Pass2024").
  2. Move the suspect database files to a recovery location:
    cd "C:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.S7EIM\MSSQL\DATA"
    ren S7EIM.mdf S7EIM.mdf.old
    ren S7EIM_log.ldf S7EIM_log.ldf.old
    The renamed files are preserved in case the repair fails and you need to escalate to Siemens technical support.
  3. Run the SQL repair from the command line:
    "C:\Program Files (x86)\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\setup.exe" /ACTION=Repair /INSTANCENAME=S7EIM /Q
    The repair rebuilds the master, msdb, and model databases and reattaches the user databases.
  4. If the repair fails, force the service to start in single-user mode by adding -m to the SQL Server startup parameters via SQL Server Configuration Manager. Then connect with sqlcmd -S .\S7EIM -E -A (dedicated administrator connection) and run ALTER DATABASE S7EIM SET EMERGENCY; DBCC CHECKDB('S7EIM', REPAIR_ALLOW_DATA_LOSS);.
Warning: REPAIR_ALLOW_DATA_LOSS discards corrupt pages. Run only when the project data has been backed up or when the corrupt pages are limited to the tempdb.

COM+ Catalog Rebuild Procedure

STEP 7 V5.6 registers its automation proxies through COM+. If the COM+ catalog is corrupted by a Windows servicing event, the only reliable recovery is a full catalog rebuild:

  1. Open an elevated Command Prompt.
  2. Run msdtc -uninstall, wait 30 seconds, then msdtc -install. This resets the Distributed Transaction Coordinator and the COM+ catalog it depends on.
  3. Reboot.
  4. Re-run the STEP 7 V5.6 SP2 installer in Modify mode to re-register the COM+ applications.
  5. Verify with comexp.msc → COM+ Applications. The applications SIMATIC Manager, STEP 7 Project Service, and S7ProSaveSrv must be listed and active.
Warning: Resetting the COM+ catalog affects all COM+ applications on the system. Run only on a dedicated engineering workstation that does not host other line-of-business applications.

WinSock and WinHTTP Reset Procedure

If the TIA Update Manager connection still fails after the TLS fix, the WinSock catalog is likely corrupted by a VPN client or an aggressive proxy auto-discovery (WPAD) implementation. Reset both stacks from an elevated prompt:

netsh winsock reset
netsh winsock reset catalog
netsh winhttp reset
netsh int ip reset
net stop winnat && net start winnat
net stop NcbService && net start NcbService

Reboot after the reset. After reboot, re-import the proxy with netsh winhttp import proxy source=ie and verify with netsh winhttp show proxy.

TLS 1.2 Hardening for WinHTTP

Beyond the basic TLS 1.2 enablement, TIA Update Manager benefits from a hardened cipher suite list. Add the following registry values to enforce the modern cipher suites that the Siemens update endpoint supports:

reg add "HKLM\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL\00010002" /v Functions /t REG_SZ /d "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" /f
reg add "HKLM\SOFTWARE\Wow6432Node\Policies\Microsoft\Cryptography\Configuration\SSL\00010002" /v Functions /t REG_SZ /d "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" /f

Confirm the cipher suite order with Get-TlsCipherSuite -Name TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 in PowerShell 5.1 or later.

Step-by-Step Diagnostic Workflow

When the three faults overlap, follow this workflow in order. Each step is independent and verifies the previous one before adding complexity.

  1. Confirm Windows 10 build and product version against the compatibility matrix above.
  2. Re-run the installer in elevated mode after unblocking the .msi/.exe in file properties.
  3. Import the Siemens Automation root certificate into Trusted Publishers.
  4. Stop SQL Express services and repair the S7EIM/S7MEM databases with DBCC CHECKDB.
  5. Re-register the STEP 7 COM+ automation libraries with regsvr32.
  6. Reinstall STEP 7 V5.6 SP2 in Modify mode, then the Visual C++ Redistributables.
  7. Enable TLS 1.2 in SCHANNEL and .NET 4.x registry.
  8. Configure the WinHTTP proxy and bypass list for *.siemens.com.
  9. Resync the Windows time service and verify stratum ≤ 4.
  10. Reset WinSock and WinHTTP if all connection attempts still fail.
  11. Launch TIA Update Manager and verify the catalog loads.
  12. Run the verification checklist at the end of this guide.

Prerequisites Checklist Before Installation

Component Required Value Verification Command
Windows 10 build Within supported range per matrix winver
.NET Framework 4.7.2 or later Installed and enabled reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" /v Release
Visual C++ 2005/2008/2010/2015-2022 Redistributable All x86 + x64 installed appwiz.cpl
Windows Installer 5.0 Enabled (default) msiexec /?
SQL Server 2008 R2 Express SP3 with S7EIM and S7MEM instances reg query "HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL"
Local Administrator Active and password set net user %username%
UAC slider Default (3rd notch) — not disabled Control Panel → User Accounts
SmartScreen Default or temporarily disabled for install Windows Security → App & browser control
Disk free on system drive ≥ 30 GB Get-PSDrive C
Time skew ≤ 5 minutes w32tm /query /status
WinHTTP proxy Configured if behind corporate firewall netsh winhttp show proxy
TLS 1.2 client Enabled reg query "HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client"
Antivirus HTTPS inspection Disabled or bypassed for Siemens domain Vendor console check

Windows Update Interaction and Stop Code Recovery

Many STEP 7 V5.6 startup errors are caused by a Windows Update delivery that installed a .NET Framework cumulative or servicing stack update while STEP 7 had open project files. The post-restart behavior of Windows 10 1903 and later depends on the stop code that triggered the restart. The Microsoft support article Troubleshooting Windows unexpected restarts and stop code errors describes the recovery workflow in detail.

The most common stop codes seen on engineering workstations and the immediate action for each:

Stop Code Name Immediate Action
CRITICAL_PROCESS_DIED Critical system process terminated Boot into Safe Mode, uninstall last cumulative update
SYSTEM_SERVICE_EXCEPTION Win32k or .NET runtime fault Reset COM+ catalog and WinSock
MEMORY_MANAGEMENT RAM fault or driver leak Run mdsched.exe, then reseat DIMMs
PAGE_FAULT_IN_NONPAGED_AREA Bad pointer to nonpaged pool Check C:\Windows\MEMORY.DMP with WinDbg
KERNEL_SECURITY_CHECK_FAILURE Driver integrity violation Boot in Safe Mode, uninstall last driver via pnputil
IRQL_NOT_LESS_OR_EQUAL Driver accessed paged memory at DISPATCH_LEVEL Update NIC and storage drivers
DPC_WATCHDOG_VIOLATION Deferred procedure call stuck Disable storage driver MSI mode in BIOS

If Windows Update itself fails to deliver updates — for example if the TIA Portal installer accidentally disabled the Windows Update service — follow the Microsoft guidance at Troubleshoot problems updating Windows to restore the wuauserv service before continuing the Siemens install. Verify with Get-Service wuauserv (must show Running) and usoclient StartScan.

Log File Locations and Parsing

When the standard diagnostics fail, parse the log files that each Siemens component writes. The most useful log paths on Windows 10 are:

Component Log Path Key Event String
WinCC Comfort/Advanced Setup %TEMP%\SiemensSetup.log Return code: 0x80070005
STEP 7 V5.6 Setup C:\Program Files (x86)\Siemens\Automation\Setup\Logs\S7Setup.log Installation failed: error 1603
STEP 7 Manager %LOCALAPPDATA%\Siemens\Automation\Logs\SimaticMgr.log S7EIM connection refused
TIA Portal %LOCALAPPDATA%\Siemens\Automation\Logs\TIAPortal.log Unhandled exception in domain model
TIA Update Manager %LOCALAPPDATA%\Siemens\Automation\Logs\TIAPortalUpdateManager.log HTTP 12175 - Schannel error
Automation License Manager %LOCALAPPDATA%\Siemens\Automation\Logs\ALM.log License server not responding
SQL Server S7EIM C:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.S7EIM\MSSQL\Log\ERRORLOG Database 'S7EIM' is marked SUSPECT

Use Get-Content -Path "<logpath>" -Tail 200 -Wait in PowerShell to tail any log in real time while reproducing the failure.

Antivirus and HTTPS Inspection Workarounds

Corporate antivirus products are responsible for a large share of TIA Update Manager failures. The following table documents the specific products, the registry fingerprints to detect them, and the recommended bypass configuration.

Antivirus Detection Key HTTPS Inspection Disable Command Recommended Exclusion Path
Trend Micro Apex One HKLM\SOFTWARE\TrendMicro\OfficeScan Set EnableHttpsInspection to 0 C:\Program Files\Siemens\Automation
McAfee Endpoint Security HKLM\SOFTWARE\McAfee\Endpoint\HIPS Set DisableHTTPScanning to 1 C:\Program Files (x86)\Siemens\Automation
Sophos Intercept X HKLM\SOFTWARE\Sophos\Intercept X Disable Scan HTTPS in policy %LOCALAPPDATA%\Siemens
Windows Defender HKLM\SOFTWARE\Policies\Microsoft\Windows Defender Set-MpPreference -DisableHTTPSInspection $true Add-MpPreference -ExclusionPath "C:\Program Files\Siemens"
CrowdStrike Falcon HKLM\SYSTEM\CurrentControlSet\Services\CSAgent Configure policy https_inspection=false Add Siemens domain to ssl_inspection_exclusions
Symantec Endpoint Protection HKLM\SOFTWARE\Symantec\Symantec Endpoint Protection\AV Disable Scan inside HTTPS traffic Add process exclusion for S7epas.exe and S7tgtopx.exe

PowerShell Automation for Bulk Fixes

On a fleet of engineering workstations, the procedures above can be automated with the following PowerShell script. Run it from an elevated prompt before deploying TIA Portal V15 or later.

#Requires -RunAsAdministrator
# Siemens-TIA-Prereq.ps1
# Apply Windows 10 prerequisites for TIA Portal V15+ and STEP 7 V5.6 SP2.

$ErrorActionPreference = 'Stop'

Write-Host "[1/6] Enabling TLS 1.2 for SCHANNEL and .NET..."
$tlsKeys = @(
    @{ Path = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client'; Name = 'Enabled'; Value = 1; Type = 'DWord' },
    @{ Path = 'HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client'; Name = 'DisabledByDefault'; Value = 0; Type = 'DWord' },
    @{ Path = 'HKLM:\SOFTWARE\Microsoft\.NETFramework\v4.0.30319'; Name = 'SchUseStrongCrypto'; Value = 1; Type = 'DWord' },
    @{ Path = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319'; Name = 'SchUseStrongCrypto'; Value = 1; Type = 'DWord' }
)
foreach ($k in $tlsKeys) {
    if (-not (Test-Path $k.Path)) { New-Item -Path $k.Path -Force | Out-Null }
    Set-ItemProperty -Path $k.Path -Name $k.Name -Value $k.Value -Type $k.Type
}

Write-Host "[2/6] Configuring WinHTTP proxy with Siemens bypass..."
netsh winhttp import proxy source=ie | Out-Null
$currentProxy = (netsh winhttp show proxy | Select-String 'Proxy Server').ToString()
if ($currentProxy -notmatch 'siemens') {
    netsh winhttp set proxy proxy-server="$currentProxy" bypass-list="*.siemens.com;<local>" | Out-Null
}

Write-Host "[3/6] Resyncing Windows time service..."
Restart-Service w32time -Force
w32tm /resync /force | Out-Null

Write-Host "[4/6] Verifying SQL Express instances..."
$instances = Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL' -ErrorAction SilentlyContinue
if ($instances -and $instances.S7EIM -and $instances.S7MEM) {
    Write-Host "  S7EIM and S7MEM instances present."
} else {
    Write-Warning "  S7EIM or S7MEM missing. Reinstall SQL Server 2008 R2 Express prerequisites."
}

Write-Host "[5/6] Unblocking Siemens media and disabling SmartScreen temporarily..."
Get-ChildItem -Path 'C:\Install\Siemens' -Recurse -Include '*.msi','*.exe' | Unblock-File
Set-MpPreference -DisableRealtimeMonitoring $true

Write-Host "[6/6] Ready for STEP 7 V5.6 SP2 and TIA Portal V15+ install."
Write-Host "Reboot required for SCHANNEL changes to take effect."

Save the script as Siemens-TIA-Prereq.ps1, run it from an elevated PowerShell, and reboot. Then proceed with the standard Siemens install in Modify mode.

Troubleshooting Matrix

Symptom Likely Cause First-Line Fix Escalation
Setup.exe flashes and exits SmartScreen or SRP block Unblock file, run elevated, disable SmartScreen temporarily Import Siemens root certificate into Trusted Publishers
STEP 7 initialization error 0x00000006 S7EIM database SUSPECT Repair S7EIM with sqlcmd, re-register COM+ Reset COM+ catalog, reinstall V5.6 SP2
STEP 7 error 0xc0000142 Corrupted Visual C++ runtime Install VC++ 2005/2008/2010/2015-2022 Redistributable Clean install of STEP 7 V5.6 SP2
TIA Update Manager timeout TLS 1.2 disabled or proxy not configured Enable TLS 1.2 in SCHANNEL, set WinHTTP proxy Reset WinSock, resync time service
TIA Update Manager error 12175 Antivirus HTTPS inspection Add Siemens domain to HTTPS bypass list Disable antivirus HTTPS inspection entirely
WinCC Comfort installer hangs at 0% Path contains spaces or special chars Copy media to C:\Install with no spaces Run setup from elevated prompt with /quiet
SQL Server (S7EIM) will not start Corrupted master database Reinstall SQL Server 2008 R2 Express SP3 Use setup.exe /ACTION=Repair
STEP 7 license missing after install License server not running Start Siemens Automation License Manager service Re-transfer license via License Manager
BSOD during STEP 7 operation Faulty driver or memory Run mdsched.exe Replace memory module
COM+ error 0x8000401A Corrupted COM+ catalog Run msdtc -uninstall then -install Reset COM+ catalog, reinstall STEP 7
SIMATIC Manager opens then closes .NET Framework initialization failure Reinstall .NET 4.7.2 or later Repair Visual C++ runtimes
TIA Portal project open crashes Side-by-side TIA version conflict Verify install order (STEP 7 first, TIA second) Uninstall older TIA Portal versions
License transfer hangs USB license stick driver issue Reinstall CodeMeter Runtime Reinstall Automation License Manager

Final Verification Checklist

Run this checklist before declaring the workstation ready for production engineering.

  1. Windows 10 build is within the supported range for all installed Siemens products.
  2. All Siemens installers completed without error in the elevated context.
  3. SQL Server instances S7EIM and S7MEM are running and pass DBCC CHECKDB.
  4. SIMATIC Manager opens a sample project without initialization error.
  5. WinCC Comfort/Advanced opens a sample HMI project and compiles without error.
  6. TIA Portal opens a sample project from the correct version.
  7. TIA Update Manager downloads and installs a sample update successfully.
  8. Windows Update is functional and current.
  9. The Siemens Automation License Manager can transfer a license to and from a license stick.
  10. A full system image backup has been captured before returning the workstation to production.
  11. The SmartScreen, AppLocker, and WinHTTP proxy settings have been restored to their corporate-mandated values.
  12. The S7EIM and S7MEM database log files show no errors since the repair.

Frequently Asked Questions

What STEP 7 V5.6 service pack officially supports Windows 10?

STEP 7 V5.6 base officially supports Windows 10 1507 (build 10240) through 1909 (build 18363). For Windows 10 20H1 (build 19041) and later, install STEP 7 V5.6 SP2, which extends support through the current 22H2 build and includes the COM+ and SQL Express fixes required for stable operation.

Why does the WinCC installer refuse to start even after UAC is disabled?

Disabling the UAC slider only suppresses elevation consent prompts. SmartScreen and Software Restriction Policies remain active and independently block unsigned or untrusted bootstrap executables. Unblock the Setup.exe in file properties, temporarily disable SmartScreen, and run the installer from an elevated Command Prompt.

How do I clear corrupted STEP 7 V5.6 registry keys manually?

Export the existing hive under HKLM\SOFTWARE\Siemens\Automation as a backup, uninstall all TIA Portal versions, delete the registry key along with its 32-bit mirror under HKLM\SOFTWARE\Wow6432Node\Siemens\Automation, reboot, then install only the TIA Portal version you intend to keep.

Why does TIA Update Manager fail to reach the Siemens server even after reinstall?

The most common cause is TLS 1.2 disabled in the SCHANNEL client stack or a WinHTTP proxy that does not have *.siemens.com in its bypass list. Enable TLS 1.2 in HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.2\Client, configure the proxy with netsh winhttp set proxy, and resync the Windows time service.

Can STEP 7 V5.6 and TIA Portal V15 coexist on the same Windows 10 laptop?

Yes, but only when TIA Portal is at V15.1 Update 1 or later and STEP 7 is at V5.6 SP2. Earlier TIA Portal V15 builds conflict with the STEP 7 COM+ automation proxies. Always install STEP 7 V5.6 SP2 first, then the TIA Portal version, and verify coexistence with a sample project in each tool.

Back to blog