1. Problem Summary
WinCC RT Professional runtime clients in distributed server/client configurations occasionally fail to open downloaded projects after project modifications are pushed from TIA Portal. The failures present as one or more of three distinct error messages reported by the WinCC RT runtime:
- "Project is locked" – Runtime detects a residual lock file indicating another process owns the project.
- "Server not found" / "Server not available" – Runtime cannot resolve the configured WinCC server endpoint.
- "Project not opened as project could not be opened" – Generic failure during project activation, typically wrapping the underlying lock, server, or path-resolution fault.
In mixed-fleet deployments (four or more clients connected to one server), the failure pattern often presents as a partial outage: some clients activate successfully while two or more remain stuck in error loops. The pattern is repeatable across site deployments running TIA Portal V15 Update 3 (V15.3) and WinCC RT Professional V15.3, particularly across routed subnets where DNS or NetBIOS resolution cannot guarantee computer-name lookup.
2. Affected Versions and Environment
| Component | Version / Setting | Notes |
|---|---|---|
| TIA Portal Engineering | V15 Update 3 (V15.3) | Engineering station (ES) used for project compile and download |
| WinCC RT Professional | V15.3 | Runtime on server and clients; license 6AV2105-... |
| Windows | Windows 10 LTSC / Server 2016 / Server 2019 | Per WinCC V15.3 compatibility matrix |
| SQL Server (WinCC internal) | SQL Server 2014 Express (x64) bundled | Project archive store; instance WINCCPLUS |
| Network | Multiple routed subnets | Server and clients on different IP networks |
| Deployment | 1 server + 4 clients (2 fail, 2 succeed) | Typical enterprise fleet |
3. Root Cause Analysis
Six interacting causes are responsible for the overwhelming majority of these errors. Each must be ruled out independently before commissioning the multi-client fleet.
3.1 Residual ProjectOpened.lck Lock File
When WinCC RT activates a project, it writes ProjectOpened.lck into the WinCC project folder to claim exclusive access. A previous abnormal termination (ES crash, RT service kill, host reboot during activation) leaves the lock file behind. Subsequent activations fail with Project is locked even though no WinCC process actually holds the file.
3.2 Computer Name vs IP Address Resolution
WinCC RT clients configured with the WinCC server's computer name rely on NetBIOS/WINS broadcast or DNS for resolution. Across routed subnets, broadcasts do not propagate. The RT attempts connection, the resolution fails, and the runtime surfaces Server not found or Server not available. Replacing the computer name with the server's IPv4 address in the project configuration eliminates the dependency on name-resolution services.
3.3 Engineering Station (ES) State During Download
If the ES disconnects from the target device mid-download, the project on the RT is left in a partial state. A second download from the ES is normally required to complete the transfer. This applies to both direct TIA Portal downloads and to compilation-then-archive transfers.
3.4 Service-Mode vs Interactive Login
Running the WinCC RT as a service with no interactive Windows user session disables the shell namespace entries (including Simatic Shell) and certain Win32 file-system notifications. Errors that the runtime masks in interactive sessions (such as activation race conditions) become hard failures in service mode. Configuring WinCC RT to start only after a local interactive logon has been shown to substantially reduce activation errors.
3.5 Multi-Subnet Network Path
The WinCC server/client TCP/IP session depends on the following default ports:
| Port | Protocol | Purpose |
|---|---|---|
| 80 | TCP | Web/HTML diagnostics |
| 443 | TCP | HTTPS diagnostics |
| 2308 | TCP | WinCC tunnel / OPC UA server-side |
| 49152–65535 | TCP | WinCC RT dynamic RPC range (Windows ephemeral) |
| 1433 | TCP | SQL Server (WINCCPLUS instance) for archive access |
If a router ACL or Windows Firewall rule on the server blocks any of these inbound ports from the client subnet, the RT cannot complete handshake and reports Server not found.
3.6 Multiple TIA Portal Instances and Open HMI Editors
The ES must not hold an exclusive write-lock on the project file at the moment of download. If a TIA Portal instance on a different engineering PG retains the project open, the compile step on the source PG can complete but the download target rejects the transfer. Field practice: close all HMI editor windows, including the WinCC Explorer, before initiating any download.
4. Diagnostic Procedures
Execute the diagnostics in the order below. Each step rules out one root cause before progressing to the next.
- Confirm TIA Portal and WinCC RT versions: TIA Portal > Help > Installed software. Confirm V15.3 is present, not V15 SP3 (which does not exist).
- Check Windows Event Viewer on each failing client:
Applications and Services Logs > Siemens Automation > WinCC RT Professional. - Inspect the WinCC project folder for the lock file. From the failing client:
explorer <ProjectPath>. Look forProjectOpened.lck. - Verify name resolution from each failing client. Open cmd:
ping <WinCCServerName>. If ping fails or returns the wrong IP, name resolution is the cause. - Verify IP-level reachability:
ping <ServerIP>andtelnet <ServerIP> 2308. - Confirm the Windows user session state on each failing RT host: query
query sessionin cmd. Service-only hosts return no active console session. - Capture network trace on server while a client attempts activation:
netsh trace start capture=yes ipv4.address=<ClientIP>.
5. Resolution A — Delete the ProjectOpened.lck Lock File
Perform on every failing client. The runtime does not hold the lock if WinCC Explorer is closed.
- Close the WinCC Runtime on the client.
- Close the WinCC Explorer if open.
- Open Windows Explorer and navigate to the WinCC project folder, typically:
C:\Program Files\Siemens\Automation\WinCC RT Professional\<ProjectName>\. - Locate the file
ProjectOpened.lck. - Right-click > Delete.
- Confirm the file is removed.
- Restart the WinCC RT service:
sc stop "S7TraceService" && sc start "S7TraceService", or use the WinCC RT start tray icon. - Attempt activation.
ProjectOpened.lck while WinCC RT or WinCC Explorer is active on that host. Forced removal during an active session can corrupt the project archive.6. Resolution B — Activate the Project via Simatic Shell
Simatic Shell is the official remote-activation entry point on WinCC RT Professional. It bypasses the TIA Portal download dialog and is the supported path when the ES is unavailable. Per the official Siemens documentation, the procedure is:
- On the client, open Windows Explorer.
- Navigate to
Network > Simatic Shell. If the entry is not visible, enable Network Discovery on the client. - Expand the Simatic Shell node to list detected WinCC stations.
- Right-click the target server entry.
- Select Activate project (remote) / Activate remote.
- Confirm the project name and click Activate.
- Monitor the runtime status indicator until it reads Running.
Reference: Activating a project (RT Professional) – TIA Portal V21 docs.
7. Resolution C — Replace Computer Name with IPv4 Address
Perform on the engineering station (ES) and re-download to all clients.
- Open the WinCC RT Professional project in TIA Portal V15.3 on the ES.
- Open the device configuration for the RT client.
- Navigate to Runtime settings > Connection.
- In the server address field, replace
\<ServerName>or<ServerName>with the server's static IPv4 address, for example192.168.10.20. - Compile the project (Project tree > right-click device > Compile > Software [only]).
- Download to each client (right-click device > Download to device > Software and hardware).
- Repeat on each failing client.
Cross-subnet deployments should assign the WinCC server a static DHCP reservation or static IPv4 address; do not rely on DHCP lease renewal.
8. Resolution D — Verify ES Connectivity and Re-Download
- On the ES, confirm the PG/PC interface is set to the correct network adapter and reachable subnet: Start > Control Panel > Set PG/PC Interface.
- In TIA Portal, open the project tree and confirm Online > Accessible nodes lists the failing clients.
- Right-click the failing RT device > Download to device > Software and hardware.
- If the download hangs at the closing-project stage, abort and retry after closing any open HMI editor on the ES.
- Repeat the download a second time if the first terminates mid-transfer (this is the documented field behavior to recover from a partial state).
9. Resolution E — Switch From Service-Mode to Interactive Login
- On each failing RT client, open services.msc.
- Locate the WinCC RT service (e.g.,
CCAdminSrvcor the project-specific service created at compile time). - Stop the service.
- Change the service Log On tab from a service account to the local interactive user, or configure the RT to start only after the user signs in.
- Sign out and sign back in on the RT client to establish a fresh interactive session.
- Restart the RT and attempt activation.
If the RT must run unattended, install the WinCC RT as a console session reservation under a domain user with the Allow log on locally and Log on as a service rights; never leave the service running with no interactive session and no reserved console.
10. Resolution F — Firewall and Routing Configuration
- On the WinCC server, open Windows Defender Firewall with Advanced Security.
- Add inbound rules for the WinCC RT ports listed in §3.5, scoped to the client subnet only (do not open to
Any). - On each router between subnets, confirm ACLs allow the same ports from the client subnet to the server subnet.
- Disable Windows Firewall briefly as a test, then re-enable and lock down the rule set.
- Verify with
Test-NetConnection -ComputerName <ServerIP> -Port 2308from each client.
11. Verification Steps
After applying the resolutions, validate the full fleet with the following sequence:
- Confirm no
ProjectOpened.lckfiles exist on any client project folder. - From each client, run
ping -t <ServerIP>for 60 seconds to confirm stable reachability. - From each client, run
Test-NetConnection -ComputerName <ServerIP> -Port 2308; expectTcpTestSucceeded: True. - On the server, confirm the WinCC RT is in Running state and the project is Activated.
- Trigger a remote activation from Simatic Shell on the previously failing client.
- Monitor Diagnostics > Runtime in WinCC Explorer on each client; confirm zero Project is locked, Server not found, or Project could not be opened events over a 30-minute burn-in.
- From the ES, force a re-download of the project to all clients and confirm all four activate successfully without a second download attempt.
12. Preventive Configuration
To prevent recurrence during project modifications and fleet growth:
- Standardize all WinCC server and client addressing on IPv4 addresses, not computer names. Reserve the server IPv4 in DHCP.
- Document the lock-file cleanup procedure in the commissioning runbook and execute it after every TIA Portal crash or forced reboot.
- Maintain a single source of truth (SOT) PG for project compiles. Avoid concurrent downloads from multiple engineering stations.
- Configure Windows Firewall rules on the WinCC server with explicit subnet scopes before commissioning.
- Require an interactive user session on each RT client host; do not run RT unattended in pure service mode.
- Establish a fleet-wide reboot and lock-file audit script using
Get-ChildItem -Path "C:\Program Files\Siemens\Automation\WinCC RT Professional" -Recurse -Filter "ProjectOpened.lck". - Subscribe to Siemens ProductCERT and Firmware Update Service advisories for WinCC RT Professional V15.x; some intermittent activation defects are addressed only in cumulative updates.
13. Troubleshooting Matrix
| Symptom | Likely Cause | First Check | Resolution |
|---|---|---|---|
| Project is locked (single client) | Residual ProjectOpened.lck | Inspect project folder | Delete lock file, restart RT |
| Project is locked (after ES crash) | ES write-lock left in project | Close all HMI editors on ES | Close editors, re-download |
| Server not found (single client) | Computer-name resolution failure | ping <ServerName> |
Switch to IPv4 in RT settings |
| Server not found (entire subnet) | Router ACL / firewall |
Test-NetConnection port 2308 |
Add inbound firewall rule, scope to client subnet |
| Project could not be opened (no lock) | Partial download state | Compile output, download log | Re-download with ES connected |
| Project could not be opened (service mode) | No interactive session | query session |
Sign in locally, restart RT |
| TIA hangs closing project during download | Concurrent ES instance holds project | Close HMI editor on source PG | Single source-of-truth PG |
| Two of four clients fail consistently | Subnet isolation, missing firewall rule | Compare working vs failing client IPs | Open ports from failing subnet |
14. Reference Architecture
The reference topology for a four-client WinCC RT Professional deployment across two subnets:
- Server subnet 192.168.10.0/24: WinCC RT server (192.168.10.20), SQL Server (WINCCPLUS), engineering PG (192.168.10.5).
- Client subnet 192.168.20.0/24: RT client A (192.168.20.21), RT client B (192.168.20.22), RT client C (192.168.20.23), RT client D (192.168.20.24).
- Router: L3 device between subnets, ACL permits TCP 80, 443, 2308, 1433, 49152-65535 from 192.168.20.0/24 to 192.168.10.20.
- DNS: Static A-record for wincsrv to 192.168.10.20, but clients use the IP literal to avoid DNS-dependent failures.
15. FAQ
What is the difference between TIA Portal V15 SP3 and V15 Update 3?
TIA Portal V15 uses Update (UPD) packages, not Service Packs. The third update is labeled V15 Update 3 (V15.3). If you have a build labeled "V15 SP3," it is a mislabel — install the V15.3 update package (HW ID 6AV2100-0AA05-3AA0) from the Siemens Online Support portal.
Can I safely delete ProjectOpened.lck while WinCC RT is running?
No. Deleting the lock file while the runtime or WinCC Explorer is active on the same host can corrupt the project archive and force a restore from backup. Always close the runtime and WinCC Explorer first, delete the file, then restart the runtime.
Why does the client fail to find the server when the server computer name pings correctly?
Ping uses ICMP and does not test the WinCC RT service ports (80, 443, 2308, 1433, dynamic RPC range). A successful ping combined with Server not found indicates either a firewall blocking the WinCC ports or a routed subnet ACL. Use Test-NetConnection -Port 2308 to verify the actual RT service reachability.
How do I activate a WinCC RT Professional project remotely without the engineering station?
Use Simatic Shell on the client. Open Windows Explorer, navigate to Network > Simatic Shell, right-click the target server, and select Activate remote. The full procedure is documented at Activating a project (RT Professional).
Why does TIA Portal hang when closing the project during an HMI download?
The hang typically indicates another TIA Portal instance (on the same or a different engineering PG) holds the project file open, or the WinCC Explorer on the target device has not released its write-lock. Close all HMI editors on every connected PG, close WinCC Explorer on the target, and retry. If the first download terminates abnormally, perform a second download to bring the project to a consistent state.