Resolving WinCC 7.4 SP1 Startup Failure on Windows 10
Affected products: SIMATIC WinCC V7.4 SP1 (engineering & runtime), WinCC flexible 2008 SP5, TIA Portal V13 SP1, TIA Portal V13 SP2, TIA Portal V14 SP1.
Operating system: Microsoft Windows 10 (1607 / 1703 / 1709 / 1809 / 1903 builds verified in the field).
Symptom: SIMATIC WinCC Explorer icon loads, the "WinCC Explorer / Control Center" window flashes once, then the application exits silently. No WinCC project loads, no error dialog is displayed, and the process disappears from Task Manager within 2-3 seconds.
0xC0000142 (DLL initialization failed) or simply returns 0. Event Viewer » Application log shows source "Application Error" with Faulting module name referencing CCExplorer.exe or SQLSERVR.EXE. This is the canonical signature of a SIMATIC HMI group / UAC mismatch on Windows 10.1. Problem Description
A clean installation of SIMATIC WinCC V7.4 SP1 on a Windows 10 workstation appears to succeed - the installer completes, the SIMATIC WinCC program group appears in the Start menu, and double-clicking the WinCC Explorer shortcut launches CCExplorer.exe. The splash screen is painted for approximately one second. The window then closes without any user prompt, no project is loaded, and the process is gone from Task Manager. Launching with "Run as administrator" produces an identical result.
This fault occurs most frequently when the workstation is a multi-purpose engineering seat that also hosts:
- WinCC flexible 2008 SP5 (or earlier Hotfix chain)
- TIA Portal V13 SP1, V13 SP2 or V14 SP1 (any edition: Basic, Comfort, Advanced, Professional)
- STEP 7 V5.5 / V5.6
- Third-party MS SQL Server instances (full SQL Server or SQL Express)
The root cause is almost always one of three underlying issues:
- Installation order violation. WinCC flexible 2008 SP5 was installed after WinCC 7.4 SP1, replacing the bundled SQL Server 2008 R2 instance with an incompatible instance.
-
Missing user-group membership. The engineer / operator account is not a member of the local
Simatic HMIgroup, so CCExplorer cannot acquire the registry hive underHKLM\SOFTWARE\Siemens\Automation. -
User Account Control (UAC) still active. UAC tokens strip write privileges on
%ProgramData%\Siemens\AutomationandHKEY_LOCAL_MACHINE\SOFTWARE\Siemens, even when running elevated through the manifest.
2. Compatibility Matrix
Before re-installing anything, validate the combinations on your target PC. The Windows 10 rules differ significantly from Windows 7 / Server 2008 R2.
| Product | Windows 10 released? | Coexists with WinCC 7.4 SP1? | Required install position |
|---|---|---|---|
| WinCC flexible 2008 SP5 | Yes (released) | Yes | Install FIRST |
| WinCC V7.4 SP1 | Yes | Yes (itself) | Install AFTER WinCC flex 2008 SP5 |
| TIA Portal V13 SP1 | NO - not released | Do not use on Win 10 | n/a |
| TIA Portal V13 SP2 | Yes | Partial (Basic/Comfort/Advanced only) | Install AFTER WinCC 7.4 SP1 |
| TIA Portal V14 SP1 | Yes | Partial (Basic/Comfort/Advanced only) | Install AFTER WinCC 7.4 SP1 |
| TIA Portal V14 SP1 Professional | Yes | NO | Cannot coexist on the same PC |
| STEP 7 V5.5 / V5.6 | Yes (SP6+ on Win 10) | Yes | Install AFTER WinCC 7.4 SP1 |
MS SQL Server 2008 R2 services and registry keys. They cannot occupy the same machine simultaneously, even on Windows 10. Pick one - either a TIA Professional workstation or a WinCC 7.4 SP1 engineering seat, never both.3. SQL Server Compatibility Layer
SIMATIC WinCC V7.4 SP1 internally uses Microsoft SQL Server 2008 R2 SP3 (Express) as the project database. WinCC flexible 2008 SP5 uses the same SQL Server 2008 R2 bit version but a different instance name and collation. Installing WinCC flexible after WinCC V7.4 SP1 overwrites the SQL 2008 R2 binaries under %ProgramFiles%\Microsoft SQL Server\MSSQL10_50.WINCC, which leaves the WinCC V7.4 SP1 database engine pointing to a non-existent MFC application boundary, hence the silent exit.
| Instance | Used by | Default state | Required SQL version |
|---|---|---|---|
WINCC |
WinCC V7.4 SP1 project database | Created by WinCC 7.4 SP1 setup | SQL Server 2008 R2 SP3 (Express or Standard) |
CC_FLEX_SP5 |
WinCC flexible 2008 SP5 recipes | Created by WinCC flex setup | SQL Server 2008 R2 SP2 minimum |
S7HANA?TX |
TIA Portal V13/V14 projects | Created by TIA setup | SQL Server 2014 SP1+ |
Quick SQL Server verification on the troubled workstation:
- Open an elevated
cmd.exe. - Run:
sc query MSSQL$WINCC— the service state must beRUNNING; start type must beAUTO_START(Delayed). - Run:
sqlcmd -S .\WINCC -E -Q "SELECT @@VERSION"— the reply must contain10.50.6000or higher (SQL 2008 R2 SP3). - If the
WINCCinstance is missing entirely, WinCC 7.4 SP1 setup did not complete its database stage. See Section 7 for reinstall procedure.
4. Required User Account Configuration
WinCC 7.4 SP1 reads and writes Windows registry keys under HKLM, files under %ProgramFiles%\Siemens\Automation and %ProgramData%\Siemens\Automation, and DCOM launch permissions across the WCCOA / WinCC scope. A standard Users-group account cannot do all three on Windows 10 due to ACL tightening introduced in 1607.
4.1 Local Group Membership
Add the engineering / runtime operator account to both local groups:
| Group name (English) | Group name (German) | Required for |
|---|---|---|
Simatic HMI |
Siemens HMI |
WinCC runtime service, RT licensing, OPC DA server DCOM launch |
Administrators |
Administratoren |
Engineering tasks (project save, download to runtime, archive configuration) |
Power Users (fallback only)
|
Hauptbenutzer |
Acceptable alternative if the operator is not in Administrators |
Distributed COM Users |
DCOM-Benutzer |
Required when WinCC is the OPC DA client to a remote PLC |
PowerShell / net command to verify and add membership:
net localgroup "Simatic HMI"
net localgroup "Simatic HMI" %USERNAME% /add
net localgroup "Administrators" %USERNAME%
Administrators defeats UAC only when UAC is set to Never notify. Treat the two as a single, mandatory pairing.4.2 Verify the SID SeAssignPrimaryTokenPrivilege
WinCC's runtime service account requires SeAssignPrimaryTokenPrivilege and SeLockMemoryPrivilege. From an elevated cmd.exe:
whoami /priv | findstr /I "primary_token lock_memory"
If the privileges list is empty, the user is being filtered by UAC. Resolve this via section 5.
5. User Account Control (UAC) Configuration
The single most common cause of silent WinCC exit on Windows 10 is UAC. SIMATIC WinCC V7.4 SP1 was developed against the UAC contract valid for Windows 7 (default elevation behavior). On Windows 10 the default UAC level is the third slider position, which strips write access even from elevated tokens.
5.1 Required Value
Open the Local Security Policy editor or set the registry value:
- Press Win+R, type
secpol.msc, press Enter. - Navigate to Local Policies » Security Options.
- Open "User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode".
- Set to "Elevate without prompting".
- Restart the workstation.
Equivalent registry edit (HIGHLY recommended for repeat deployments):
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" \
/v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" \
/v PromptOnSecureDesktop /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" \
/v EnableLUA /t REG_DWORD /d 1 /f
shutdown /r /t 5
| Registry value | Required setting | Meaning |
|---|---|---|
ConsentPromptBehaviorAdmin |
0x00000000 |
Elevate without prompting |
PromptOnSecureDesktop |
0x00000000 |
Do not move prompt to secure desktop |
EnableLUA |
0x00000001 |
Keep LUA enabled (do NOT set to 0 - this disables UAC entirely) |
ConsentPromptBehaviorUser |
0x00000000 |
Silent consent for standard users |
EnableLUA=0. That disables UAC globally, which disables Windows Store apps, OneDrive integrity checks, and signed-binary enforcement. The supported configuration is LUA on, consent prompt off.6. Verified Installation Sequence
The exact order documented in Siemens KB entry WinCC V7.4 SP1 installation requirements for mixed WinCC / TIA systems on Windows 10:
- Install all Windows 10 updates and reboot. Confirm build via
winver. - Disable anti-virus during the entire sequence. Windows Defender real-time protection must be turned off.
- Set UAC as described in Section 5 and reboot.
- Add the engineering account to
Simatic HMIandAdministratorsgroups. Log off and back on. - Install WinCC flexible 2008 SP5 first. Accept all defaults. Note the
CC_FLEX_SP5SQL instance. - Install STEP 7 V5.5 SP6 (or V5.6) if needed. Compatible.
- Install WinCC V7.4 SP1 second. The setup will detect and use the SQL 2008 R2 binaries deployed by WinCC flexible.
- Install TIA Portal V13 SP2 and/or TIA Portal V14 SP1 editions Basic, Comfort, or Advanced ONLY. Professional is forbidden on a WinCC 7.4 SP1 PC.
- Reboot. Launch WinCC Explorer as the engineer user (no "Run as administrator" is needed at this point).
- Re-enable anti-virus after WinCC has verified a project loads and the runtime starts.
6.1 Unattended Install Command
For larger deployments, WinCC V7.4 SP1 supports /silent install. From an elevated cmd.exe on the source media:
D:\WinCC_V74_SP1\Setup\Setup.exe /silent \
/products="WinCC V7.4 SP1" \
/sql="Microsoft SQL Server 2008 R2 SP3" \
/norestart
The mandatory prerequisite chain (each is its own setup.exe invocation):
VC2013RUNTIME_x86.exe /quiet /norestart
DotNet48-KBxxxxxx.exe /quiet /norestart
SQLServer2008R2SP3-ENU.exe /qs /ACTION=install /FEATURES=SQLENGINE
WinCC_V74_SP1_Setup.exe /silent
7. Re-install Procedure (When Setup Itself Failed)
If you are sure the install order was wrong or UAC was on during first setup, perform a clean re-install. This is the canonical Siemens field procedure:
- Open Control Panel » Programs and Features.
- Uninstall in reverse dependency order:
- TIA Portal V14 SP1 (if present)
- TIA Portal V13 SP2 (if present)
- SIMATIC WinCC V7.4 SP1
- SIMATIC WinCC flexible 2008 SP5
- STEP 7 V5.5 / V5.6
- Microsoft SQL Server 2014 TIA instance (if applicable)
- Microsoft SQL Server 2008 R2 instance last - Manually delete leftover directories if they exist:
rd /s /q "C:\Program Files\Siemens\Automation" rd /s /q "C:\ProgramData\Siemens\Automation" rd /s /q "C:\Program Files (x86)\Siemens\Automation" - Clean registry leftovers (run as administrator):
reg delete "HKLM\SOFTWARE\Siemens\Automation" /f reg delete "HKLM\SOFTWARE\Wow6432Node\Siemens" /f - Reboot. Confirm Programs and Features shows no Siemens / TIA entries.
- Re-execute the install sequence in Section 6 with UAC disabled and user groups configured.
cmd.exe with %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\Release\setup.exe /ACTION=uninstall /FEATURES=SQLENGINE /INSTANCENAME=WINCC /QUIET. Reboot afterwards.8. Verification Checklist
After the corrected install sequence, validate each item before declaring the workstation healthy:
| # | Check | Command / Action | Pass criterion |
|---|---|---|---|
| 1 | WinCC Explorer launches | Start » Siemens Automation » SIMATIC » WinCC » WinCC Explorer | Window stays open > 60 s |
| 2 | SQL WINCC instance running | sc query MSSQL$WINCC |
STATE = RUNNING
|
| 3 | SQL connectivity | sqlcmd -S .\WINCC -E -Q "SELECT 1" |
Returns "1" |
| 4 | Simatic HMI group membership | whoami /groups | findstr "Simatic" |
Account is in group |
| 5 | UAC level | reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v ConsentPromptBehaviorAdmin |
Value = 0x0
|
| 6 | Archive directory writable | Open a project » Archive Manager » Start logging | Tags start producing values |
| 7 | Runtime start | Activate WinCC project via RT Start | Runtime graphics appear in GraphEx.exe
|
| 8 | Event log clean | eventvwr.msc » Application log | No Application Error events after 10 min |
9. Log & Diagnostic Locations
When WinCC Explorer still does not stay open, harvest these artefacts before calling support:
| Path | Content |
|---|---|
%ProgramData%\Siemens\Automation\WinCC\Diagnostics |
Live diagnostics, CCLM trace |
C:\Program Files\Siemens\Automation\WinCC\bin\PassDBLog.txt |
User-rights SQL PASS DB trace |
C:\Program Files\Siemens\Automation\WinCC\WinCCExplorer.log |
CCExplorer start sequence |
C:\Windows\System32\winevt\Logs\Application.evtx |
Application Error events |
C:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.WINCC\MSSQL\Log\ERRORLOG |
SQL Server diagnostic log |
Enable verbose WinCC logging before you reproduce the failure:
set CCEC_TRACE=1
set CC_TRACE_LEVEL=3
"C:\Program Files\Siemens\Automation\WinCC\bin\CCExplorer.exe"
10. Troubleshooting Matrix
Map the failure signature to the most probable cause. Start at the top of the table and work down - higher rows fix the majority of cases.
| Symptom | Likely root cause | Remediation |
|---|---|---|
| Splash appears, window closes within 2 s, no dialog | UAC level 3 or Simatic HMI group missing | Section 4 & 5 |
| Window opens but "Database cannot be opened" appears | SQL WINCC instance not running or wrong instance | net start MSSQL$WINCC |
| "License cannot be allocated" at start | User not in Simatic HMI or registry key locked | Section 4, license reset |
| TIA Portal Professional install blocks WinCC flex / WinCC setup | Forbidden coexistence | Uninstall TIA Professional first |
| "MSVCR120.dll missing" | VC++ 2013 Redistributable not installed | Install x86 and x64 versions of VC2013 |
| Explorer launches, but RT does not activate | Project directory ACL issue | Set %ProgramFiles%\Siemens\Automation ACLs to allow Simatic HMI |
| "WinCC has not been installed correctly" dialog | SQL 2008 R2 install incomplete | Reinstall SQL Server, then WinCC |
| Crash only on Windows 10 1903+ builds | Default UAC slider in 1903 was changed back to 3 | Re-apply Section 5 setting |
11. Frequently Asked Questions
Does TIA Portal V13 SP1 actually work on Windows 10?
No. Siemens never released TIA Portal V13 SP1 for any Windows 10 build. TIA V13 SP2 is the minimum TIA release that supports Windows 10, and only the Basic, Comfort, and Advanced editions are compatible with Windows 10 on a workstation that also runs WinCC V7.4 SP1.
Can TIA Portal Professional and WinCC V7.4 SP1 coexist on the same Windows 10 PC?
No. The two products share Microsoft SQL Server 2008 R2 services and overlapping registry hives. A dual installation corrupts the SQL WINCC instance and produces the silent-exit symptom described above. Use one or the other per workstation.
Why must WinCC flexible 2008 SP5 be installed before WinCC V7.4 SP1?
Because both products depend on the same SQL Server 2008 R2 bit version. Installing WinCC flexible after WinCC V7.4 SP1 overwrites the binary tree under %ProgramFiles%\Microsoft SQL Server\MSSQL10_50.WINCC with WinCC flexible's catalogued instance, which then cannot host the WinCC V7.4 SP1 project database.
Do I need to disable UAC completely with EnableLUA=0?
No. Set ConsentPromptBehaviorAdmin=0 and PromptOnSecureDesktop=0 while leaving EnableLUA=1. This achieves the same effective privileges for WinCC while keeping Windows Store apps, signature enforcement, and Windows Hello working.
What local group is mandatory for WinCC runtime on Windows 10?
The engineering / operator account must be a member of Simatic HMI (English) / Siemens HMI (German). For engineering tasks, also add the account to Administrators; for operation-only seats, Power Users is an acceptable lower-privilege alternative.