Resolving PCS 7 V9.1 SP2 WinCC Runtime DLL System Errors
Problem Overview
PCS 7 V9.1 SP2 WinCC Runtime installation on SIMATIC IPC647D or IPC847D stations fails with a Windows System Error dialog citing a missing dynamic-link library. The dialog text reads: The code execution cannot proceed because xxx was not found. Reinstalling the program may fix this problem. where xxx is one or more of the following modules:
ACE60_x64.dllSCSDiscoveryX.dllCCCAGeneral.DLLCCAppHealthCheck.dll
The error occurs during the component-launch phase of the WinCC V7.5 SP2 Runtime installer that ships inside the PCS 7 V9.1 SP2 media. It has been reproduced on Microsoft Windows 10 IoT Enterprise 2019 LTSC (image part number 6ES7650-4MB00-1UA0) and on Windows Server 2019 when these operating systems are deployed through a partition-level image restore before the PCS 7 setup is executed.
The symptom is not a corrupt setup: the same media installs cleanly on a freshly partitioned system or when the WinCC Runtime portion is installed through the User-defined package path of the PCS 7 setup launcher. The DLLs themselves are present in the source distribution but the installer dependency-check chain cannot resolve them in the failing scenario.
Affected Versions and Environment
| Item | Value |
|---|---|
| Source DCS version | PCS 7 V9.1 SP2 (also observed on V9.1 SP2 UC02) |
| Source DCS version (pre-migration) | PCS 7 V9.0 SP3 |
| WinCC Runtime version | V7.5 SP2 |
| Industrial PC | SIMATIC IPC647D, IPC847D |
| OS option A | Windows Server 2016 (from V9.0 SP3) |
| OS option B | Windows Server 2019 (target for V9.1 SP2) |
| OS option C | Windows 10 LTSB 2015 (64-bit, IPC client) |
| OS option D | Windows 10 IoT Enterprise 2019 LTSC (IPC) |
| OS image catalog number | 6ES7650-4MB00-1UA0 |
| SQL Server version (default) | Microsoft SQL Server 2017 |
Refer to the official PCS 7 V9.1 SP2 PC Configuration manual for the full hardware and software matrix that must be satisfied before installation is attempted: PCS 7 - PC Configuration (V9.1 SP2).
Catalog of Missing DLLs
Each DLL belongs to a specific Windows-side dependency that the WinCC V7.5 SP2 Runtime installer links against at component launch. The installer reads the dependency graph from the manifest embedded in the runtime package; if the manifest cannot be parsed or the registered path does not match what the runtime setup expects, the loader fails before any WinCC service is registered.
| DLL | Owner component | Function |
|---|---|---|
ACE60_x64.dll |
WinCC OLE DB / SQL connectivity layer | ACE provider for 64-bit database access; required by WinCC archive and user archive services. |
SCSDiscoveryX.dll |
SIMATIC Communication Services discovery stack | Service discovery for SIMATIC station-level communication; required for OS server / OS client handshake. |
CCCAGeneral.DLL |
CCAgent / Common Component Architecture | General-purpose helper for the central CC agent that supervises WinCC processes. |
CCAppHealthCheck.dll |
CCApplicationHealthCheck | Startup probe that validates WinCC application health prior to launching the runtime surface. |
When one of these DLLs is reported missing, the loader dialog halts the install. Continuing through the error does not register the WinCC services; the next reboot leaves the OS project unable to open in SIMATIC Manager and prevents the creation of OS objects in the engineering client.
Root Cause
The root cause is a stale or partial operating-system image that has been restored at the partition level rather than at the full-disk level. In the documented migration (PCS 7 V9.0 SP3 to V9.1 SP2 UC02 on IPC647D/IPC847D), the engineering team restored the Windows 10 IoT Enterprise 2019 LTSC 64-bit image (part number 6ES7650-4MB00-1UA0) using the SIMATIC IPC Image & Restore tool with the "Restore Windows partition only" option. The hidden recovery partition and the EFI System Partition were preserved from the prior V9.0 SP3 environment, while only the Windows volume was rewritten.
Two failure mechanisms follow:
- The WinCC V7.5 SP2 Runtime installer reads the partition table and recovers installer state from the system volume. With a partial restore, the recovered state references
ACE60_x64.dll,SCSDiscoveryX.dll,CCCAGeneral.DLL, andCCAppHealthCheck.dllat paths or with dependencies that no longer match the V9.1 SP2 distribution. The loader then reports the DLLs as missing. - The recovery-state fragment still binds the installer to the SQL Server 2017 instance configuration that PCS 7 V9.0 SP3 created. When the user-defined installation path is selected as a workaround, the SQL instance is skipped because the recovery state interprets the request as an upgrade rather than a fresh install. SIMATIC Manager then fails to open OS projects or create OS objects because the underlying SQL Server 2017 instance is not present.
The corrective procedure that eliminates both mechanisms is a full-disk reset of the IPC, followed by a clean PCS 7 V9.1 SP2 install.
Solution A — Full Partition Reset and Clean Install (Recommended)
Use this path when the station will be repurposed to PCS 7 V9.1 SP2 from any prior PCS 7 release, or when the OS image has been deployed through a partition-level restore.
Prerequisites
- SIMATIC IPC647D or IPC847D with BIOS boot order that lists the recovery / restore media first.
- USB recovery media built from part number 6ES7650-4MB00-1UA0 (Windows 10 IoT Enterprise 2019 LTSC 64-bit for SIMATIC IPC647D/IPC847D) or the equivalent DVD image for Windows Server 2019.
- PCS 7 V9.1 SP2 installation media. Prefer the extracted media (
PCS_7_V9120.exe) downloaded through Automation License Manager Online Software Delivery. - Administrator credentials for the IPC.
- Network access to the SIMATIC License Manager / Automation License Manager host.
Procedure
- Boot the IPC from the recovery media.
- In the SIMATIC Image & Restore tool, choose Reset partition and start everything from fresh. Do not choose "Restore Windows partition only".
- Confirm that the recovery tool rewrites the EFI System Partition, the recovery partition, and the Windows partition. Wait for the tool to report a clean restore.
- Allow the operating system to complete its first-boot configuration. Apply any OS-level updates, including .NET Framework servicing updates that the WinCC V7.5 SP2 Runtime installer will require.
- Insert or mount the PCS 7 V9.1 SP2 media. If you are using the DVD image, open the DVD drive properties in Windows and enable Auto-mount before launching setup. The Auto-mount toggle is not enabled by default on Windows Server 2019 or Windows 10 IoT Enterprise 2019 LTSC; PowerISO is no longer required because Windows handles ISO mounting natively.
- Launch the PCS 7 V9.1 SP2 setup from the root of the media or from the extraction folder. Accept the standard install path; do not choose a user-defined package at this stage.
- When the setup reaches the package selection dialog, choose the full PCS 7 V9.1 SP2 package list that includes WinCC Runtime, SIMATIC Manager, PCS 7 OS components, and the SQL Server 2017 instance.
- Complete the installation. The setup must finish without any DLL system-error dialog.
- Install the relevant Update Collection (for example, UC02) if it is required by your plant baseline.
- Reboot the station and validate that SIMATIC Manager opens the OS project and that OS objects can be created.
Solution B — User-defined Package Install (Caveated Workaround)
If a full partition reset is not possible, the WinCC Runtime portion of the install can be completed through the user-defined package path. This approach is a workaround only; it is not the recommended corrective action because of the SQL Server side effect described below.
Procedure
- Launch the PCS 7 V9.1 SP2 setup. When prompted, choose User-defined package.
- In the package tree, select WinCC Runtime only.
- Complete the WinCC Runtime install. The DLL system-error dialog will appear; click through it and allow the installer to finish to the end of the package.
- Restart the station.
- Re-launch the PCS 7 V9.1 SP2 setup. Choose User-defined package again and select WinCC Runtime.
- Complete the second pass. The DLL errors do not appear and the runtime services register correctly.
- Install the Update Collection if your plant baseline requires it.
Caveat — SQL Server 2017
The user-defined path skips the SQL Server 2017 instance install. PCS 7 V9.1 SP2 expects a local SQL Server 2017 for the WinCC archive database and for the engineering database. If SQL is missing, the symptoms are:
- SIMATIC Manager opens the PC station but reports errors when opening OS projects.
- OS objects cannot be created in the engineering view.
- The WinCC Explorer cannot attach to a local SQL instance.
After Solution B completes, install Microsoft SQL Server 2017 manually, apply the SQL Server patches that ship on the PCS 7 V9.1 SP2 media, then re-run the PCS 7 setup to register the OS server / OS client components against the new instance.
DVD Image vs Extracted Media
The setup media format matters. Two delivery formats exist for PCS 7 V9.1 SP2:
| Delivery format | Source | Failure modes |
|---|---|---|
| DVD image (.iso) | Automation License Manager > Online Software Delivery, or shipped DVD | Requires Windows Auto-mount enabled. PowerISO is no longer required on Windows Server 2019 / Windows 10 IoT Enterprise 2019 LTSC, but the Auto-mount option is not enabled by default. If Auto-mount is disabled the setup launcher cannot read the dependency manifest and the DLL system-error chain appears. |
Extracted media (PCS_7_V9120.exe extraction) |
Automation License Manager > Online Software Delivery | Runs from a folder on the local file system; no optical drive or ISO mounting is involved. Observed to be more reliable on first install attempts because the dependency manifest is read directly. |
If you cannot enable Auto-mount reliably on the target station, use the extracted media path. The extraction program decompresses the full distribution into a folder that the PCS 7 setup can read with no intermediate mount layer.
Recovery Partition Behavior on SIMATIC IPC
The SIMATIC IPC647D and IPC847D ship with a recovery partition that contains the SIMATIC Image & Restore tool and the factory Windows image. The recovery partition is signed and visible only to the SIMATIC restore environment. When the recovery tool runs in "Restore Windows partition only" mode, it preserves the recovery and EFI partitions but rewrites only the Windows volume. The boot configuration data (BCD) store on the EFI partition is then a composite of the prior OS and the new OS, which is the structural reason that the WinCC V7.5 SP2 Runtime installer dependency-check fails.
The corrective behavior is achieved by selecting "Reset partition and start everything from fresh". The recovery tool rewrites all three partitions and resets the BCD store to a known-good configuration. The first boot of the freshly reset system initializes the OS without inherited state from the previous install, and the PCS 7 V9.1 SP2 setup then resolves all DLL dependencies cleanly.
Verification
After applying Solution A or Solution B, run the following checks before declaring the install successful:
-
WinCC services registered. Open
services.mscand confirm the WinCC services (CCAgent, WinCC Explorer, WinCC Runtime) are listed and set to Automatic startup. - SIMATIC Manager opens OS project. Launch SIMATIC Manager, open the OS project assigned to the station, and confirm that the OS compiles and downloads to the target without errors.
- OS object creation. From SIMATIC Manager, attempt to create a new OS object (for example, a new picture or a new archive tag). Creation must succeed and persist.
- SQL Server 2017 present. Open SQL Server Configuration Manager and confirm that the PCS 7 instance is running. Connect with SQL Server Management Studio and confirm the WinCC archive database is mounted.
-
DLL load check. Open
regeditand search for the four DLL names underHKLM\SOFTWARE\Wow6432Node\SIEMENS\WinCC. Each must have a registered path that points to an existing file on disk. - Update Collection applied. Verify that the installed Update Collection level (for example UC02) is reported by SIMATIC Manager under Help > About.
Troubleshooting Matrix
| Symptom | Likely cause | Action |
|---|---|---|
| DLL system error dialog at WinCC Runtime launch | Partial partition restore or stale BCD | Apply Solution A — full partition reset |
| DLL system error dialog when launching from DVD image | Auto-mount disabled on Windows Server 2019 / Windows 10 IoT Enterprise 2019 LTSC | Enable Auto-mount in the DVD drive properties, or switch to the extracted media |
| SIMATIC Manager fails to open OS project after install | SQL Server 2017 not installed (Solution B side effect) | Install SQL Server 2017 manually, apply PCS 7 V9.1 SP2 SQL patches, then re-run PCS 7 setup |
| OS object creation fails in engineering view | WinCC archive database not mounted | Open SQL Server Management Studio, attach the WinCC archive database, restart the WinCC services |
| Setup reports "another installation is running" after the error dialog | Installer state from the failed run is locked in the registry | Reboot the station, delete HKLM\SOFTWARE\SIEMENS\AUTSW\install state if present, then re-launch the setup |
| PowerISO prompts for license during install | PowerISO is being used as a soft DVD loader on a Windows version that has native ISO support | Disable PowerISO, use the Windows built-in ISO mount with Auto-mount enabled, or use extracted media |
| WinCC Runtime services do not start after install |
ACE60_x64.dll did not register during setup |
Re-run the setup with "Repair" option from Windows Control Panel, or apply Solution A |
Related Installation Notes
- The PCS 7 V9.1 SP2 setup must be run with administrative privileges. Right-click the setup launcher and choose "Run as administrator" even if the current user is in the local Administrators group.
- The MS server role (PCS 7 OS server with system diagnostics enabled) and the MS client role (engineering station) install different component sets. Confirm the role before selecting packages. See the PCS 7 PC Configuration manual for the component lists per role: PCS 7 PC Configuration V9.1 SP2.
- When migrating from V9.0 SP3 to V9.1 SP2, the OS image must be re-deployed through the full-disk reset path even if the underlying IPC hardware is unchanged. The BCD store and recovery partition signatures do not carry forward between major PCS 7 releases.
- If your plant uses centralized licensing, ensure the Automation License Manager service is reachable from the IPC at install time. WinCC Runtime will start without a local license but will not retain project state.
- Keep the Update Collection installer separate from the base PCS 7 V9.1 SP2 installer. Apply the Update Collection after the base install completes and the station has been rebooted at least once.
FAQ
What DLLs are reported as missing when PCS 7 V9.1 SP2 WinCC Runtime install fails?
The setup reports ACE60_x64.dll, SCSDiscoveryX.dll, CCCAGeneral.DLL, or CCAppHealthCheck.dll as missing in the Windows System Error dialog "The code execution cannot proceed because xxx was not found. Reinstalling the program may fix this problem." The error occurs when the WinCC V7.5 SP2 Runtime installer dependency-check fails to resolve one of these modules during component launch.
Why does the WinCC Runtime DLL error appear after restoring the Windows 10 IoT Enterprise 2019 LTSC image on an IPC647D or IPC847D?
The error appears when the SIMATIC Image & Restore tool is run with "Restore Windows partition only" instead of "Reset partition and start everything from fresh". The partial restore leaves the EFI System Partition and recovery partition from the prior OS, which corrupts the boot configuration data that the WinCC V9.1 SP2 installer reads to resolve DLL dependencies. A full partition reset followed by a clean PCS 7 V9.1 SP2 install eliminates the error.
Does the user-defined install path avoid the DLL error, and what is the side effect?
Yes. Selecting User-defined package and installing only WinCC Runtime suppresses the DLL error dialog, but the install skips SQL Server 2017. SIMATIC Manager will then fail to open OS projects or create OS objects because the underlying WinCC archive database has no SQL instance. After the user-defined path completes, install SQL Server 2017 manually, apply the SQL patches from the PCS 7 V9.1 SP2 media, then re-run the setup.
Should I use the DVD image or the extracted media for PCS 7 V9.1 SP2 install?
Prefer the extracted media (PCS_7_V9120.exe) downloaded through Automation License Manager Online Software Delivery. The DVD image requires the Windows Auto-mount option to be enabled in the DVD drive properties, and the option is not enabled by default on Windows Server 2019 or Windows 10 IoT Enterprise 2019 LTSC. The extracted media runs from a local folder and avoids the optical drive mount layer entirely.
How do I verify that the PCS 7 V9.1 SP2 install completed successfully after applying the fix?
Confirm that WinCC services (CCAgent, WinCC Explorer, WinCC Runtime) are registered and set to Automatic in services.msc, that SIMATIC Manager opens and compiles the assigned OS project, that SQL Server Configuration Manager shows the PCS 7 SQL instance as running, that OS object creation succeeds in the engineering view, and that the registry paths under HKLM\SOFTWARE\Wow6432Node\SIEMENS\WinCC resolve ACE60_x64.dll, SCSDiscoveryX.dll, CCCAGeneral.DLL, and CCAppHealthCheck.dll to existing files on disk.