1. Problem Overview
When deploying Siemens SIMATIC Logon V1.6 as the central user administration for a Comfort-panel fleet (TP1200 Comfort, TP1500 Comfort, TP1900 Comfort, TP2200 Comfort), the typical symptom is a panel that refuses to authenticate domain users even though the matching Active Directory (AD) groups exist and the operator accounts are valid. The login dialog appears, the operator enters DOMAIN\username and a correct password, and the panel reports that it cannot read user/group data from the domain.
The root cause is almost always that the Windows service SIMATIC Logon Remote Access (display name) / SLRemoteAccess (service name) on the Logon server has failed to start. Because every Comfort HMI communicates with the Logon server through this service, a stopped service means the panel cannot query role memberships, cannot validate credentials, and falls back to the local HMI user administration (which is empty in a pure-central deployment).
SLRemoteAccess from services.msc fails within ~30 seconds. Windows Event Viewer records the start attempt under System and Application logs.2. Affected Components and Versions
| Component | Version / Catalog | Notes |
|---|---|---|
| SIMATIC Logon | V1.6 (6ES7822-1AA06-0YA5 / -0YE5) | SP1 and SP2 supported; V1.6 is the last release shipping with classic WinCC Comfort/Advanced as the configuration tool. |
| TP1200 Comfort | 6AV2 124-1MC01-0AX0 (and -1AX0, -1BX0 variants) | 12.1" TFT, PROFINET, WinCC Comfort V14 SP1+ runtime. |
| WinCC Comfort/Advanced (TIA Portal) | V14 SP1, V15, V15.1, V16, V17 | HMI configuration that hosts the "SIMATIC Logon" editor under Runtime settings > User administration. |
| Operating system (Logon server) | Windows Server 2012 R2 / 2016 / 2019 (64-bit) | 32-bit support deprecated; Server Core not supported. |
| Domain controller | Windows Server 2008 R2 or newer with Active Directory Domain Services (AD DS) | Functional level 2008 R2 minimum for Kerberos AES. |
For the official installation manual refer to the SIMATIC Logon V1.6 System Manual and the SIMATIC Logon V1.6 SP1 Update release notes.
3. Architecture: How SIMATIC Logon Talks to the Panel
SIMATIC Logon is a client/server application. The Logon server hosts a Windows service that exposes an OPC-DA-based or, since V1.6 SP1, an OPC-UA-based interface. Each HMI runtime on the Comfort panel starts a small SIMATIC Logon client component that opens a TCP connection to the server and pulls the user/role catalog.
Default ports used by SIMATIC Logon (configurable in the Logon Server Configuration tool):
| Port | Protocol | Direction | Purpose |
|---|---|---|---|
| 4900 | TCP | HMI → Server | Logon Remote Access (legacy OPC DA / XML) |
| 4901 | TCP | HMI → Server | Logon Remote Access (encrypted) |
| 389 / 636 | TCP | Server → DC | LDAP / LDAPS query for user and group lookups |
| 88 / 464 | TCP/UDP | Server → DC | Kerberos authentication |
| 445 | TCP | Server → DC | SMB for group enumeration fallback (rare) |
4. Root Cause Analysis
The five most frequent reasons SLRemoteAccess will not start are documented in Siemens KB entry 109769926 and the consolidated Logon FAQ 89852222:
-
Dependency service is disabled. SLRemoteAccess depends on the SIMATIC Logon Service (display name) /
SLogonSrv, the DCOM Server Process Launcher (DcomLaunch), and the RPC Endpoint Mapper (RpcSs). On a Windows Server Core image or on a host where the RPCSS service was disabled manually, SLRemoteAccess will fail with "The dependency service does not exist or has been marked for deletion" (Win32 error 1075). -
Corrupt or missing SQL Server LocalDB instance. SIMATIC Logon V1.6 stores its user/group mirror in a SQL Server 2012 Express LocalDB instance (
SIMATICLogon). If LocalDB has been uninstalled or the user profile under which the service runs cannot access%LOCALAPPDATA%, the service fails with a .NET exception recorded under Event ID 1026 (.NET Runtime). -
Service Log On account has insufficient rights. By default, the installer sets the service to run as
LOCAL SYSTEM. After an MSI repair or a domain migration, the account may have been switched to a managed service account that does not hold Log on as a service, Replace a process-level token, and Adjust memory quotas for a process. - DCOM launch and activation permissions broken. Logon uses DCOM to expose its interface to remote HMI clients. After a Group Policy push that hardens DCOM defaults, the Logon Application DCOM CLSID cannot be activated remotely, which appears as a service start failure during dependency resolution.
-
Antivirus / EDR quarantine of the Logon binaries. McAfee, Trend Micro, CrowdStrike, and Windows Defender have all been observed to quarantine
SLRemoteAccess.exeorSLRemoteCfg.exein%ProgramFiles%\Siemens\Automation\SIMATIC Logon\binafter a signature push.
services.msc will appear to "succeed for a second" and then return to Stopped. This is normal service behavior when a dependency check fails; the service is not crashing, it is being refused.5. Pre-Flight Checklist
Run the following diagnostics on the Logon server before changing anything:
- Confirm domain membership:
systeminfo | findstr /i "domain"should report the full DNS domain (e.g.,CONTOSO.LOCAL). - Verify DNS resolution of the Logon server:
nslookup -type=SRV _ldap._tcp.dc._msdcs.<domain>must return at least one DC. - Open Event Viewer → Windows Logs > System and locate the most recent Service Control Manager event with source Service Control Manager and Event IDs 7000, 7011, 7013, or 7024. Capture the binary data of the event.
- From the same log, search for source DCOM with Event ID 10010 (unmarshalling failures) and source SideBySide with Event ID 33 (manifest mismatch).
- Open Event Viewer → Applications and Services Logs > SIMATIC Logon (only present if at least one Logon component has been launched). Look for entries tagged ERROR and FATAL.
- Confirm the binaries exist and are not quarantined:
dir "%ProgramFiles%\Siemens\Automation\SIMATIC Logon\bin\SLRemoteAccess.exe"anddir "%ProgramFiles%\Siemens\Automation\SIMATIC Logon\bin\SLogonSrv.exe".
6. Step-by-Step Resolution
6.1 Restore missing dependencies
- Open
regeditas Administrator and navigate toHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SLRemoteAccess. - Inspect the
DependOnServicemulti-string value. The canonical content is:DependOnService = RPCSS DependOnService = DcomLaunch DependOnService = SLogonSrv - If the value is empty or contains
NetMan/NlaSvconly (legacy from an old WinCC flexible install), restore the three entries above. - Restart the server (services.msc dependency reload does not always re-evaluate COM components).
6.2 Repair LocalDB
- Open an elevated command prompt and list LocalDB instances:
sqllocaldb info. Expected:SIMATICLogon. - If missing, recreate it:
sqllocaldb create "SIMATICLogon" 12.0 -s. - If present but in error state:
sqllocaldb stop "SIMATICLogon" & sqllocaldb delete "SIMATICLogon" & sqllocaldb create "SIMATICLogon" 12.0 -s. - Validate connectivity with the SqlLocalDB CLI:
sqlcmd -S "(localdb)\SIMATICLogon" -E -Q "SELECT name FROM sys.databases". The expected databases areSIMATICLogonand (after first migration)SIMATICLogon_Audit.
6.3 Reset the Service Log On account
- In
services.msc, open SIMATIC Logon Remote Access → Log On tab. - Select Local System account and tick Allow service to interact with desktop only if the operator is going to launch the Logon Configuration tool locally on the server.
- For a managed service account, open
secpol.msc→ Local Policies > User Rights Assignment and add the account to Log on as a service, Replace a process-level token, and Adjust memory quotas for a process. Rungpupdate /force. - Clear the password fields (leave blank for LocalSystem) and click Apply. Restart the service.
6.4 Re-register DCOM components
- Open an elevated
cmdand execute:cd /d "%ProgramFiles%\Siemens\Automation\SIMATIC Logon\bin" regsvr32 /u SLogonCom.dll regsvr32 SLogonCom.dll SLRemoteAccess.exe /regserver - Open
dcomcnfg→ Component Services > Computers > My Computer > DCOM Config. Locate SIMATIC Logon Remote Access. Right-click → Properties > Security. Confirm the configured launch and access permissions include the localSYSTEM,Administrators, and (if used) the HMI service accounts.
6.5 Whitelist the Logon binaries in your EDR
- Add the following paths to the AV exclusion list (replace with the actual install path if changed):
%ProgramFiles%\Siemens\Automation\SIMATIC Logon\bin\ %ProgramData%\Siemens\Automation\SIMATIC Logon\ %LOCALAPPDATA%\Microsoft\Microsoft SQL Server Local DB\Instances\SIMATICLogon\ - Restore any quarantined files. In Windows Defender, use Protection history > Allowed threats.
- Reboot to confirm the service starts cleanly.
7. Mapping AD Groups to HMI Roles
Once the service runs, the group-mapping procedure referenced in the original report must be completed. There are two valid approaches; choose exactly one to avoid duplicate role assignments.
7.1 Approach A: Group names identical on both sides (recommended)
- On the AD DC, create a global security group per HMI role. Example:
G_HMI_Operators,G_HMI_Maintenance,G_HMI_Administrators. - Add the corresponding Windows user accounts as members of the group.
- In WinCC Comfort (TIA Portal), open Runtime settings > User administration > SIMATIC Logon and add a connection to the Logon server.
- Create local groups under User administration > Groups that match the AD group names byte-for-byte (the Logon server does a case-insensitive match, but always keep the same casing as the sAMAccountName).
- Assign the appropriate authorizations (area pointers, screen call rights, tags, scripts) to each local group.
7.2 Approach B: Explicit LDAP mapping (mismatched names)
- On the Logon server, open SIMATIC Logon Configuration.
- Switch to LDAP mapping and enable Resolve Windows groups via LDAP.
- Enter the BaseDN (
DC=contoso,DC=local) and the BindDN with read-only credentials. Use a service account, never a personal account. - For each HMI group, click Add mapping and paste the full LDAP distinguishedName of the AD group.
- Test the mapping with the Test connection button; a successful test returns the group's
membercount within ~2 seconds.
8. TIA Portal Configuration on the Engineering Station
- In the TP1200 project tree, select Runtime settings > User administration.
- Set User administration mode to SIMATIC Logon.
- Under SIMATIC Logon > Connection, enter the Logon server address (FQDN preferred, e.g.,
logonsrv.contoso.local) and the port (default4900, encrypted4901). - Enable Encrypted connection and import the server certificate. SIMATIC Logon ships a self-signed certificate; replace it with a CA-issued cert in production. See the Logon System Manual section 6.4 for the cert export procedure.
- Compile and download the project. After the first successful login, the panel will cache the role list locally for 24 hours. To force a refresh, open the panel's Service Menu (with finger swipe from bottom-right) and select Logon > Refresh cache.
9. Verification Procedure
- On the Logon server, open
services.msc. SIMATIC Logon Remote Access must show Status: Running, Startup Type: Automatic (Delayed Start). - From the TP1200, press the Log On button on the login dialog. The role dropdown should populate within 1-3 seconds.
- Sign in with a domain user. The Last login field in the dialog should show the operator's full AD display name.
- On the Logon server, run
eventvwr.mscand look under Application > SIMATIC Logon. A successful login produces an INFORMATION entry with the username and the assigned role. - From a remote workstation, telnet to port 4900 of the Logon server:
Test-NetConnection -ComputerName logonsrv -Port 4900in PowerShell should returnTcpTestSucceeded : True. - Generate a high-frequency login/logout storm (50 cycles in 60 s) using the operator station. Memory consumption of
SLRemoteAccess.exemust stabilize below ~250 MB; if it climbs, the LocalDB instance is leaking connections and should be restarted (see KB 109779360).
10. Common Pitfalls and Edge Cases
| Pitfall | Symptom | Fix |
|---|---|---|
| Logon server time skew > 5 min vs. DC | Kerberos errors, login dialog hangs, then times out | Enable Windows Time service on the Logon server and configure it to sync from time.windows.com or the PDC emulator. |
| TP1200 firmware < V14.0.1.0 with Logon 1.6 | TLS handshake fails, Event 36888 on Logon server | Update the panel image to V16 or later (see HMI firmware update guide). |
| Logon server behind NAT | TCP 4900/4901 retransmits, role list never populates | Use the public DNS name in the TIA Portal configuration and open the ports bidirectionally. |
| Multiple Logon servers in a workgroup (no AD) | Group resolution works locally but fails for cross-site users | Add a trust between the workgroups or migrate the Logon accounts to a real domain. |
| Service Pack upgrade of TIA Portal that re-signs binaries | Service crashes immediately after first start post-upgrade | Reapply the AV/EDR exclusion list and re-register DCOM as described in section 6.4. |
| TP1200 boots before Logon server | Panel caches an empty role list and never retries | Open the Service Menu and force a Logon refresh, or schedule a delayed boot for the panel. |
11. Fault-Code Quick Reference
| Win32 / .NET code | Event Source | Likely cause |
|---|---|---|
| 1053 (ERROR_SERVICE_REQUEST_TIMEOUT) | Service Control Manager | SLRemoteAccess process hangs during start; usually LocalDB stall. |
| 1067 (ERROR_PROCESS_ABORTED) | Service Control Manager | Crash during initialization; check Application log for .NET stack. |
| 1069 (ERROR_SERVICE_START_HANG) | Service Control Manager | Service stuck in START_PENDING; review DependOnService. |
| 1075 (ERROR_SERVICE_DEPENDENCY_DELETED) | Service Control Manager | One of the dependency services is disabled/missing. |
| Event ID 1026 (.NET Runtime) | Application | Unmanaged exception in SLRemoteAccess, e.g., SQL connection failure. |
| Event ID 10010 (DCOM) | System | DCOM launch/activation permission missing for the Logon AppID. |
12. Field-Validated Checklist Before Calling Siemens Support
-
SLRemoteAccess.exeandSLogonSrv.exeexist and are not quarantined. - Service startup type = Automatic (Delayed Start); status = Running.
- Dependencies
RPCSS,DcomLaunch,SLogonSrvare all set to Automatic and running. - LocalDB instance
SIMATICLogonexists and is Running. - DCOM AppID SIMATIC Logon Remote Access has SYSTEM listed in launch and access.
- Ports 4900/4901 are reachable from the HMI subnet.
- AD groups exist with identical sAMAccountName to the WinCC groups.
- Time skew between Logon server and DC < 5 minutes.
If all eight items are green and the panel still fails to authenticate, collect the SIMATIC Logon diagnostic bundle (Logon Server Configuration → Help > Create support information) and open a ticket at the Siemens Industry Online Support portal referencing KB 109769926 and your Logon version (right-click SLRemoteCfg.exe → About).
Why does the SIMATIC Logon Remote Access service stop immediately after I start it?
The service is being refused, not crashed. Check Event Viewer > System for Service Control Manager Event ID 7000 and 7011, and confirm the DependOnService value of SLRemoteAccess contains RPCSS, DcomLaunch, and SLogonSrv. Also verify the LocalDB instance SIMATICLogon is running and reachable via sqllocaldb info.
Do AD group names need to match HMI group names exactly?
For the simplest deployment, yes - use identical sAMAccountName and HMI group names so the Logon server resolves them automatically. If naming must differ, use the LDAP mapping in the Logon Configuration tool with a BindDN service account that has read access to the relevant OU.
Which TCP ports must be open between the TP1200 and the Logon server?
Open 4900 (plain) and 4901 (encrypted) from the HMI subnet to the Logon server. The Logon server additionally requires outbound 389/636 (LDAP/LDAPS), 88 (Kerberos), and 464 (kpasswd) to the domain controller.
Can SIMATIC Logon 1.6 work with WinCC Unified panels as well as Comfort panels?
Yes, but only via the OPC UA interface introduced in V1.6 SP1. Comfort panels (TP1200 etc.) continue to use the classic OPC DA/XML interface on ports 4900/4901. Unified panels require the SIMATIC Logon UA Connector add-on and an OPC UA endpoint on the Logon server.
How do I migrate from a working local HMI user administration to central SIMATIC Logon without losing existing authorizations?
Export the HMI user table from WinCC Comfort (right-click User administration > Export), import it into the Logon Configuration tool, recreate the groups with identical names in Active Directory, and assign the same Windows users. Then change the panel's runtime setting to SIMATIC Logon and recompile.