Problem Overview
When launching a WinCC V5.1 runtime client from a Windows 2000 SP4 workstation against a configured WinCC server, operators encounter a Windows security dialog demanding credentials the moment the runtime attempts to load the server-resident *.mcp project file. The dialog interrupts project startup, blocks the operator from reaching process screens, and on machines configured with mismatched user databases prevents any subsequent connection attempts until credentials are entered. The symptom appears in single-seat pilot builds that are then scaled to multi-user deployments, and on sites where the server project is delivered to the client using file sharing rather than a dedicated WinCC duplicate project.
The dialog is not produced by WinCC's internal user administration. It is generated by the Windows 2000 logon subsystem when the WinCC runtime on the client opens a network resource that requires SMB (Server Message Block) authentication. Understanding this distinction is the key to a clean resolution: configuring WinCC user rights does not eliminate the prompt, and configuring Windows accounts incorrectly eliminates the prompt but breaks WinCC operator authorization downstream.
WinCC V5.1 Multi-User Architecture
WinCC V5.1 supports distributed SCADA topologies through a Client-Server model. The server runs the WinCC Server service, hosts the project database, archives process values and alarms, and exposes the configured screens. A client workstation runs the WinCC Client runtime and consumes screens, tags, and archives from the server. The WinCC Explorer on the server contains the Server project type while the client machine contains a project that points at the server via the project path configured under Computer Properties > Startup.
Project files in WinCC V5.1 use the *.mcp extension for the central master project, *.mcd for duplicate project archives, and *.ldb for local database files used during runtime caching. When the client runtime initializes, it must read the server's *.mcp file over the network. The file resides in a share (typically \\<ServerName>\<ProjectName>) and is accessed through standard Windows network APIs. This is the operation that triggers the password dialog when the client machine cannot establish a transparent authentication session.
| Component | Path on Server | Function |
|---|---|---|
| Project master | <ProjectPath>\<Project>.mcp | Central project definition, opened by clients at startup |
| Duplicate archive | <ProjectPath>\<Project>.mcd | Compressed project archive used for backup/transfer |
| Database files | <ProjectPath>\<Project>\<Computer>\<Database> | Runtime tag, alarm, and archive database files |
| Picture cache | <ProjectPath>\<Project>\<Computer>\GraCS | Compiled screen graphics cached locally |
| User administration | WinCC Explorer > User Administrator | Internal operator/level authorization |
Root Cause Analysis
The Windows credential prompt is the result of NTLM/Kerberos-style SMB authentication failing between the client and the server. On Windows 2000 SP4 with default LAN Manager authentication settings, several conditions will cause the client runtime to fail an automatic (pass-through) logon and force a manual dialog:
- User account mismatch. The Windows user name or password on the client workstation differs from the account the server recognizes on its SAM database or domain controller. Windows cannot reuse the current logon context to access the share.
- Workgroup membership with no remembered credential. In a workgroup (no Active Directory or NT 4.0 domain), Windows does not have a domain trust to pass credentials through. If no persistent credential has been stored for the server, the OS prompts.
- Domain trust missing or expired. In a domain environment, a stale or broken trust relationship between the domain the client belongs to and the resource domain the server belongs to causes the same prompt.
- Local Security Policy restrictions. Windows 2000 policies such as Network access: Do not allow storage of credentials or .NET Passports for network authentication or restrictions on LM authentication level can force interactive prompts.
- Service account context mismatch. If WinCC Client runtime is launched from a different logon session than the one used to map the network share, the runtime opens the share under a different security token.
The Siemens support entry referenced in the operator's incident (Siemens Support FAQ 27061845) confirms that the prompt originates from Windows authentication on the network share, not from WinCC user administration.
Diagnostic Procedure
Before applying any fix, isolate the cause with the following field-proven sequence:
- From the client workstation, open a command prompt and execute
net use \\\<ServerName>\<ProjectName>. Note whether the prompt appears, the error code returned, and the message text. - Run
whoami /allon the client and compare the user SID against the same command executed on the server (using an account that has administrative access to both). - Open Control Panel > Administrative Tools > Event Viewer on the server and inspect the Security log for logon events with status
0xC000006A(unknown user name) or0xC0000234(account locked out). - Verify domain/workgroup membership with
net config workstationon both machines. The Workstation domain field should match the configuration you expect. - From WinCC Explorer on the client, inspect Computer > Properties > Startup and confirm the server project path exactly matches the share name (case-sensitive on NTFS).
- Check the WinCC diagnostic file
WinCC_Service.login%ProgramFiles%\Siemens\WinCC\diagnosefor project load errors preceding the dialog.
Solution 1: Synchronize Windows User Accounts
The most direct resolution is to ensure the operator's Windows account on the client workstation is identical (same user name, same password) to an account that has access rights on the server. In a workgroup this means creating a local account on each machine with the same user name and password. In a domain, the same domain user account should log on at the client.
- On the server, open Control Panel > Administrative Tools > Computer Management > Local Users and Groups > Users.
- Create (or verify) a user named identically to the operator account. Set a known password; do not require password change at next logon.
- On the client, create the same user with the same password.
- Grant both accounts at least Read rights on the WinCC project share.
- Log off and log back on at the client as the synchronized account.
- Open the project share once via Windows Explorer, check Remember my password, and confirm the share opens without a prompt.
- Launch the WinCC Client runtime; the dialog should no longer appear.
Solution 2: Configure Persistent Network Credentials
Where identical accounts are not possible (for example, the client operator logs on with a personal account but the WinCC runtime runs under a service account), use the Windows Stored User Names and Passwords applet to inject a persistent credential for the server:
- On the client, open Control Panel > User Accounts > Advanced > Manage Passwords.
- Click Add and enter the server name (e.g.,
WINCCSERVER), the Windows account that has access to the share, and its password. - Set the logon domain to match the server's workgroup or domain (use
.for local accounts on a workgroup server). - Confirm and close. Windows will now reuse this credential automatically for any SMB connection to that server.
- Restart the WinCC Client runtime to ensure new credentials are picked up.
This approach keeps the operator's interactive logon separate from the runtime's network access context and is preferred in mixed-trust environments.
Solution 3: Verify WinCC Internal User Administration
Because operators often confuse the Windows dialog with a WinCC login prompt, validate that the WinCC user administration is properly configured. Open WinCC Explorer > User Administrator on the server and confirm:
- An operator account exists with appropriate authorization level (e.g., Level 4 for control, Level 6 for administration).
- The account's WinCC logon password (configured under the Password column) is known and current.
- Authorization is granted on the relevant areas (picture hierarchy, tag read/write, archive operations).
- The Computer Properties > Startup on the client has User Administrator configured to auto-logon the operator, or it requires manual WinCC logon after the Windows authentication resolves.
Solution 4: Network and Share Configuration
Several share-level settings will trigger the prompt even with matching accounts:
- Open the project folder's sharing properties on the server (right-click > Sharing > Permissions) and confirm the synchronized user has at least Read permission.
- If NTFS permissions are stricter than share permissions, both must allow access. Check the Security tab on the folder and verify the user (or a group containing the user) has Read & Execute, List Folder Contents, and Read.
- Disable Access-based Enumeration if it is enabled and clients are intermittently receiving access-denied errors.
- Confirm the Server service is running on the server machine and the TCP/IP NetBIOS Helper service is started on both client and server.
- Open Local Security Policy > Local Policies > Security Options and set Network access: Sharing and security model for local accounts to Classic - local users authenticate as themselves on both machines. The default Guest-only setting forces fallback to a guest identity and triggers prompts.
Solution 5: Registry Adjustments for Legacy Authentication
Windows 2000 SP4 with restrictive LM/NTLM policy can prevent pass-through authentication to older or mixed servers. Use the registry only after exhausting the user-account and share-configuration fixes, and back up the registry first.
| Key | Value Name | Type | Recommended Setting |
|---|---|---|---|
| HKLM\SYSTEM\CurrentControlSet\Control\Lsa | LmCompatibilityLevel | DWORD | 1 (Send LM & NTLM; use NTLMv2 session if negotiated) |
| HKLM\SYSTEM\CurrentControlSet\Control\Lsa | RestrictAnonymous | DWORD | 0 (default; do not enable RestrictAnonymous=1 with WinCC shares) |
| HKLM\SYSTEM\CurrentControlSet\Services\LanManServer\Parameters | EnableForcedLogOff | DWORD | 1 |
| HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters | EnablePlainTextPassword | DWORD | 0 (must remain off) |
After editing, restart the client (and server if any LSA-related value was changed) and test again.
Edge Cases and Field Cautions
- Case-sensitivity: Windows 2000 user names are not case-sensitive, but WinCC V5.1 internal user names and group names may be. Match them carefully when migrating operators between machines.
- Password expiry: If the synchronized account has a password expiration policy, the prompt will reappear after the policy interval. Set the password to Never expires for service-style accounts, or use a managed rotation process with downtime.
- DNS suffix mismatches: Mixed environments where the client resolves the server by NetBIOS but the server expects FQDN access can cause intermittent prompts. Configure the same DNS suffix search order on both machines.
- Firewall and NetBIOS: If Windows Firewall is enabled on the server (less common on Windows 2000, but possible after applying later updates), UDP 137/138 and TCP 139 must be open for SMB and NetBIOS resolution. Without these the share appears as unreachable and a credential prompt with an error message may surface.
-
Time skew: Kerberos authentication (if a domain controller is involved) requires less than 5 minutes time skew between client and server. Check with
net time \\\<ServerName>and resync if needed. -
Multi-user project file locking: Only one writer may hold the
*.mcpfile. If the server is also in a development transition, the file may be held exclusively, and clients attempting to open it during this state will see authentication failures misreported as password prompts.
Verification Procedure
- Log on to the client workstation as the synchronized account (Solution 1) or as an account that has a stored credential (Solution 2).
- Open Windows Explorer and navigate to
\\<ServerName>\<ProjectName>. The directory listing must open without any dialog. If a dialog appears, the underlying Windows authentication is not yet resolved; do not proceed. - Open the
*.mcpfile by double-clicking. WinCC Explorer should start and load the project without requesting credentials. - Launch WinCC Runtime. Verify that the operator either auto-logs on or that the WinCC logon dialog (separate from Windows) accepts the configured credentials.
- Open Tools > Status of Server Connections in WinCC Runtime and confirm the server tag list, alarm list, and archive list report Connected.
- Force a tag write from the client and verify the change appears in the server archive.
- Restart the client and re-verify; a successful cold-boot test confirms the persistent credential path is functioning.
Troubleshooting Matrix
| Symptom | Most Likely Cause | First Action |
|---|---|---|
| Dialog every time client starts, but Windows Explorer works | Runtime context different from interactive logon | Apply Solution 2 (Stored User Names and Passwords) |
| Dialog also appears when opening share via Explorer | Account/password mismatch between client and server | Apply Solution 1 (Synchronize accounts) |
| Dialog appears, credentials entered are rejected | Account locked out, expired, or not granted share permission | Check Event Viewer 0xC0000234 / 0xC000006A; unlock and grant share |
| Dialog disappears after one manual entry, reappears next reboot | No persistent credential stored | Apply Solution 2 with Remember Password |
| No dialog, but WinCC reports cannot find server project | DNS/NetBIOS resolution failure rather than authentication | Verify with net view \\\<ServerName>
|
| Dialog on Windows XP clients but not Windows 2000 clients | Newer LM/NTLM default on XP rejects older auth | Adjust LmCompatibilityLevel via registry |
| WinCC logon (not Windows logon) appears after runtime starts | WinCC User Administrator not configured for auto-logon | Apply Solution 3; configure auto-logon in Computer Properties |
FAQ
Why does WinCC 5.1 prompt for a Windows password when opening the server's .mcp file?
WinCC V5.1 loads the server project (*.mcp) over a Windows network share using SMB. When the client workstation cannot transparently authenticate to that share - because the Windows user account, password, or domain trust does not match - Windows 2000 SP4 raises a credential dialog before the project can be read. The dialog is produced by Windows, not by WinCC's internal user administration. See Siemens Support FAQ 27061845 for the manufacturer-confirmed explanation.
What is the fastest fix for a WinCC client-server password prompt?
Create identical Windows user accounts (same user name and same password) on both the client and server machines, log on as that account on the client, open the server share once with Remember my password checked, and relaunch WinCC Runtime. In a domain, log on to the client with the same domain account that has access to the share.
Can I disable the Windows password prompt entirely in WinCC 5.1?
No safe method exists. The prompt is a Windows security feature, not a WinCC setting. Disabling authentication by enabling the Guest-only sharing model or by setting RestrictAnonymous to values that bypass authentication breaks access control on the project share and can cause silent archive write failures. Instead, configure synchronized accounts or persistent credentials via Control Panel > User Accounts > Manage Passwords.
Does the WinCC internal user administration stop the password dialog?
No. WinCC's User Administrator handles operator authorization inside runtime (picture access, tag read/write, alarm acknowledgement) and is independent of Windows network authentication. The two systems must both be configured: Windows credentials for share access, and WinCC credentials for runtime authorization. After Windows authentication resolves, you may still see a WinCC logon dialog unless auto-logon is enabled in Computer Properties > Startup.
Which Windows 2000 SP4 registry values control SMB authentication behavior?
The key values are LmCompatibilityLevel under HKLM\SYSTEM\CurrentControlSet\Control\Lsa (set to 1 for mixed NTLMv2 environments), RestrictAnonymous (keep at 0 for WinCC shares), and the Sharing and security model for local accounts Local Security Policy, which must be Classic rather than Guest-only. Always back up the registry before editing.