How to Resolve WinCC OS Client Download Error 'An Error Occurred While Changing the Computer Name'
To resolve the SIMATIC PCS 7 OS Client download error 'An error occurred while changing the computer name in project [ClientName]', engineers must correct Windows security permissions, release file locks on the client SQL database, and verify network station naming. This fault occurs when the Engineering Station (ES) successfully transfers the WinCC client project files over the network share but fails to modify the target computer name inside the project database (.mdf/.ldf) via remote DCOM/SQL calls. The resolution requires running CCCleaner.exe on the client to terminate hung WinCC processes, ensuring the logging-in Windows user belongs to the SIMATIC HMI and local Administrators groups on both machines, setting network share permissions to 'Full Control', and verifying that the computer name in PCS 7 matches the target workstation name exactly.
Table of Contents
- Root Cause Analysis: Why Target Computer Renaming Fails
- Prerequisite Checklist: Windows User Groups and Share Permissions
- Step-by-Step Resolution: Terminating Locks and Re-executing Download
- Manual Project Configuration Fallback Procedure
- Diagnostic and Configuration Troubleshooting Matrix
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Root Cause Analysis: Why Target Computer Renaming Fails
When downloading an OS Client project from the Engineering Station (ES) via SIMATIC Manager (PLC -> Download -> Target System), the process executes two distinct phases:
- File Transfer Phase: The ES copies the project directory structure, graphic files (
.pdl), scripts, and base project files across the Windows network share (<Shared_Folder>) to the target OS client. - Project Initialization Phase: The ES invokes remote SQL Server and WinCC components (
CCProjectMgr.exe) on the target client to mount the local database and update the internal project tableCC_ConfigStudioto reflect the physical Windows computer name of the OS client.
If the file transfer completes but the renaming step fails with the error 'An error occurred while changing the computer name in project', it indicates that:
* The remote ES process was denied SQL administrative privileges on the OS client database instance.
* Existing WinCC processes on the client (CCProjectMgr.exe, CCClientRT.exe, sqlservr.exe) hold an exclusive lock on the project file.
* Network NetBIOS name resolution or Windows firewall settings blocked the remote database management call.
* The station name defined in SIMATIC Manager does not match the actual physical Windows computer name of the client.
Prerequisite Checklist: Windows User Groups and Share Permissions
Before performing an OS Client download, verify that the following system prerequisites are met:
1. User Account Consistency
- The engineering user logged into the ES must exist on the OS Client with the exact same username and password (or belong to the same Active Directory domain).
- The user account must be an explicit member of the following local groups on both ES and OS Client:
AdministratorsSIMATIC HMISIMATIC NET
2. Network Share Configuration
- The target project directory on the OS Client (e.g.,
D:\WinCC_Projects) must be shared. - In Windows Explorer, right-click the shared folder -> Properties -> Sharing -> Advanced Sharing -> Permissions:
- Grant Full Control to
Everyoneor theSIMATIC HMIgroup. - On the Security tab (NTFS permissions):
- Grant Full Control to the
SIMATIC HMIgroup andSYSTEM.
Step-by-Step Resolution: Terminating Locks and Re-executing Download
Follow this procedure to recover the client and complete the download:
Step 1: Clean Up Hung Processes on the OS Client
- On the OS Client, close WinCC Explorer if open.
- Open an administrative Command Prompt and execute:
cmd "C:\Program Files (x86)\Siemens\WinCCin\CCCleaner.exe" - Wait for
CCCleanerto terminate all background WinCC processes (CCProjectMgr.exe,CCDataServer.exe,CCRTSys.exe). - Restart the OS Client workstation if file locks persist.
Step 2: Verify Station Naming in SIMATIC Manager
- In SIMATIC Manager on the ES, select the OS Client object.
- Right-click the OS Client -> Object Properties.
- Verify the Computer name field: It must match the Windows computer name of the target client character-for-character (case-insensitive, max 15 alphanumeric characters, no spaces or underscores).
- Verify the Target OS path: It must point to the valid UNC network share (e.g.,
\OSCLIENT01\WinCC_Projects\Client.mcp).
Step 3: Execute Target Download
- In SIMATIC Manager, right-click the OS Client -> PLC -> Download.
- Select Entire OS (or changes only if previously synchronized).
- The download process will complete file copying and successfully adjust the project computer name without errors.
Manual Project Configuration Fallback Procedure
If an urgent operational deadline prevents immediate resolution of remote network DCOM permissions, use this verified manual fallback:
- Copy Project Directory: Using Windows Explorer, navigate to the ES project directory where the client project is stored (
<PCS7_Project>\wincproj\<Client_OS>). - Copy the entire client project folder to an external drive or directly over the network to the target OS client storage directory (e.g.,
D:\WinCC_Projects\Client_OS). - Open Locally: On the OS Client, launch WinCC Explorer as Administrator and open
Client_OS.mcp. - Update Computer Name:
* In the WinCC Explorer navigation tree, right-click the top-level project name -> Properties.
* Under the General tab, click Change Computer Name to Local.
* When prompted: 'The computer name will be changed. WinCC must be closed', click OK. - Reopen and Verify: Reopen WinCC Explorer on the client. Verify that the computer name is updated to the local workstation name and activate Runtime.
Diagnostic and Configuration Troubleshooting Matrix
The following table outlines the diagnostic failure points and corrective actions for OS Client downloads:
WinCC_Sys_01.log on clientCCCleaner.exe; verify SIMATIC HMI group\Client\ShareSIMATIC HMI.mdf/.ldf database files.ldfdcomcnfg security logSecurity ControllerMaintaining synchronized Windows credentials prevents recurring download initialization errors.
Verification
To verify that the OS Client download succeeded:
1. Verify that the SIMATIC Manager download progress dialog completes with 100% and closes without error popups.
2. On the OS Client, open WinCC Explorer and check the project title bar: It must display the local workstation name.
3. Activate WinCC Runtime on the client.
4. Verify that server data packages are loaded, process pictures from all OS Servers are accessible, and alarms populate the alarm banner.
Limitations and Operational Precautions
- The manual copy fallback should only be used as a temporary emergency measure; long-term plant management requires establishing clean network downloads from the ES.
- Computer names must never exceed 15 characters, must not start with a digit, and must not contain special characters or underscores (
_). - Never use the WinCC Project Duplicator tool to transfer OS Client projects; OS Clients must be managed via SIMATIC Manager download.
- Always ensure all Windows updates and security policies conform to the officially released PCS 7 compatibility tool specifications.
Engineer FAQ
Can I rename the OS Client computer name directly in the Windows System Properties?
Renaming a Windows computer after WinCC is installed requires running the WinCC project preparation tool or updating SQL instances. It is best to assign the final hostname before installing WinCC.
Why does CCCleaner need to be run when download fails?
CCCleaner forcibly closes residual WinCC background services and releases file locks on the .mdf and .ldf database files, allowing the download process to overwrite them cleanly.
Does the OS Client require its own process object licenses?
No. OS Clients require an OS Client Runtime license (e.g., SIMATIC WinCC RT Client), but process objects (POs) are hosted and counted exclusively on the OS Servers.
Technical References
- SIMATIC PCS 7 Compendium Part A - Configuration Guidelines (Section 4.5.4 OS Clients)
- SIMATIC WinCC WinCC Information System: Working with Projects
- Siemens Industry Online Support Entry 107196780: PCS 7 OS Client Configuration Guidelines
Related Articles
- How to Troubleshoot ES to OS Download Failures in SIMATIC PCS 7
- Configuring Network Shares, User Groups, and DCOM for PCS 7 Workstations
- How to Reset WinCC Runtime and Clear Lingering Background Processes via CCCleaner
Related Tags
- OS Client Download
- WinCC Error Changing Computer Name
- CCCleaner
- SIMATIC HMI Group
- Network Permissions