1. Problem Definition: WinCC AutoStartRT Server Not Available
On a SIMATIC WinCC v6.2 multi-user system, the client stations launch the WinCC runtime through the AutoStartRT entry configured in the WinCC project. After a period of reliable operation, the client logs in, attempts to start the runtime, and immediately receives a "Server Not Available" dialog. The runtime does not proceed past the login screen; it loops between the login prompt and the error dialog until the operator intervenes. The error appears on all four clients simultaneously, which indicates a centralized failure rather than an isolated client workstation fault.
This fault is distinct from a runtime crash, a project loading error, or a license violation. The error text is generated by the WinCC connection manager when the client process cannot establish a logical channel to the WinCC server during the auto-start sequence. The root cause can be in any of the following layers:
- Layer 1 – TCP/IP network reachability (IP, subnet mask, default gateway, DNS/WINS, NetBIOS).
- Layer 2 – Windows name resolution and remote procedure call (RPC) / DCOM permissions.
- Layer 3 – SIMATIC Shell configuration and Server Data assignment on the client.
- Layer 4 – WinCC services on the server (CCEsGrafRT, CCRtManager, CCDistributor, CCSysdiag).
- Layer 5 – User account control, login credentials, and group membership for the auto-start account.
- Layer 6 – Host firewall or third-party endpoint protection blocking the legacy WinCC ports (UDP 137/138, TCP 139, TCP 102, dynamic DCOM range).
The remainder of this article walks through each layer in sequence and provides verifiable checks at every step.
2. Affected Versions and System Topology
The reported environment is SIMATIC WinCC V6.2 SP3 running on a Windows Server 2003 / XP Professional client base. WinCC V6.2 is a legacy generation that predates TIA Portal but shares the same logical architecture: one WinCC Server holds the process image and archive database, and one or more WinCC Clients connect via the SIMATIC Shell transport (RPC over named pipes / TCP).
| Component | Version / Role | Notes |
|---|---|---|
| WinCC Server | SIMATIC WinCC V6.2 SP3 (or later SP up to V6.2 SP7) | Holds project, archives, and licenses; must be in Multi-User mode. |
| WinCC Clients | 4 stations, WinCC V6.2 RT Client | Configured with AutoStartRT shortcut pointing to a generated Server Data set. |
| Operating System – Server | Windows Server 2003 SP2 / Server 2008 R2 | Domain controller role optional but common. |
| Operating System – Clients | Windows XP Professional SP3 or Windows 7 Professional | Domain members. |
| Transport | SIMATIC Shell over RPC/DCOM | Requires static IP or DHCP reservation and identical subnet. |
| User Account for Auto-Start | Domain or local user with WinCC rights | Must be added to SIMATIC HMI and SIMATIC NET groups on the server. |
The same diagnostic flow applies to modern WinCC Runtime Professional (TIA Portal V20) installations. The conceptual steps—network reachability, project assignment, autostart configuration, service verification—are identical; only the menus and registry keys differ. For TIA Portal V20, refer to the official Additional settings: Autostart and language (RT Professional) documentation for the V20-specific autostart UI.
3. First-Line Diagnostic: Network Reachability
Before touching WinCC configuration, confirm the simplest layer: can the client resolve the server name and reach it on the required ports?
- Open a command prompt on the affected client and run
ping <ServerName>using the short computer name, the fully qualified name, and the IP address. All three must respond. If the short name fails but the IP works, the problem is name resolution (WINS, DNS, or NetBIOS). - Run
ipconfig /allon both server and client. Verify that:- IP addresses are static (or DHCP reservations) and do not overlap.
- The Subnet Mask is identical (e.g.
255.255.255.0). - The Default Gateway is present on every station if cross-subnet traffic is required.
- Both stations register the same Primary DNS Suffix if they are in a domain.
- Run
nbtstat -a <ServerName>on the client. A registered <20> (File Server Service) entry must appear. If not, NetBIOS is broken—often because of a disabled TCP/IP NetBIOS Helper service or an overly aggressive firewall. - Open
telnet <ServerName> 139(or use PowerShellTest-NetConnection -Port 139) and confirm a session is established. Repeat for port 102 (S7ONLINE) if the server acts as a SIMATIC S7 gateway.
ping success is necessary but not sufficient. The WinCC client transport uses SMB (TCP 445 in modern Windows, TCP 139 in legacy), RPC ephemeral ports, and on some installations TCP 1433 (SQL Server for the WinCC archive database). If only ICMP is open, ping will succeed while WinCC fails.4. SIMATIC Shell and Server Data Verification
The SIMATIC Shell (the small SIMATIC icon in the system tray) is the runtime representation of the server/client relationship. On the client, right-click the SIMATIC Shell icon and select Settings:
- Confirm the Server entry matches the computer name of the WinCC server (no trailing spaces, no FQDN when the project expects short name).
- Click Test Connection. A successful test should return "Connection to server <Name> is OK" within 1–2 seconds.
- If the test fails with Server Not Found, the WinCC Server service is not publishing its endpoint. Restart the
CCEsGrafRTandCCDistributorservices on the server.
The Server Data (German: Serverdaten) is the file generated in WinCC Explorer via Server Data > Create and copied to each client. It encodes the project path, the SQL instance, the redundancy configuration, and the user-rights list. If the server's IP, computer name, or SQL instance name changes after the Server Data was generated, the client holds stale information and will fail to connect.
- On the server, open WinCC Explorer > Server Data.
- Verify the path on the General tab; the default is
<ProjectPath>\<ComputerName>\<ServerName>_ServerData.pck. - Regenerate the Server Data with Create even if no changes were made. This refreshes the file with current system information.
- Copy the new
*.pckfile toC:\Program Files\Siemens\WinCC\ServerDataon every client (or the path configured during the original install). - Open the client's SIMATIC Shell, point to the new Server Data file, and click Apply. The shell will prompt to log off and back on for the new rights to take effect.
WINCC vs. WINCC2), the Server Data still references the old instance. Check SQL Server Configuration Manager on the server and confirm the WinCC instance is present and started.5. AutoStartRT Configuration Walkthrough
On the client, the auto-start mechanism is implemented by a Windows shortcut or scheduled task that calls the WinCC client executable with the generated project package. In WinCC V6.2, this is typically:
"C:\Program Files\Siemens\WinCC\bin\AutoStartRT.exe" "C:\Program Files\Siemens\WinCC\ServerData\<ServerName>_ServerData.pck" /LANG=ENU
For modern systems running TIA Portal V20, the configuration is performed inside the TIA project and pushed to the runtime. The official Siemens documentation describes the procedure as follows (see Additional settings: Autostart and language (RT Professional)):
- Open the WinCC RT Professional configuration in TIA Portal.
- Navigate to the Autostart tab.
- Activate Autostart.
- In the Settings area, under Autostart project, select the WinCC server project to which the client should connect.
- Compile and download the configuration to the client runtime.
For the legacy WinCC V6.2 path, verify the following on the client:
- The shortcut target exists and the file path is correct.
- The user account launching the shortcut has Modify rights to the
ServerDatafolder. - The shortcut is placed in the Startup folder of the auto-start user (
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup) or invoked throughAutoStart Configurationin WinCC Explorer.
If the auto-start user is a local account (not a domain account), and the server is a domain member, the Server Data lookup will silently fail. Always launch the WinCC client with the same account that has rights on the server's SIMATIC HMI user group.
6. Windows Services That Must Be Running on the Server
WinCC v6.2 relies on a tight set of services on the server. The Server Not Available message will appear if any of the following are stopped:
| Service Name | Display Name | Startup Type |
|---|---|---|
| CCEsGrafRT | SIMATIC WinCC Explorer Runtime | Automatic |
| CCDistributor | SIMATIC WinCC Distributor | Automatic |
| CCSysdiag | SIMATIC WinCC System Diagnostics | Automatic |
| CCArchiveManager | SIMATIC WinCC Archive Manager | Manual |
| CCProjectManager | SIMATIC WinCC Project Manager | Manual |
| MSSQL$WINCC | SQL Server (WINCC) | Automatic |
| SQLAgent$WINCC | SQL Server Agent (WINCC) | Manual |
| RPCSs | Remote Procedure Call (RPC) | Automatic |
| LmHosts | TCP/IP NetBIOS Helper | Automatic |
| lanmanserver | Server | Automatic |
Run services.msc on the server and verify that every service in the table above is in the Running state. If the MSSQL$WINCC service has stopped, no WinCC client can establish a database session, and the auto-start logic will fail with the same symptom. Restart in this order: MSSQL$WINCC → CCEsGrafRT → CCDistributor → client workstation.
7. DCOM, Firewall, and User-Rights Configuration
WinCC uses DCOM (Distributed Component Object Model) heavily. A Windows security update or a GPO push can silently revoke DCOM rights and reproduce this exact error.
7.1 DCOM Access Permissions
- On the server, run
dcomcnfg. - Navigate to Component Services > Computers > My Computer.
- Right-click My Computer > Properties > Default Properties tab.
- Set Enable Distributed COM on this computer to checked.
- On the COM Security tab, click Edit Limits under Access Permissions and ensure Everyone or the Authenticated Users group has Local Access and Remote Access.
- Repeat under Launch and Activation Permissions.
7.2 Windows Firewall
The Windows Firewall on the server and on every client must allow the following inbound rules:
| Port / Protocol | Purpose | Notes |
|---|---|---|
| TCP 139 | NetBIOS Session Service | Legacy WinCC path. |
| TCP 445 | SMB Direct | Modern Windows path. |
| UDP 137 / 138 | NetBIOS Name / Datagram | Required for name resolution on legacy networks. |
| TCP 102 | ISO-on-TCP (S7ONLINE) | Required if WinCC is also an S7 gateway. |
| TCP 135 + dynamic 49152-65535 | RPC / DCOM | Restrict to the WinCC subnet if possible. |
| TCP 1433 | SQL Server default | Only if SQL listens on default port; verify with SQL Server Configuration Manager. |
If the firewall was the cause, create inbound rules with scope limited to the IP range of the WinCC subnet to minimize exposure.
7.3 User Account Rights
On the server, the auto-start user (and every user expected to log in to the client) must be a member of:
SIMATIC HMISIMATIC HMI VIEWERSQLServerMSSQLUser$<ComputerName>$WINCC
Membership can be verified with net user <username> /domain from any command prompt. If the user was added to these groups after the server was rebooted the last time, the user must log out and back in on the client to receive a fresh Kerberos ticket.
8. Step-by-Step Diagnostic Procedure
Execute the following procedure in order. Stop at the first step that fails and remediate before moving on.
-
Verify network reachability.
pingby IP, FQDN, and short name from a client. All three must succeed. -
Verify name resolution.
nbtstat -a <ServerName>shows registered services. -
Verify port accessibility.
Test-NetConnection -Port 445and-Port 102(if applicable) both return TcpTestSucceeded: True. - Verify WinCC services on the server. Every service in the table of Section 6 is Running.
-
Verify SQL Server.
SQL Server Configuration ManagershowsMSSQL$WINCCstarted. Open SQL Management Studio and connect tolocalhost\WINCCwith the WinCC service account. - Regenerate and reapply Server Data. See Section 4.
- Re-test SIMATIC Shell connection on the client. Right-click > Settings > Test Connection.
-
Launch the runtime manually. From the client, run
AutoStartRT.exewith the Server Data path as argument. If it starts, the auto-start mechanism (Startup folder, scheduled task, or registryRunkey) is the problem. - Launch the WinCC client from the server. From the server's own console, open SIMATIC Shell and add the local server. If the server cannot start its own runtime, the project itself is corrupted; restore from backup.
-
Capture diagnostics. Enable the WinCC diagnostics trace (
CCSysDiagon the server) and reviewC:\Program Files\Siemens\WinCC\Diagnosticslog files for the Connection and License channels.
9. Verification and Acceptance Test
After remediation, perform the following acceptance checks on every client:
- Reboot the client while the server remains running.
- Log in with the auto-start user. The WinCC runtime should appear within 30 seconds without any user interaction.
- Confirm the process
CCEsGrafRT.exeis visible in Task Manager on the client. - In the running runtime, open the System Information or Status dialog and confirm the Server field shows the correct computer name and a green connection indicator.
- Force a value change in a tag on the server (or in the WinCC tag simulation) and confirm the change is reflected on the client within the configured update cycle (default 1 s).
- Repeat steps 1–5 with the server cold-booted, to simulate a power outage scenario.
10. Common Pitfalls and Field-Notes
| Symptom | Likely Cause | Remediation |
|---|---|---|
| One client fails, others succeed | Local firewall, local IP change, or local user rights | Compare the failing client against a working one with winmsd /report or msinfo32 /report. |
| All clients fail simultaneously | Server service stopped, server IP change, or Server Data stale | Check server services first, then regenerate Server Data. |
| Intermittent failure after server reboot | Service startup order, SQL not yet accepting connections | Set WinCC services' Dependencies on MSSQL$WINCC in services.msc. |
| Works on Monday, fails on Tuesday | Windows Update pushed new firewall rules or DCOM ACLs | Audit recent updates with wmic qfe list; consider a GPO exclusion. |
| Error appears only after a 10–15 minute power-down | DHCP lease expired and another device took the server's IP | Convert to static IP or DHCP reservation; check arp -a on the switch. |
| "Server Not Available" appears, but the server is up and project is running | SIMATIC Shell cache is stale | Delete %LOCALAPPDATA%\Siemens\SIMATIC.Shell\* on the client and re-test. |
11. Quick Reference: WinCC Connection Ports and Services
# Sample verification script (run on a client)
Test-NetConnection -ComputerName <ServerName> -Port 445
Test-NetConnection -ComputerName <ServerName> -Port 139
Test-NetConnection -ComputerName <ServerName> -Port 135
Test-NetConnection -ComputerName <ServerName> -Port 102
# On the server
sc query CCEsGrafRT | findstr STATE
sc query CCDistributor | findstr STATE
sc query MSSQL$WINCC | findstr STATE
# Regenerate Server Data
"C:\Program Files\Siemens\WinCC\bin\CCProjectMgr.exe" /CreateServerData
12. When to Escalate to Siemens Support
If the procedure above does not restore connectivity, escalate with the following artifacts:
- Screenshots of SIMATIC Shell > Settings > Test Connection on a failing client.
- The full
CCSysDiaglog archive from the server for the timeframe of the failure. - The
WinCC.<ServerName>_<Timestamp>.logfromC:\Program Files\Siemens\WinCC\Diagnostics\Logs. - The output of
systeminfo /s <ServerName>from the client. - The exact build numbers: WinCC V6.2 SPx, Windows version, SQL Server version.
Open a support request at the Siemens Industry Online Support portal with the tag WinCC V6.2 Multi-User AutoStartRT Server Not Available. Provide the diagnostic package as a ZIP archive; large files may be uploaded through the secure Siemens SmartTrace link.
What is the fastest way to confirm whether the issue is network-related or WinCC-related?
Run ping <ServerName> and Test-NetConnection -Port 445 from the client. If both succeed, the network is functional and the fault is in WinCC configuration (Server Data, SIMATIC Shell, or user rights). If either fails, remediate the network before touching WinCC.
The client worked yesterday; what changes could break it without any work order?
Common silent breakers include: a Windows Update that resets DCOM ACLs or firewall rules; a DHCP lease expiration causing the server's IP to change; an SQL Server service that stopped after an automatic restart; a GPO push that modifies SIMATIC HMI group membership; or an antivirus signature update that quarantines CCEsGrafRT.exe or AutoStartRT.exe.
How do I regenerate the Server Data file in WinCC v6.2?
On the server, open WinCC Explorer, select the project, then choose Server Data > Create. The system writes a *_ServerData.pck file under <ProjectPath>\<ComputerName>\. Copy this file to every client's ServerData folder and re-apply it through the SIMATIC Shell > Settings dialog. The client will require a log-off / log-on to refresh rights.
Why does the auto-start shortcut fail when the runtime starts manually?
The auto-start runs under a different user context (typically the local SYSTEM or a scheduled-task identity) than a manual launch. Confirm the auto-start account is a domain user, a member of SIMATIC HMI on the server, and has Read rights on the Server Data file. Also verify the shortcut target path contains no spaces that are not enclosed in double quotes.
Does the same procedure apply to TIA Portal V20 WinCC Runtime Professional?
Yes, conceptually. The diagnostic flow (network, services, project assignment, autostart) is identical. The TIA Portal V20-specific autostart configuration is performed inside the TIA project under the Autostart tab, where you activate Autostart and select the Autostart project. See the official Siemens TIA Portal V20 documentation on Autostart and language for RT Professional for the exact menu navigation.