1. Problem Overview
A Siemens PCS 7 (Process Control System 7) Operator Station (OS) running on Windows Server 2003 (W2K3) can launch the WinCC Explorer shell successfully and still fail in three related ways at the same time: the Picture Tree navigation pane renders only the top-level hierarchy, the area pictures do not respond to mouse clicks, and the runtime status banner reports a redundancy message. On the same engineering project copied from a Windows XP SP2 engineering station, the same OS runtime behaves correctly. The combination of a partially-rendered picture tree and inert buttons is a signature symptom of an OS project that has been compiled on one host but never re-built on the runtime target.
Per the official Siemens knowledge base entry Picture Tree is not fully functional until the OS Project Editor has been run, the only sanctioned runtime behavior is that the picture tree is not fully functional until the OS Project Editor has been run on the OS server that will host the runtime. This single constraint resolves the majority of reported incidents and is the starting point for any field fix.
OS_Stby redundancy error often appears in the same OS summary line as the picture tree complaint. The banner is not a separate network fault; treat it as a configuration alarm that must be cleared before the picture tree callbacks will register.2. Affected Versions and Architecture
The symptoms appear on PCS 7 V7.0, V7.1, and V7.5 deployments, all of which ship the OS Project Editor as a post-installation configuration step. The relevant components in scope are:
- WinCC Explorer V7.x — the runtime shell that loads the picture tree.
- WinCC/Options for Process Control V7.x — delivers the Picture Tree applet and the OS Project Editor.
- SIMATIC PCS 7 OS Server — the Windows service that hosts the runtime on the W2K3 host.
- STEP 7 V5.4 or V5.5 — the AS programming tool that defines the AS-OS assignment table.
- SQL Server 2005 or SQL Server 2008 R2 — the archive and message-log backend used by WinCC.
- SIMATIC NET V7.x / V8.x — the industrial network stack that carries S7 communication to the AS.
The exact PCS 7 service pack is rarely visible from the symptom description alone. The Picture Tree behavior is consistent across the entire V7.x line, so the procedures in this guide apply without modification. If a customer reports PCS 7 V8.x or V9.x on Windows Server 2008 R2 or later, the OS Project Editor is no longer a separate post-install step, and the same symptom has a different root cause (typically DCOM or license). Treat the exact version as ambiguous until SIMATIC Manager > Help > About is checked on the engineering station.
2.1 Runtime Data Flow on the W2K3 OS Server
When a user clicks a button on an overview picture, the runtime resolves the click through a chain of six files in the OS project path:
-
<OS_Project>\<ComputerName>\Pictures\<Area>.pdl— the picture definition that the user sees. -
<OS_Project>\<ComputerName>\<Area>.pdt— the per-area index written by the OS Project Editor. -
<OS_Project>\<ComputerName>\ccpictree.bin— the compiled binary representation of the picture tree hierarchy. -
<OS_Project>\<ComputerName>\Pictures.ndx— the master picture name index. -
C:\Windows\Citamis.str— the case-sensitive WinCC string table that maps internal picture IDs to display names. - The Windows registry keys
HKLM\SOFTWARE\Siemens\WinCC\<ProjectName>and theHKCU\SOFTWARE\Siemensmirror — which record the OS server computer name, the redundancy partner, and the runtime paths.
If any link in this chain is missing or points to a path that does not exist on the W2K3 host, the picture tree still appears in the WinCC Explorer shell but the buttons remain inert. The OS Project Editor is the only tool that rewrites steps 2, 3, and 4 atomically; a manual file copy cannot replace it.
3. Root Cause Analysis
Three root causes account for virtually every reported case. Apply the diagnostic in Section 4 to determine which one applies before changing any project data.
3.1 Cause A — OS Project Editor Never Run on the W2K3 Server
The picture tree is generated by the OS Project Editor. If the project was compiled on a Windows XP SP2 engineering station and copied or imported to a W2K3 server without re-running the editor on the server, the runtime reads a partial hierarchy. This is the case the Siemens knowledge base article 109772988 documents explicitly. The fix is procedural and does not require code or registry changes.
3.2 Cause B — Multiproject Package Re-import Failure
In a PCS 7 multiproject, the OS sub-project is distributed from the master project to the OS server through a .pck export-and-import cycle. If the export was taken before the AS-OS assignment table was fully compiled, or if the import was performed against a different computer name than the one assigned in the target OS sub-project, the picture tree on the W2K3 server is empty even though the project is openable. This is the second most common root cause.
3.3 Cause C — OS Redundancy Channel Not Established
When the OS is part of a redundant pair, the WinCC Redundancy applet registers the picture tree callbacks only after the redundancy handshake completes. If the standby server is unreachable, the banner OS_Stby redundancy error is shown and the picture tree appears in a degraded state. This is the symptom the customer observed in the OS summary line and is independent of the picture tree configuration itself, but it must be cleared before the picture tree buttons will fire.
3.4 Amplifying Factors on Windows Server 2003
Two platform differences make the W2K3 host more sensitive to root causes A, B, and C than the Windows XP SP2 engineering station:
- W2K3 enforces stricter DCOM launch and access permissions. If the WinCC runtime service account is changed after install (a common operation in a locked-down server environment), the picture tree callbacks fail silently in the WinCC_Project.log with no entry in the Windows Application event log.
- W2K3 does not auto-create a Windows Firewall exception for
CCRedundancy.exeduring the WinCC install. The default installation on Windows Server 2008 R2 and later does create the rule; on W2K3 the engineer must add the inbound rule for TCP 5678 manually before the redundancy channel can be established.
4. Diagnostic Procedure
Run the following checks in order. The goal is to determine which of the three root causes applies before changing any project data, and to confirm that the W2K3 install itself is not corrupt.
-
Capture the WinCC diagnosis bundle. In WinCC Explorer select
Tools > WinCC Diagnosis > Save Diagnosis Information. Save the bundle to a UNC path. The bundle includesWinCC_Sys.log,WinCC_Project.log, the contents of<OS_Project>\diagnose, and a registry snapshot ofHKLM\SOFTWARE\Siemens\WinCC. -
Search the diagnosis for the picture tree. Run
findstr /i /c:"PictureTree" /c:"OS_ProjectEditor" /c:"missing picture" WinCC_Project.log. Any line containing the words failed or missing after one of these tokens is a direct cause indicator. -
Compare
Citamis.stron both hosts. From the W2K3 command prompt, runfc /b C:\Windows\Citamis.str "\\<ES_Host>\C$\Windows\Citamis.str". The byte-for-byte output must match. If it does not, copy the ES version intoC:\Windowson the server using a method that preserves the case (WinSCP andxcopy /Kboth preserve case on W2K3). - Run a single-project smoke test on the W2K3 host. Create a new single-user OS project on the W2K3 server (do not copy from the multiproject). If the picture tree works there, the install is sound and the fault is in the multiproject package. If the picture tree is also empty, the install is corrupt and the clean-reinstall path in Section 7 is required.
-
Inspect the binary tree file. Open
<OS_Project>\<ComputerName>\ccpictree.binin Windows Explorer. The Modified date must be later than the timestamp of the last Compile OS entry inWinCC_Project.log. If it is older, the OS Project Editor was not run after the last compile. -
Decode the OS redundancy banner. If the status line shows
OS_Stby redundancy errorand the standby OS is up, the redundancy channel is the primary fault. If the standby is intentionally down, the banner is informational and can be ignored for the purpose of the picture tree fix. - Confirm the OS sub-project computer name. In SIMATIC Manager, open the OS sub-project on the engineering station and read the Computer name property. It must match the W2K3 host's NetBIOS name. If the names differ, the picture tree will resolve to non-existent paths and the runtime will silently drop the click events.
.pck file and forces a full redundancy resync that can take 30 minutes per server. Run the diagnostic first.5. Resolution Path 1 — Run the OS Project Editor
This is the procedure recommended by the Siemens support entry Picture Tree is not fully functional until the OS Project Editor has been run. Apply it first, regardless of whether a re-import is also planned.
- Open WinCC Explorer on the W2K3 server with an account that is a member of the local
SIMATIC HMIgroup and the localAdministratorsgroup. - Deactivate the runtime if it is active:
WinCC Explorer > File > Activate Runtime(the menu text toggles to Deactivate when the runtime is running). - In the project tree, right-click the OS server node and select OS Project Editor. If the entry is grayed out, the runtime is still active; close it explicitly.
- In the first dialog, accept the auto-detected computer name. Do not change the computer name to match the engineering station. The editor must write the path-local configuration of the W2K3 host, not the ES.
- Open the Picture Tree tab. Verify that at least one area picture is assigned to a node. If the list is empty, the AS-OS assignment table was never compiled into this OS; jump to Section 6.
- Click OK and confirm the rebuild prompt. The editor rewrites
ccpictree.bin,Pictures.ndx, and the per-area*.pdtindex files inside<OS_Project>\<ComputerName>\. - Restart the WinCC runtime. Once the graphics runtime is fully loaded, press
Ctrl+Shift+F5to force a complete reload of the navigation data from the rewritten binary. - Expand the first two levels of the picture tree and click a process picture button. The screen change must occur within one second.
5.1 Editor Parameter Reference
| Parameter | Default | Effect on picture tree |
|---|---|---|
| Area picture root | @1001.pdl | Top-level picture displayed when the user clicks the root node of the tree |
| Maximum tree depth | 8 | Number of hierarchy levels generated in ccpictree.bin
|
| Generate picture name index | Yes | When disabled, area pictures must be opened by number, not by name; the picture tree shows the names but cannot resolve them |
| Include area picture change log | No | When enabled, the editor writes a *.chg log into <OS_Project>\diagnose on every change |
| Run in redundant mode | Auto | Forces the editor to write the partner computer's name into the redundancy section of Citamis.str
|
1904 from source WinCC Graphics Runtime. This is logged when an action DLL is blocked by a missing dependency, typically PDLRT.dll, CCAlgRt.dll, or CCAlgCli.dll. Reinstalling WinCC/Options for Process Control restores the missing DLL.6. Resolution Path 2 — Multiproject Package Integrity
If the picture tree list inside the OS Project Editor is empty, the OS sub-project was compiled on the engineering station with picture references that do not exist on the W2K3 server. The remedy is to re-export the OS package from the engineering station and re-import it on the server with the correct target assignment.
- On the engineering station, open SIMATIC Manager and load the multiproject. Verify the ES in
Help > Aboutreports the same PCS 7 version that is installed on the W2K3 host. - Select the OS server sub-project, then choose Options > OS > Export.... Save the package as
OS_Server_<n>.pckon a UNC path visible to the W2K3 server. Enable the Include picture files and Include computer-specific data check boxes. - On the W2K3 server, open the same multiproject master database, then choose Options > OS > Import.... Point to the
.pckfile and select Overwrite existing OS sub-project. - After the import completes, run the OS Project Editor again per Section 5. The editor detects the new package and rewrites the picture tree indexes against the freshly imported pictures.
- Compile the OS (right-click the OS sub-project > Compile OS) and confirm the message OS successfully compiled appears in the project log.
- Activate the runtime and verify the picture tree.
6.1 Import Failure Modes
| Symptom | Cause | Corrective action |
|---|---|---|
| Import reports success but the picture tree is empty | Target computer name in the package does not match the W2K3 host name | Open the OS sub-project on the W2K3 server, set the Computer name property to the W2K3 NetBIOS name, recompile |
| Import fails with Database is locked | SQL Server service on the W2K3 server is stopped or in single-user mode | Open SQL Server Configuration Manager, restart the SQL Server (WINCC) instance, retry the import |
Import completes but event ID 7000 from CCLicenseServer appears |
WinCC license plug-in is missing on the W2K3 host | Transfer the WinCC V7.x Server license key to the Automation License Manager on the W2K3 host and restart the CCLicenseServer service |
| Picture tree loads but area pictures show a red X | Picture files (*.pdl) were excluded from the package export | Re-export with Include picture files enabled in the OS export dialog |
Import completes but Citamis.str is unchanged on the W2K3 host |
The export was taken with a different WinCC/Options for Process Control version | Verify the version under Help > About on both hosts; reinstall the option on the older host |
7. Resolution Path 3 — Clean Reinstall on Windows Server 2003
If the OS Project Editor and the multiproject re-import both fail to restore the picture tree, the W2K3 install itself is suspect. PCS 7 V7.x installers leave residual files in the registry and in Windows\System32 that the standard Add/Remove Programs sequence does not remove. The customer ticket documented exactly this — after a standard uninstall, components such as STEP 7 and WinCC Runtime remained in the Add/Remove Programs list, and a re-install did not clear the picture tree fault. Use the procedure below for a clean baseline before a fresh install.
- Open Control Panel > Add or Remove Programs and uninstall in this exact order: SIMATIC PCS 7, STEP 7, WinCC Runtime, WinCC Options for Process Control, SIMATIC NET, SQL Server (WINCC). Do not reboot between entries; let the installer chain complete. Reboot only after the last entry is removed.
- In Windows Explorer, delete the Siemens folder under
%ProgramFiles%\Siemensand anySiemens\Automationtree. If files are locked, open a command prompt and runtaskkill /im s7o* /ffollowed bytaskkill /im cc* /fbefore the delete. For files that remain locked, the SysinternalsHandletool with the-cswitch is field-proven on W2K3. - Open
%WINDIR%\System32and delete every DLL whose name begins withS7(for exampleS7WINAU.DLL,S7OTBXDX.DLL,S7OZS7X.DLL,S7APSTEP.DLL). Usedir /b S7*.dllto enumerate; confirm the case-insensitive search returns no further matches before continuing. - Open the registry editor (
regedit) and back up the following keys withreg export:
reg export "HKLM\SOFTWARE\Siemens" C:\backup\HKLM_Siemens.reg /y
reg export "HKCU\SOFTWARE\Siemens" C:\backup\HKCU_Siemens.reg /y - Delete the following keys, including all sub-keys and values:
HKEY_LOCAL_MACHINE\SOFTWARE\Siemens
HKEY_CURRENT_USER\SOFTWARE\Siemens - Reboot and confirm that
regeditno longer shows any Siemens key underHKLMorHKCU. Only then proceed with a fresh PCS 7 install from the original media.
reg export backup in step 4 is mandatory. If a corporate Group Policy pushes Siemens settings back into the registry on the next boot, the picture tree will re-fail and the engineer will see the same symptom after a clean install. Disable the relevant GPO or move the host to an OU without Siemens policy before continuing.7.1 Field-Proven Caveats on the Clean Reinstall
- On W2K3 R2, the
Siemensfolder under%ProgramFiles%may be a junction point. Usedir /A:Lfirst; if it is a junction, delete the target and then the junction. - The
S7*DLLs are also copied to%WINDIR%\SysWOW64on a W2K3 host that has the Windows-on-Windows subsystem installed. Repeat step 3 against that folder. - Do not delete
S7OTBXS.DLL; it is shipped by STEP 7 and is required for online S7 communication. The clean-reinstall procedure targetsS7*DLLs that were placed inSystem32by the PCS 7 installer, not by STEP 7.
8. Decoding the OS Redundancy Status Banner
The status line OS_Stby redundancy error is generated by the Redundancy applet of WinCC. It is informational when the standby OS is intentionally deactivated. It is a fault when both OS servers are running but do not see each other on the redundancy port. The error alone does not break the picture tree, but if both servers report it, the WinCC redundancy layer will not register the picture tree navigation and buttons will appear inert.
| Banner text | State | Action |
|---|---|---|
OS_Stby redundancy error + Standby OS shown as Deactivated
|
Normal if maintenance is in progress | None; reactivate the standby when ready |
OS_Stby redundancy error + Standby OS shown as Active
|
Both servers are running but cannot establish the redundancy channel | Check the WinCC redundancy port (default TCP 5678) on both servers and the Windows Firewall exception for CCRedundancy.exe
|
OS_Mast redundancy error |
The master cannot see the standby | Verify the partner computer name in OS Project Editor > Redundancy matches the standby's Computer name property |
| No banner; picture tree buttons inert | OS Project Editor not run on the server | Apply Resolution Path 1 (Section 5) |
Banner flashes between OS_Mast and OS_Stby every few seconds |
Redundancy partner is in start-up; the runtime is waiting for the handshake | Wait 60 seconds; if the banner does not stabilize, the partner's SQL Server archive database is unreachable |
8.1 Restoring the Redundancy Channel on W2K3
- Open Windows Firewall with Advanced Security on both OS servers. Create an inbound rule for
CCRedundancy.exe(default pathC:\Program Files\Siemens\Automation\WinCC\bin\CCRedundancy.exe) on TCP port 5678. - Open
SIMATIC NET > Commissioning Wizardon both servers and verify that the IE/PG interface of the S7ONLINE access point is bound to a physical network adapter, not to the MS Loopback adapter. A loopback binding is the most common reason that the redundancy channel stays open without a successful handshake. - Restart the
SIMATIC WinCC Redundancyservice on both servers. The banner should clear within 30 seconds and the standby status should change from Error to Standby.
9. Verification Checklist
Confirm every item below before closing the ticket. Each step has a deterministic, script-free check that any commissioning engineer can perform in under one minute.
- Picture Tree renders: In the active runtime, expand the first two levels of the picture tree. Every node must show the assigned icon and a non-empty label.
- Button click fires: Click any process picture button on the overview area. The screen change must occur within one second. If the screen flashes but does not change, the action handler is bound to the wrong picture name.
-
ccpictree.bintimestamp: Open<OS_Project>\<ComputerName>\ccpictree.binin Windows Explorer and confirm its Modified date is later than the latest Compile OS timestamp in the project log. -
Diagnose clean: Open
<OS_Project>\diagnose\WinCC_Project.log. There must be no entry containing the wordsPictureTreefollowed byfailedormissing. -
Redundancy banner: If the OS is part of a redundant pair, the status line must show
OS_Mast activeandOS_Stby standby. Any other state must be triaged per the matrix in Section 8. - Single-project test: Create a brand-new single-user OS on the W2K3 host and verify the picture tree. If it works there, the multiproject re-export (Section 6) is confirmed to be the fix.
-
Citamis.str hash: Run
certutil -hashfile C:\Windows\Citamis.str SHA256on the ES and on the W2K3 server. The two hashes must match. -
Registry consistency: On the W2K3 server, open
regeditand confirmHKLM\SOFTWARE\Siemens\WinCC\<ProjectName>\Redundancy\Partnercontains the NetBIOS name of the standby server.
10. Preventive Maintenance and Best Practices
Picture tree issues are nearly always introduced by a discrepancy between the engineering project and the runtime target. The following rules eliminate the majority of repeat incidents on W2K3 fleets.
- Pin the engineering OS to the same Windows revision as the runtime OS. Compiling an OS on Windows XP SP2 and running it on Windows Server 2003 is supported but requires that the OS Project Editor be re-run on the server after every Compile OS on the ES.
-
Always export and re-import the
.pckpackage when moving an OS to a new host. Do not copy the project folder with the file system; the package mechanism updates the path-localCitamis.strand the computer name bindings. - Document the OS Project Editor run as a line item in the commissioning checklist. Most teams discover this requirement only after the first symptom, per the Siemens KB entry 109772988.
-
Back up
HKLM\SOFTWARE\SiemensandHKCU\SOFTWARE\Siemenswithreg exportbefore any service pack install on the W2K3 host. Group Policy refresh can silently re-create these keys with a value set that hides the picture tree. -
Reserve a static IP and an open redundancy port for each OS server. WinCC redundancy uses TCP 5678 by default. Confirm the Windows Firewall on W2K3 SP2 has an explicit inbound rule for
CCRedundancy.exe; the default installation only creates the rule on Windows Server 2008 R2 and later. - Add the OS Project Editor step to the change-management workflow. Any AS program change that adds a new picture name to the AS-OS assignment table must trigger a re-run of the editor on every OS server that hosts a runtime of the affected sub-project. Without this, the new area picture will not appear in the picture tree even after a successful Compile OS on the ES.
-
Stagger the OS Project Editor run between redundant servers. Run the editor on the standby first, then fail over, then run on the new standby. This prevents a momentary mismatch in
ccpictree.binbetween the two servers that can cause the redundancy banner to flash and the picture tree to appear empty for up to 30 seconds.
10.1 Diagnostic Flow Diagram
11. Frequently Asked Questions
Does the OS Project Editor have to be re-run on the OS server after every Compile OS on the engineering station?
Yes. Per Siemens KB 109772988, the picture tree is regenerated only when the OS Project Editor runs against the target OS project. A Compile OS on the engineering station writes the picture name table but does not refresh ccpictree.bin on the runtime server.
Why does the same OS project work on Windows XP SP2 but not on Windows Server 2003?
The OS Project Editor was likely run on the XP engineering station, so the picture tree is functional there. The W2K3 server is a fresh runtime host and the editor has not been run against the imported package, so its ccpictree.bin is either stale or was never written.
Can I copy the project folder directly from the ES to the W2K3 server instead of using a .pck package?
It is not recommended. The package export carries path-local strings, computer name bindings, and license placeholders. A direct copy leaves Citamis.str and the OS server computer name pointing at the XP host, which is the second most common cause of an empty picture tree on W2K3.
What is the meaning of the OS_Stby redundancy error banner?
It is generated by the WinCC Redundancy applet. If the standby OS is intentionally deactivated, the banner is informational. If the standby is running and the banner is still shown, the redundancy channel (default TCP 5678) is blocked; check the Windows Firewall rule for CCRedundancy.exe on the W2K3 host.
Is the registry cleanup under HKLM\Software\Siemens and HKCU\Software\Siemens safe?
Yes, provided a clean uninstall of PCS 7, STEP 7, WinCC Runtime, and WinCC Options for Process Control has already been performed and the system has been rebooted. Back up both keys with reg export first and verify no Group Policy re-creates them on the next boot.
After a clean uninstall and reinstall, the picture tree is still empty. What is the next step?
Confirm that the OS sub-project's Computer name property matches the W2K3 host's NetBIOS name, run the OS Project Editor once on the runtime host, and verify the Citamis.str hash matches the engineering station. If the picture tree is still empty, the picture files (*.pdl) were excluded from the package export; re-export with Include picture files enabled.