Problem Overview
The error message "Error Occurred During Download to Target System" is generated by the WinCC/PCS 7 Engineering Station (ES) when a project download is initiated toward a paired OS Client. The transfer of the compiled OS project (server and client packages) fails before, during, or just after the write operation to the client computer, leaving either a partial project directory on the client or, more commonly, no project at all.
After the failed download, opening the local WinCC Explorer on the new client often returns a secondary message: "Access to the project is currently not allowed." This second symptom is almost always a consequence of the first; the WinCC project service could not complete the registration of the project path with the SIMATIC Shell, so the project is in an indeterminate state.
Architectural Context
Before troubleshooting, confirm the components involved in a PCS 7 OS client download:
| Component | Role in Download | Default Protocol/Path |
|---|---|---|
| Engineering Station (ES) | Hosts WinCC Explorer and PCS 7 plant view; compiles OS server/client packages | Local WinCC project + S7/SQL backend |
| OS Server | Receives the OS server package; acts as the data concentrator for the client | Terminal Bus (TCP/IP), default 10.x.x.x / project-specific |
| OS Client (Target) | Receives the OS client package via shared folder or remote copy | Windows administrative share (default: C:\Program Files\Siemens\Automation\WinCC\WinCCProjects) |
| SIMATIC Shell | Manages Terminal Bus interface assignment on both ES and Client | Embedded in WinCC; accessed from My Computer / Explorer |
| Configuration Console | Defines the PG/PC interface used by SIMATIC NET for S7 communication | Start » SIMATIC » SIMATIC NET » Configuration Console |
The OS Client download path is, in the standard PCS 7 flow:
- ES compiles the OS Client package.
- WinCC on the ES opens an SMB/CIFS connection to the OS Client's
WinCCProjectsfolder using the client computer's local administrator account. - The package is transferred, then registered with the SIMATIC Shell on the client.
- The client service
CCAlgServicesand the WinCC project manager validate the registration and start runtime.
Any one of the four stages above can throw the "download to target system" error. The solution must therefore address SMB, DNS/name resolution, Terminal Bus binding, and local service permissions together.
Root Cause Matrix
| # | Root Cause | Symptom Clue | Detection Method |
|---|---|---|---|
| 1 | Shared folder on OS Client has no write access for the ES user | Files partially transferred or none; manual copy from ES to client fails | Try copying a 1 KB test file to \\<Client>\WinCCProjects from ES |
| 2 | SIMATIC Shell Terminal Bus interface is bound to the wrong NIC on the ES or Client | Shell shows empty or wrong subnet; download hangs then errors | Right-click SIMATIC Shell » Settings » verify interface |
| 3 | PG/PC interface in Configuration Console conflicts with the Terminal Bus NIC | Intermittent failure; sometimes succeeds after a restart | Setpoints of the Configuration Console: S7ONLINE access point points to wrong card |
| 4 | OS Client computer name in the ES project does not match the actual client hostname | Project appears under a stale name; "Access not allowed" after download | WinCC Explorer » OS » right-click » Computer name property |
| 5 | Windows user on the client is not a member of the local SIMATIC HMI group, or login is non-administrative |
Write succeeds but service cannot register the project |
lusrmgr.msc » Groups » SIMATIC HMI |
| 6 | Network adapter driver corruption, duplicate bindings, or stale NetBIOS | Failure appears after a Windows update or NIC change |
ncpa.cpl » adapter properties » reinstall driver |
| 7 | Windows firewall blocks SMB 445 / file sharing on the client | Ping succeeds, copy fails with access denied |
Test-NetConnection -Port 445 from ES PowerShell |
| 8 | Antivirus/endpoint protection quarantines transferred files | Transfer appears successful; files vanish immediately | Check AV quarantine log for .PDL, .MCP, .LDF
|
Pre-Diagnostic Checklist
Capture the following information on the ES and the affected client before changing anything. This will accelerate escalation if the problem persists:
- PCS 7 version: read from
C:\Program Files\Siemens\Automation\PCS7\bin\p7hwsetup.exe"About" or the SIMATIC Manager Help » About. - WinCC version: WinCC Explorer » Help » About. Common pairings: PCS 7 V9.0 = WinCC V7.4 SP1, PCS 7 V9.1 = WinCC V7.5, PCS 7 V8.2 = WinCC V7.3.
- OS Client computer name (Windows):
hostnameandipconfig /all. - OS Client name configured in the project: WinCC Explorer » OS » right-click computer » Properties » Computer Name field.
- Active user on client during download:
whoami /groups | findstr S-1-5-32-544(must include local Administrators). - Most recent Windows event log entries on the client:
eventvwr.msc» Application » sourceCCAlgServices,WinCC,S7.
Solution 1: Verify Shared Folder Write Access
The OS Client's project directory must be writable by the ES user account, normally the Windows administrator used on the ES.
- On the OS Client, open
\\localhost\WinCCProjects(or the actual project root) and confirm the share is listed. If the share is missing, recreate it viaSmcSrvSetupor by re-running the WinCC Client setup in repair mode. - From the ES, open Windows Explorer and navigate to
\\<ClientName>\WinCCProjects. - Right-click » New » Text Document. If creation succeeds, write permission is in place. If it fails, the ES user is not authorized.
- If creation fails, on the client right-click the folder » Properties » Sharing » Advanced Sharing » Permissions and add the ES user (or
Everyonefor diagnosis) with Full Control. Also add the user under the Security tab and select the same rights; Windows requires both NTFS and share permissions to be aligned.
icacls "C:\Program Files\Siemens\Automation\WinCC\WinCCProjects" /reset /T to reset inheritance before reapplying.Solution 2: Align SIMATIC Shell Terminal Bus Assignment
SIMATIC Shell on both the ES and the client must be bound to the network card that physically connects to the Terminal Bus. A mismatch causes the engineering download to attempt routing over the wrong interface, and the connection times out, surfacing as the target-system error.
- On the ES: open Windows Explorer » navigate to My Computer.
- Locate the
SIMATIC Shellvirtual folder, right-click » Settings. - In the dialog, select the NIC connected to the Terminal Bus (commonly an Intel I219-V on a dedicated /24 subnet, e.g., 192.168.0.x).
- Click OK and allow SIMATIC Shell to reinitialize.
- Repeat steps 1-4 on the OS Client, selecting the matching Terminal Bus NIC.
- Open SIMATIC Shell on the ES and confirm the client appears under Accessible Computers. The reported IP and computer name must match the client.
If the client does not appear, the Terminal Bus routing is still broken. Validate the following:
- Ping the client Terminal Bus IP from the ES and vice versa.
- Verify no VLAN mismatch on the switches; the Terminal Bus should be a single L2 broadcast domain.
- Verify Windows Defender Firewall allows the SIMATIC Shell service (
SNMPand the WinCC discovery ports) on the Domain and Private profiles.
Solution 3: Configure the PG/PC Interface
The PG/PC interface defined in Configuration Console determines which card S7ONLINE uses for S7 communication. If this assignment is inconsistent with the SIMATIC Shell binding, the download to the client (which is itself an S7-styled transfer) can fail.
- Start » SIMATIC » SIMATIC NET » Configuration Console.
- Select the access point
S7ONLINE. - Assign the same NIC that you selected in SIMATIC Shell on the ES. Save and close.
- If the ES has a second card used for engineering (for example, a CP1623 or a Softnet IE S7 Lean), temporarily disable it and reattempt the download. This eliminates the race condition where the wrong card handles the connection.
S7ONLINE access point can be silently redirected to a Softnet driver. After the download, restore the original setting to avoid disrupting Step 7 online functions.Solution 4: Synchronize the OS Client Computer Name
The OS project on the ES stores the destination computer name. If the name in the project differs from the client's actual Windows hostname, the download either writes to a non-existent path or registers the project under the wrong name. The fix is to align them.
- On the OS Client, open an elevated command prompt and run
hostname. Note the exact output. - On the ES, open WinCC Explorer.
- Right-click the OS in the project tree » Properties » Computer Name tab.
- Change the computer name to exactly match the value from step 1, paying attention to case (Windows hostnames are case-insensitive, but the WinCC project treats them as case-sensitive strings).
- Save, recompile the OS, and re-attempt the download. The download dialog will update the OS Client name automatically on the client side as part of the transfer.
If the ES and client are part of a Windows domain, the same step applies for the FQDN. Avoid pointing the OS computer name at a DNS alias (CNAME); use the A-record hostname only.
Solution 5: Set Correct Windows User and Group Membership
The WinCC OS Client services must run under an account that is:
- A member of the local
Administratorsgroup on the client. - A member of the local
SIMATIC HMIgroup (auto-created by the WinCC Client install). - Allowed to log on as a service (
secpol.msc» Local Policies » User Rights Assignment » Log on as a service).
- On the OS Client, log in as the account that will receive the download.
- Open
lusrmgr.msc» Groups » double-clickSIMATIC HMI. Confirm the user is a member; if not, add it. - Open
services.mscand verifyCCAlgServices,S7DOS, andWinCC Explorerare set to Automatic and that they are currently Running under the correct account. - If the project is a domain-managed system, the domain user must be a member of the local groups; AD membership alone is not sufficient because WinCC installs create local groups by design.
Solution 6: Reinstall the Network Adapter
If the project compiles, shares are writable, SIMATIC Shell shows the client, and the user permissions are correct, but the download still fails, the cause is often a corrupt NIC driver or stale binding. Reinstalling the network adapter is a proven recovery step.
- On the OS Client, open
ncpa.cpl. - Right-click the Terminal Bus NIC » Uninstall device. Tick Delete the driver software for this device.
- Reboot the client. Windows re-detects the NIC and reinstalls a clean driver from the driver store.
- Confirm the IP address, subnet mask, and DNS are restored, and that the Terminal Bus NIC has its original IP.
- Reattempt the OS download from the ES. The error should no longer appear; if it does, the issue is environmental (firewall, AV) and not driver-related.
If Windows cannot reinstall a working driver automatically (common with industrial PCs that need a vendor-specific driver), use the OEM driver pack from the manufacturer (Siemens AG, Kontron, Advantech, etc.) and install it manually before continuing.
Verification Procedure
After applying any of the solutions above, run the following sequence to confirm the OS Client is fully operational:
- From the ES, open SIMATIC Shell and verify the client appears with a green status icon and the correct IP.
- Trigger a Download to Target System from WinCC Explorer. The dialog should complete without the error and report Download successful.
- On the client, open WinCC Explorer » select the project » Activate. The runtime should start without the "Access to the project is currently not allowed" message.
- Open the OS runtime and confirm process pictures load and the configured area selection is responsive. The Alarm Logging and Tag Logging services should both initialize cleanly; check the
WinCC_Sys_<YYYYMMDD>_<HHMM>.LOGon the client for No errors. - Force a process tag change on the OS Server and verify it is visible on the new client within one refresh cycle (default 1 s, 2 s, or 5 s depending on the configured time base).
Troubleshooting Matrix
| Observed Behavior | Most Likely Cause | First Action |
|---|---|---|
| Download starts and hangs; error after 30-60 s | Wrong Terminal Bus binding on ES or client | Reassign SIMATIC Shell interface on both |
| Error appears in < 5 s | Shared folder permission denied | Test write access via Explorer |
| Error appears only on first attempt after PC reboot | WinCC client services not yet started | Set CCAlgServices to Automatic (Delayed Start) |
| Download succeeds, project opens with "Access not allowed" | User not in SIMATIC HMI group |
Add user to group, log out and in |
| Random failures after Windows update | NIC driver regression | Reinstall the NIC driver |
| Failure only with TLS/HTTPS configuration | Self-signed certificate not trusted on client | Export and import the ES root cert to the client Trusted Root store |
| Error 0x80070035 / "Network path not found" | DNS or NetBIOS issue | Add client to hosts on ES as a temporary workaround |
Preventive Measures for Future OS Client Adds
- Use a deployment checklist per new client: hostname pre-reserved in DNS, static IP assigned on Terminal Bus, local administrator created, antivirus exception list updated with
C:\Program Files\Siemens\Automation\WinCC. - After a Windows cumulative update, always validate the Terminal Bus connectivity with a manual SIMATIC Shell browse from the ES before triggering any download.
- Document the PG/PC interface assignment per ES in the plant's automation network register. A change in one ES can disrupt multiple clients.
- Maintain a golden image of the OS Client OS (with WinCC Client preinstalled) and the matching SIMATIC Shell configuration. Clone the image to new hardware to reduce per-install variance.
Frequently Asked Questions
What does the WinCC error "Error Occurred During Download to Target System" mean?
It indicates that the Engineering Station could not complete the transfer of the compiled OS client package to the target computer. Typical causes are missing write permission on the OS Client's project share, a misaligned SIMATIC Shell Terminal Bus binding, or a mismatch between the configured OS computer name and the actual Windows hostname of the client.
Why does the OS Client show "Access to the project is currently not allowed" after a failed download?
The download did not complete the registration of the project with the SIMATIC Shell, so the WinCC project manager cannot acquire an exclusive lock on the project files. After fixing the underlying transfer issue, delete the partial project directory on the client, re-trigger the download, and verify the user running the WinCC services belongs to the local SIMATIC HMI group.
Do I need to re-add the OS Client in WinCC Explorer if the download fails once?
Not necessarily. First correct the share permission, SIMATIC Shell binding, and computer name. Then right-click the OS Client in WinCC Explorer and select Download to Target System again. Only re-create the OS Client if the project entry in the ES still points to a host that no longer exists.
Is it safe to disable the second network card on the Engineering Station during the download?
Yes, as a diagnostic step. Disabling the secondary card removes ambiguity in the S7ONLINE access point and the SIMATIC Shell binding. Restore the original configuration once the download succeeds, and document the change in the network register.
Which Windows firewall ports must be open for the OS Client download to succeed?
Allow inbound SMB (TCP 445) and the SIMATIC Shell discovery services (UDP 137/138 plus the WinCC SNMP / CCAgent ports) between the Engineering Station and the OS Client on the Terminal Bus. Outbound traffic from the ES to the client on the same ports must also be permitted. Restrict the rule scope to the Terminal Bus subnet only.
Can I automate the verification of a freshly added OS Client?
Yes. Use the WinCC ODK interface or the CCAlgServices command-line to script a "Download, Activate, Read tag" sequence. A pass is logged when the read tag returns a value within one refresh cycle. This is the standard approach for PCS 7 V9.0 and later FAT/SAT harnesses.