Problem Overview: Smart Client Connection Rejected at Password Prompt
When commissioning a Siemens HMI Comfort Panel with the Sm@rtServer option enabled, a common failure mode is a successful TCP/IP handshake between the Smart Client viewer and the panel, followed by an immediate rejection at the password dialog. The user enters what they believe to be the correct password based on the TIA Portal project configuration, and the Sm@rtClient viewer reports an authentication failure, terminates the session, or returns a generic "connection refused" or "invalid password" state without a clear cause.
This symptom is misleading because the project-side configuration appears correct: a password has been entered, the project has been compiled, downloaded to the panel, and the Sm@rtServer is shown as running in the panel's diagnostics. The root cause is that the Sm@rtServer password is not actually a TIA Portal project parameter that can be set inside the project tree; it is a runtime-only setting that must be applied directly on the target device, either through the Control Panel on the panel itself or by writing it to the panel's runtime configuration files.
Engineers who migrate from legacy WinCC flexible panels frequently encounter this problem because older panels shipped with a hard-coded default password of 100 for the Sm@rtServer. That default is no longer honored on Unified Comfort Panels or on newer TP/KTP Comfort Panels running current firmware. On those devices, an unset Sm@rtServer password means the Sm@rtServer is effectively disabled or rejects every connection attempt, even though the service reports as running.
Affected Products and Firmware
The following Siemens HMI families use the WinCC Internet Settings control panel applet described in this article. Always verify the exact catalog number and firmware version against the device label or the panel's System Information screen before applying any configuration change.
| Family | Catalog prefix (examples) | Typical firmware (as of TIA V17/V18) | Default Sm@rtServer pwd behavior |
|---|---|---|---|
| KTP400 Comfort | 6AV2 124-1DC01-0AX0 | V16 / V17 | No default — must be set in Runtime |
| TP700 Comfort | 6AV2 124-1GA01-0AX0 | V16 / V17 / V18 | No default — must be set in Runtime |
| TP900 Comfort | 6AV2 124-1JA01-0AX0 | V16 / V17 / V18 | No default — must be set in Runtime |
| TP1200 Comfort | 6AV2 124-1MA01-0AX0 | V16 / V17 / V18 | No default — must be set in Runtime |
| TP1500 Comfort | 6AV2 124-1QA02-0AX0 | V16 / V17 / V18 | No default — must be set in Runtime |
| TP1900 Comfort | 6AV2 124-1UA02-0AX0 | V16 / V17 / V18 | No default — must be set in Runtime |
| TP2200 Comfort | 6AV2 124-1XA02-0AX0 | V16 / V17 / V18 | No default — must be set in Runtime |
| Unified Comfort Panels (MTP/MTP Unified) | 6AV2 128-... | V18 / V19 / V20 | No default — must be set in Control Panel |
| Legacy WinCC flexible Panels (MP277, MP377, TP177, OP277) | 6AV6 6AV6 ... | WinCC flexible 2008 SP5 | Hard-coded default 100
|
For panels running firmware prior to V14 SP1, refer to the legacy WinCC flexible documentation because the applet path and the password storage location differ. The behavior described in this article applies to all Unified Comfort Panels and to Comfort Panels from firmware V14 SP1 onward.
Root Cause: Runtime-Only Password Storage
Unlike most user credentials in a TIA Portal project, the Sm@rtServer password is not stored in the project file (.ap16/.ap17/.ap18/.ap19) and is not transferred during a project download. The password resides in the runtime registry and configuration files of the HMI device itself. The TIA Portal SMTP and device-settings dialogs referenced in the original report are unrelated to Sm@rtServer access control; SMTP is a separate concern used for e-mail notification jobs and does not gate remote-display connections.
This design choice has two consequences:
- Setting a Sm@rtServer password inside the TIA Portal project has no effect on the running panel, even after a successful download and restart. The Runtime continues to use the password last written to the device configuration.
- A factory-reset or a full image restore reverts the password to its firmware-defined default state. On modern Comfort Panels, that default state is "no password set," which causes the Sm@rtServer to reject all client connections.
The legacy default password of 100 documented for WinCC flexible is not carried forward. New Comfort Panels ship with an empty Sm@rtServer password field, and the operator is required to set one before the first remote session is established.
Where the Password is Configured: WinCC Internet Settings Applet
The Sm@rtServer password is configured in the WinCC Internet Settings applet, which is accessible from the Windows CE / Windows Embedded Compact Control Panel on the HMI device. The path is identical for every Comfort Panel family listed above.
On the panel:
- Open the Control Panel. On a touch panel, this is reached via the Start menu or the system taskbar; on a keyed panel, use the Control key.
- Double-tap WinCC Internet Settings. This launches a Siemens-branded applet that is distinct from the standard Internet Options dialog.
- Switch to the Remote tab.
- Under Sm@rtServer Settings, enter the desired password in the Password field and confirm it in the Confirm Password field.
- Click OK or Apply to write the setting to the device. A confirmation dialog indicates the password has been saved.
- Restart the WinCC Runtime, or restart the panel, to ensure the new password is loaded by the Sm@rtServer service.
Engineers often look for the password field in the wrong place. The three most common mistaken locations are:
- Device Settings → SMTP in the TIA Portal project tree — this is the e-mail gateway, not the Sm@rtServer.
- Runtime Settings → Services → Sm@rtServer in the TIA Portal project tree — this only enables the service and configures the TCP port; it does not set a password.
- Control Panel → Internet Options on the panel — this is the standard Windows CE Internet Options, not the WinCC Internet Settings applet.
Prerequisites for Password Configuration
Before you change the Sm@rtServer password on the target panel, confirm the following:
| Prerequisite | Verification method |
|---|---|
| Panel firmware V14 SP1 or newer (for the modern applet behavior) | Control Panel → System → About / DeviceInfo |
| Sm@rtServer option licensed on the panel | Control Panel → System → License Management, look for the Sm@rtServer entry |
| Sm@rtServer enabled in the TIA Portal project | Project tree → Device → Runtime Settings → Services |
| Operator input enabled on the Control Panel | Project tree → Device → Security → User administration, or direct applet access if operator input is unrestricted |
| Network reachability between the Smart Client PC and the panel |
ping <panel_ip> from the PC; the panel responds on TCP 5900 by default |
| Latest Sm@rtClient version installed on the PC | Start → Programs → Siemens Automation → Sm@rtClient, check the About dialog |
If the Sm@rtServer option is not licensed, the Sm@rtServer entry will not appear in the WinCC Internet Settings applet, and the password cannot be configured. In that case, transfer the Sm@rtServer license to the panel using Automation License Manager or the License Manager USB transfer utility before proceeding.
Step-by-Step: Setting the Sm@rtServer Password on the Panel
The following procedure resolves the exact symptom described in the original report — a Smart Client connection that is established at the TCP layer but rejected at the password prompt. The procedure must be executed on the panel itself; it cannot be performed remotely through the Sm@rtClient because the very service you are trying to repair is the one refusing the connection.
- Log in to the panel with a user that has access to the Control Panel. If user administration is active in the project, only members of the configured "Administrator" group (or the group mapped to the Control Panel access right) can reach the applet.
- Open Control Panel → WinCC Internet Settings. The applet icon is distinct; do not use the standard Internet Options icon.
- Select the Remote tab. The Sm@rtServer Settings section is at the top of this tab.
- Type the new password. Use a strong, memorable password. The maximum length is 24 characters; the allowed character set is ASCII alphanumeric plus the standard punctuation set. The password is case-sensitive.
- Confirm the password. The second entry field is the verification field. If the two entries do not match, the applet refuses to save.
-
Save and exit. Click OK. The applet writes the password to
\Flash\Simatic.S7-1500\...\HmiRtm.cfgand to the corresponding registry hive. The save is immediate; no project recompile is required. - Restart the Runtime. Use the panel's Start → Restart Runtime action, or perform a full reboot via the panel service. A Runtime restart is required because the Sm@rtServer thread reads the password only at service start.
- Verify on the same panel that the Sm@rtServer is now listening. Open the diagnostics view (Start → System → Sm@rtServer) and confirm the service status is Running and the configured port matches the TIA Portal project setting (default 5900, changeable in the project).
Step-by-Step: Setting the Sm@rtServer Password Through the Project (Supplemental)
Some engineering workflows prefer to pre-stage the password in the project so that a panel image-restore is automatically followed by the correct password. This requires a manual edit because the TIA Portal UI does not expose the password field directly. The supported method is the WinCC configuration file edit on the engineering station, then a full project compile and download.
- Open the TIA Portal project, navigate to the HMI device, and ensure Runtime Settings → Services → Sm@rtServer → Enable Sm@rtServer is checked.
- Compile the HMI project to generate the runtime files.
- Locate the generated
HmiRtm.cfgin the project's IM folder. - Edit the Sm@rtServer section to set
Password=<value>under the[Sm@rtServer]header. Save the file. - Recompile the project and download to the panel.
HmiRtm.cfg outside the TIA Portal are overwritten the next time the project is compiled. Use this method only when you understand that subsequent project changes will reset the password unless the project itself is updated to retain the value.Verification Procedure
After setting the password, verify the change end-to-end from a PC running Sm@rtClient.
- On the PC, launch Start → Siemens Automation → Sm@rtClient.
- In the connection dialog, enter the panel's IP address or DNS name. Use the format
<ip>:<port>if the port is not the default 5900. - Click Connect. The Sm@rtClient performs a VNC-style handshake with the Sm@rtServer.
- At the password prompt, enter the new password. The Sm@rtClient should display the panel's runtime screen within 2 to 5 seconds.
- If authentication fails, the Sm@rtClient returns to the connection dialog with a red status indicator. Do not retry more than three times in rapid succession; some firmware versions impose a lockout after repeated failed attempts.
- For a non-interactive verification, use the Sm@rtClient command-line interface (where available) or a TCP test to confirm the service responds with a banner on port 5900. The presence of the banner confirms the service is running; it does not confirm the password is correct.
| Verification step | Expected result | If result is unexpected |
|---|---|---|
| Ping panel from PC | Round-trip time < 50 ms on LAN, no packet loss | Check switch port, VLAN, IP routing, firewall rules |
| TCP connect to port 5900 | Banner received, handshake completes | Confirm Sm@rtServer is enabled and listening; check Windows Firewall on the panel |
| Enter password in Sm@rtClient | Panel screen appears within 5 s | Password mismatch; repeat the Runtime-only configuration steps |
| Operate the panel through the Sm@rtClient | Touch events, tag writes, and screen changes mirror the local panel | Sm@rtServer is in read-only mode; review the Sm@rtServer authorization level in the TIA Portal project |
Troubleshooting Matrix: Smart Client Password Failures
| Symptom | Likely cause | Corrective action |
|---|---|---|
| Connection established, password prompt immediately disappears, "Authentication failed" displayed | Sm@rtServer password not set on the panel (default state on new Comfort Panels) | Configure password via Control Panel → WinCC Internet Settings → Remote tab |
Connection established, every password is rejected, including the documented default 100
|
Panel is a Unified Comfort Panel or modern Comfort Panel — default 100 is not honored |
Set a new password; do not rely on legacy defaults |
| Connection established, password set in the TIA Portal project is rejected | Project password is not transferred to the panel Runtime | Set the password on the device itself, not in the project |
| Sm@rtClient reports "Sm@rtServer not licensed" | Sm@rtServer option missing or transferred to a different panel | Transfer the Sm@rtServer license via Automation License Manager |
| Sm@rtClient reports "Service not running" | Sm@rtServer disabled in Runtime Settings or stopped due to a fault | Enable Sm@rtServer in the project, recompile, download, then check the panel's Sm@rtServer diagnostics |
| Password accepted on one PC, rejected on another | Different Sm@rtClient versions, or PC clock skew affecting session tokens on newer firmware | Synchronize PC clocks via NTP; install the same Sm@rtClient version on both PCs |
| Password prompt loops repeatedly | Sm@rtClient is configured for a different panel or the panel's IP changed | Re-enter the connection target; verify IP via the panel's network settings |
| Authentication works in the LAN, fails across a VPN | VPN MTU fragmentation, NAT port translation, or split-tunnel routing blocks TCP 5900 | Open TCP 5900 in both directions, lower MTU to 1400, pin the Sm@rtServer port in the TIA Portal |
Password Recovery and Reset Procedure
If the Sm@rtServer password has been lost and the panel is physically accessible, the recovery is straightforward because the password is a runtime setting, not a project-level credential.
- On the panel, open Control Panel → WinCC Internet Settings → Remote tab.
- Type a new password, confirm it, and save.
- Restart the Runtime to force the Sm@rtServer to reload the new password.
- Test the connection from the Sm@rtClient.
If the panel is not physically accessible, password recovery requires either a remote maintenance session (such as a separate Webserver session if one is enabled, or an SSH/remote-shell service) or a service call to the site. There is no backdoor, master password, or factory-reset shortcut that bypasses the Sm@rtServer authentication on Comfort Panels. A full image restore reverts the password to the empty state, which still requires the engineer to set a new password before the next Sm@rtClient connection will succeed.
Differences Between WinCC flexible and Comfort/Unified Panels
Engineers who have used WinCC flexible panels (MP277, MP377, TP177, OP277, and similar) carry assumptions that no longer apply to current hardware. The table below summarizes the deltas that matter for Sm@rtServer password handling.
| Aspect | WinCC flexible panels (legacy) | Comfort / Unified Panels (current) |
|---|---|---|
| Default Sm@rtServer password |
100 (hard-coded) |
None — must be set |
| Applet name on the device | WinCC flexible Internet Settings | WinCC Internet Settings |
| Password storage | Registry, HKLM\SOFTWARE\Siemens\HMI\SmartServer
|
Registry, mirrored in HmiRtm.cfg
|
| Password transfer from project | Yes (ProTool/WinCC flexible could write the password at download) | No — Runtime-only |
| VNC port default | 5800/5900 | 5900 (port configurable in TIA Portal project) |
| Encryption | None (VNC password only) | Optional TLS for Sm@rtServer on Unified Panels |
The default password 100 was never documented as a security feature; it was a convenience default that allowed demonstration units to be commissioned without first stopping at the Control Panel. Removing the default on Comfort Panels is a deliberate hardening change, not an oversight. Sites that still rely on the default must update their commissioning procedures.
Security Considerations
The Sm@rtServer protocol is fundamentally a VNC derivative. On legacy panels, traffic is unencrypted and the password is the only barrier to remote takeover of the HMI. On modern Comfort Panels and Unified Panels, encryption can be enabled; the password is then used for authentication only and the session is wrapped in TLS.
- Always change the default password. An empty password is functionally equivalent to no authentication.
- Restrict the Sm@rtServer to LAN-only operation unless a VPN is in place. Direct exposure of TCP 5900 to the public internet is unsafe.
- Use the TIA Portal authorization levels (View, Operate, Admin) to limit what a remote operator can do even if the password is shared.
- Audit Sm@rtServer connections in the panel's diagnostic logs. The Service log records connection attempts, source IPs, and authentication outcomes.
- Rotate the password on personnel changes by following the runtime-only reset procedure described above. There is no need to recompile the project to change the password.
Configuration Reference: Sm@rtServer Settings in WinCC Internet Settings
The following table documents every relevant control in the Remote tab of the WinCC Internet Settings applet. The exact wording matches the TIA Portal V17 and V18 builds; older firmware uses synonymous labels.
| Control | Function | Default value | Notes |
|---|---|---|---|
| Enable Sm@rtServer | Master enable for the service | Off (until license is present) | Disabled if Sm@rtServer is not licensed |
| Port | TCP port the Sm@rtServer listens on | 5900 | Must match the value configured in the TIA Portal project |
| Password | Authentication password for incoming Sm@rtClient connections | Empty | Case-sensitive, 1 to 24 characters |
| Confirm Password | Verification field for the password | Empty | Save is blocked if the two entries do not match |
| Operating Mode | View-only or full operator authorization | View-only | Mirrors the project-level Sm@rtServer authorization setting |
| Auto-accept connections | Skip the password prompt on incoming sessions | Off | Not recommended for production systems |
Related Controls on the Webserver Tab
The Tag tab in the same WinCC Internet Settings applet controls the Webserver (HTML-based panel access). It is not used for Sm@rtServer. The relevant controls are listed for completeness because engineers frequently confuse the two:
| Control | Function |
|---|---|
| Enable Webserver | Master enable for the HTML-based Webserver |
| Port | TCP port for the Webserver (default 80) |
| User list | Webserver user credentials (independent of Sm@rtServer) |
| Tag selection | Tags exposed through the Webserver API |
Configuring the Webserver does not unlock the Sm@rtServer. The two services have independent authentication databases and independent enable flags.
Diagnostic and Logging Paths
If authentication continues to fail after following this article, capture the following diagnostic information before contacting Siemens technical support:
-
Panel-side log:
\Flash\Logfiles\SmartServer.logon the panel. The log records connection attempts, source IPs, and authentication outcomes. - Sm@rtServer status screen: Control Panel → System → Sm@rtServer. This shows the running state, the active port, and the current password hash length (used to confirm a password is set without revealing the value).
-
PC-side Sm@rtClient log:
%TEMP%\Siemens\SmartClient\trace.logon the engineering station. This records the VNC handshake and the password verification exchange. - Network capture: A Wireshark capture of the TCP 5900 exchange between the Sm@rtClient PC and the panel, with the password field filtered, is the definitive evidence of an authentication mismatch.
Frequently Asked Questions
Where exactly is the Smart Client password configured on a Siemens Comfort Panel?
The Smart Client password is configured in the Control Panel → WinCC Internet Settings → Remote tab on the panel itself, under Sm@rtServer Settings. It is a runtime setting, not a TIA Portal project parameter, and is not transferred during a project download. The path is the same on TP700, TP900, TP1200, TP1500, TP1900, TP2200, and Unified Comfort Panels.
Why is the default password "100" no longer accepted on my new Comfort Panel?
Siemens removed the hard-coded default password of 100 on Comfort Panels and Unified Comfort Panels beginning with firmware V14 SP1. The panels now ship with an empty password field, which causes the Sm@rtServer to reject every connection attempt. You must set a new password via the WinCC Internet Settings applet on the panel itself before Sm@rtClient connections will be accepted.
Can I set the Sm@rtServer password from the TIA Portal project and download it?
No. The TIA Portal project tree exposes a checkbox to enable the Sm@rtServer and a field to configure the TCP port, but it does not expose a password field. The password is stored only in the panel's runtime configuration and must be set on the device itself. Setting a password inside the TIA Portal project (for example, in SMTP settings, which is a different feature) has no effect on Sm@rtServer authentication.
How do I recover a forgotten Sm@rtServer password?
If you have physical or remote-shell access to the panel, open Control Panel → WinCC Internet Settings → Remote, type a new password, confirm it, and restart the Runtime. There is no master password, no backdoor, and no factory-reset shortcut that bypasses the Sm@rtServer authentication. Document the password in your site's secure credential vault to avoid future lockouts.
Why does the Sm@rtClient reject my password even though the project was just downloaded?
The most common cause is that the password was set inside the TIA Portal project rather than on the device. The password is a runtime-only setting, so the project download has no effect on it. The fix is to set the password directly on the panel via the WinCC Internet Settings applet and then restart the WinCC Runtime. A second common cause is the legacy assumption that the default 100 still works — it does not on Comfort Panels and Unified Comfort Panels.
What TCP port does the Sm@rtServer use, and can it be changed?
The default port is TCP 5900. The port can be changed in the TIA Portal project under Runtime Settings → Services → Sm@rtServer, and the change must be downloaded to the panel. The Sm@rtClient connection target must then use the format <ip>:<port>. Always confirm the port is open in any firewall between the Sm@rtClient PC and the panel.