Problem Description
The SIMATIC WinCC V7.4 SP1 Update 3 Project Duplicator utility fails to produce a usable project copy. The operator selects a source project, chooses a destination path, and the procedure appears to run normally. The first progress bar advances from 0% to 100% while archive files, database fragments, graphics, scripts, and configuration files are written into the destination folder. Immediately afterwards, a second progress bar advances from 0% to 100% and the utility deletes everything it just wrote. The destination folder is left empty. No error dialog, no warning pop-up, no log entry, and no Windows event is raised. From the operator's perspective, the operation is silent and the project is lost.
This behavior has been reproduced on multiple Windows 10 engineering stations running WinCC V7.4 SP1 Upd3 and is independent of the project's size, number of pictures, archive count, or activated optional packages. The same source project duplicated successfully on an older installation with WinCC V7.4 SP1 Upd1, confirming that the regression is introduced by the Upd3 patch level rather than by the project content itself.
Affected Versions and Environment
| Component | Affected | Not Affected | Notes |
|---|---|---|---|
| WinCC V7.4 SP1 | Update 3 (Upd3) and later patch levels built on Upd3 | Update 1 (Upd1), Update 2 (Upd2) | Regression introduced between Upd2 and Upd3 |
| Operating system | Windows 10 (1607, 1709, 1809, 1909, 20H2 observed) | Windows 7 SP1 still possible on V7.4 | Win10 specific path due to ODBC/DSN handling |
| SIMATIC Net | Versions older than the recommended V16 SP1 family may expose the issue more frequently | Latest SIMATIC Net updates aligned with TIA portal updates | Check the compatibility list in the WinCC V7.4 SP1 readme |
| SQL backend | Microsoft SQL Server 2014 / 2016 used by the project archives | Project with no archive database still affected | Database independence suggests a UI path bug |
Always verify the installed update level on the engineering station. From Start > SIMATIC > WinCC > WinCC Explorer > Help > About, confirm that the version string ends in SP1 Update 3 (or higher sub-build derived from Upd3) before applying the procedure below.
Root Cause Analysis
Internal handling of the ODBC data source name (DSN) in the Project Duplicator wizard changed after Upd1. In Upd1 and earlier, the wizard would prompt for, or auto-create, the destination project's DSN during the Save As step. In Upd3, the wizard expects the operator to have already selected a valid DSN file (the .dsn file that defines the connection to the destination SQL archive) before pressing the Save As button. When no valid DSN is pre-selected, the duplicator falls back to a non-prompting failure path: it copies the files using a temporary template, then unconditionally deletes the copy on completion, because the binding between the destination folder and a DSN entry is treated as unresolved. The deletion phase produces no warning because, from the application's point of view, the operation did not complete its DSN-binding contract and is being rolled back.
Two contributing factors increase the probability of triggering the failure:
- Multiple active network adapters. If the engineering station has more than one enabled NIC (wired + Wi-Fi, VPN, Hyper-V virtual switch, VMware/Workstation bridge, WSL, etc.), the SQL native client can resolve the local DSN host name to a non-primary address and the DSN lookup returns a transient error. The duplicator treats that error as a DSN-binding failure and proceeds to delete.
- SIMATIC Net version drift. A SIMATIC Net version older than the WinCC V7.4 SP1 recommended baseline can cause the same DSN resolution behavior, because parts of the WinCC DSN path are implemented through SIMATIC Net COM/DCOM interfaces.
Symptom Matrix
| Symptom | Root Cause | Severity |
|---|---|---|
| First progress bar 0-100% then second progress bar 0-100% deletion | DSN not bound before Save As (Upd3 regression) | High - project not delivered |
| Destination folder empty, no error pop-up | Silent rollback of the copy phase | High |
| DSN dialog flashes briefly, then disappears | DSN resolution returns a non-primary NIC | Medium |
| Wizard asks for DSN file when Save As is pressed, even though destination is a folder | Upd3 expects a .dsn file, not a folder, as binding target |
High |
| Wizard freezes at ~50% of the first progress bar | Antivirus or Windows Defender real-time scan intercepting the SQL temp files | Medium |
| Duplicator reports "Project is in use" and aborts | WinCC Explorer, WinCC Runtime, or another Duplicator instance has the source project open | Low - clean up the lock |
Solution: Pre-Bind the DSN File Before Save As
The workaround that resolves the regression is to associate the destination folder with a valid ODBC DSN before pressing the Save As button. The Duplicator will then accept the destination and complete the copy without the silent delete phase.
Step 1 - Close all WinCC processes
- Exit WinCC Explorer and any active WinCC Runtime instance.
- Open Task Manager > Details and confirm that
CCExplorer.exe,CCRT.exe,PDuplicator.exe, andSQLAGENT.EXEare not running. - If a previous failed duplication left orphan processes, end them. They hold the source project file lock and will block the copy.
Step 2 - Disable all but the primary network adapter
- Open Control Panel > Network and Sharing Center > Change adapter settings.
- Right-click every adapter except the one used to reach the project server, the engineering network, and the SQL Server, and choose Disable.
- Disable VPN clients, Hyper-V virtual switches, VMware/Workstation bridged networks, and WSL vEthernet adapters in particular - they have been observed to interfere with the DSN name resolution.
- Open
cmdand runipconfig /flushdnsto clear the resolver cache.
Step 3 - Create or verify the destination DSN
- Open ODBC Data Sources (32-bit). WinCC V7.4 SP1 is a 32-bit application, so always use the 32-bit ODBC administrator:
C:\Windows\SysWOW64\odbcad32.exe. - Select the System DSN tab.
- If a DSN for the destination project does not exist, click Add and select SQL Server (or SQL Server Native Client 11.0). Configure it to point to the local SQL Server instance, with Windows authentication, and a default database matching the destination project.
- Test the connection. A successful test confirms that the SQL Native Client can resolve the local hostname over the surviving network adapter.
Step 4 - Locate the .dsn file
- Open File Explorer and navigate to the destination project folder you intend to use (for example
D:\Projects\PlantA_Copy). The folder can be empty - the Duplicator will populate it. - The DSN file expected by the Upd3 wizard is a small text file with extension
.dsnthat references the ODBC entry. In a default WinCC installation, sample DSN files are stored underC:\Program Files (x86)\Siemens\Automation\WinCC\binand under each existing project's root folder. - Copy an existing project's
.dsnfile into the destination folder, rename it to match the destination project name, and edit it with Notepad to point to the DSN created in Step 3. The DSN is a plain INI-style file with a[ODBC]section and aDSN=<name>entry.
Step 5 - Run the Project Duplicator with the pre-bound DSN
- Launch Start > SIMATIC > WinCC > Project Duplicator as administrator.
- Step 1: select the source project. Click Next.
- Step 2: select the destination. Before pressing the Save As button, browse to the destination folder where the
.dsnfile from Step 4 is located. If the wizard exposes a file picker that filters on.dsn, select the file you just placed. If the wizard only shows a folder picker, leave the folder selected; the presence of a valid.dsnin the folder is what the Upd3 build checks. - Click Save As. The duplicator should now perform the copy phase and stop, leaving the destination folder populated. No second deletion progress bar should appear.
*.LDF, *.MDF or the SQL-native equivalents), the GraCS folder, the Library folder, and the Project.xml. If all four are present and the destination folder size matches approximately the source folder size, the duplication succeeded.Supplementary Checks
SIMATIC Net compatibility
Verify the installed SIMATIC Net version against the WinCC V7.4 SP1 compatibility list in the SIMATIC WinCC V7.4 SP1 readme. As a general rule, install the latest SIMATIC Net version that is paired with the WinCC version. Mixing a WinCC V7.4 SP1 Upd3 installation with a SIMATIC Net from an older TIA generation (V13/V14) is a frequent cause of intermittent DSN lookups.
Antivirus exclusions
Add the source and destination project folders, the WinCC working directory C:\Program Files (x86)\Siemens\Automation\WinCC, and the SQL Server data directories to the real-time scan exclusion list of the installed antivirus product. Real-time scanning of the temporary archive MDF/LDF files during the copy phase can cause the second-phase delete to trigger as a transactional rollback.
User account and DCOM
Run the Project Duplicator as a member of the local SIMATIC HMI group with full control on the project folders. If the destination is on a UNC path, the same user must have write access and SeImpersonatePrivilege on the target machine. DCOM access must be enabled for the WinCC components - the default WinCC install configures this automatically, but locked-down corporate images sometimes reset the DCOMCNFG permissions.
Update level consistency
If the engineering station hosts multiple WinCC versions (for example a V7.3 project for legacy support and a V7.4 SP1 project for current work), confirm that the active project is the V7.4 SP1 Upd3 installation. Mixing project versions on the same station has been observed to misroute the Duplicator to the older DSN handling code path.
Alternative Project Duplication Methods
If the Project Duplicator continues to fail after applying the workaround, use one of the following manual procedures to copy the project. These are slower but bypass the affected wizard code path.
Method A - File-level copy with WinCC Explorer
- In the source project's WinCC Explorer, select File > Copy Project. This produces a single self-contained
.pckarchive. - On the destination machine or folder, open WinCC Explorer and select File > Retrieve. Choose the
.pckfile and supply a new project name. WinCC rebuilds the SQL archive and DSN automatically. - This method is the most reliable when the destination is a different physical machine or a different SQL Server instance.
Method B - AS-OS transfer (PLC ↔ HMI)
- If the project is associated with a STEP 7 / TIA Portal AS, use PLC > Download to Target Device or AS-OS Engineering > Transfer to push the WinCC configuration to the destination HMI station.
- This bypasses the Project Duplicator entirely and uses the runtime-side loader.
Method C - Manual folder + DSN rebuild
- Copy the entire source project folder (including hidden and system files) to the destination path using
robocopy /MIRorxcopy /E /H /K. - Create a new DSN in the 32-bit ODBC administrator pointing to a new SQL database with the same logical name as the destination project.
- Open the duplicated project in WinCC Explorer on the destination machine. The project migrator detects the missing SQL binding and re-attaches the database, prompting for the new DSN.
- This method requires that the destination SQL Server instance is reachable and that the user has
dbcreatorrights.
Verification Procedure
- Open the duplicated project in WinCC Explorer. Confirm the project name, computer name, and the list of pictures, archives, and tags match the source.
- Start WinCC Runtime in simulation mode. The runtime should reach the configured start picture without raising system errors 1000000 to 1000999 (general project integrity range).
- Open Tag Management and confirm the configured connections are green.
- Open the Alarm Logging editor and confirm the message configuration loaded without "missing DLL" or "cannot open database" warnings.
- Check the destination folder size:
Get-ChildItem -Recurse | Measure-Object -Property Length -Sumin PowerShell, or right-click → Properties. The total should be within 5% of the source folder size for projects with similar archive retention. - Re-enable the network adapters disabled in Step 2 of the workaround, one at a time, and re-test the Duplicator on a non-production project to verify that the issue is fully resolved and that you can run with the normal multi-NIC configuration.
Troubleshooting Matrix
| If after the workaround... | Then check... | Resolution |
|---|---|---|
| The second delete progress bar still appears | DSN binding - the .dsn file in the destination folder does not match an active System DSN | Re-create the System DSN, ensure DSN name in the .dsn file matches exactly (case-sensitive) |
| Wizard reports "Access denied" while writing the destination | NTFS permissions on the destination folder, or read-only attribute on the folder | Grant the engineering user Full Control, clear the read-only attribute at the folder level |
| Wizard reports "Database is in use" | SQL service holding an exclusive lock on the source MDF | Detach the source database in SQL Management Studio, or stop the SQL service temporarily |
| Destination folder is populated but project does not open | The destination DSN points to a different SQL Server than the one expected by WinCC | Recreate the DSN with the correct server and authentication, restart WinCC Explorer |
| Project opens but archives are empty | The archive database was not re-attached during the copy | Open the destination in WinCC Explorer, right-click the archive database, select "Recreate Database" |
| Project opens, archives work, but runtime loses license | License is tied to the source computer's hardware key | Transfer the license to the destination station using the Automation License Manager |
Best Practices to Avoid the Issue
- Always run the Project Duplicator on an engineering station that has only one active network adapter.
- Keep WinCC V7.4 SP1, SIMATIC Net, and the Automation License Manager on the same patch family.
- Always close WinCC Runtime, WinCC Explorer, and any 3rd-party OPC clients before starting the Duplicator.
- Document the destination DSN name in your project naming convention so that operators always know which
.dsnfile to place in the destination folder before pressing Save As. - Use the File > Copy Project / Retrieve method for cross-station transfers; use Project Duplicator only for in-station copies where the source and destination share the same SQL Server.
- Maintain a backup of every project as a
.pckarchive on a separate drive. The.pckformat is independent of the Project Duplicator and is the most resilient exchange format for WinCC V7.4 SP1 projects.
FAQ
Why does the WinCC V7.4 SP1 Update 3 Project Duplicator copy files and then delete them?
The Duplicator expects a valid ODBC DSN file to be present in the destination folder before you press Save As. When the DSN is missing, the wizard performs the copy, then rolls back by deleting the files in a cleanup phase that produces no error dialog. Place a matching .dsn file in the destination folder, ensure the System DSN exists in 32-bit ODBC, and the silent deletion no longer occurs.
Did Upd1 also have the silent delete behavior?
No. WinCC V7.4 SP1 Upd1 and Upd2 duplicate projects correctly without requiring a pre-bound DSN. The regression appears between Upd2 and Upd3. If you cannot apply the DSN workaround, reverting to Upd1 or Upd2 (after a clean uninstall and a fresh install) restores the original behavior.
Do I have to disable all my network adapters to use the Duplicator?
You must ensure the SQL Native Client can resolve the local hostname over the primary adapter used for the SQL Server. Disabling Wi-Fi, VPN, and virtual switches is the safest way to guarantee that. If you cannot disable them, edit the hosts file or set a DNS suffix so that the local SQL Server name resolves exclusively to the primary NIC address.
Which SIMATIC Net version is compatible with WinCC V7.4 SP1 Upd3?
Install the latest SIMATIC Net version officially paired with the WinCC V7.4 SP1 release family. Avoid mixing a WinCC V7.4 SP1 installation with a SIMATIC Net version from a different TIA generation, as that combination has been observed to break DSN resolution and to trigger the silent delete.
Is there an alternative to the Project Duplicator that does not trigger this bug?
Yes. Use WinCC Explorer > File > Copy Project to produce a .pck archive, then File > Retrieve on the destination. The .pck path is independent of the Duplicator and of the affected Upd3 code. You can also use the AS-OS engineering transfer or a manual folder copy with a recreated System DSN.