1. Problem Statement
On a station running Siemens WinCC V7.0 SP1 hosted on Windows XP Professional SP3 (32-bit), attempts to create a new WinCC project or open an existing .MCP project terminate with the dialog:
The specified network name is no longer available.
Two to three repeated attempts cause the CCExplorer.exe / WCCILpmon.exe process tree to abort, after which the WinCC project manager will not start at all (immediate process exit, no entry in the Event Viewer beyond a generic application hang). A clean reinstall of WinCC V7.0 SP1 (uninstall via SIMATIC Manager Setup, manual purge of %ProgramFiles%\Siemens\Automation, reboot, reinstall) does not clear the fault.
kernel32.dll / mpr.dll. Treat the dialog as a symptom, not the diagnosis.2. Affected Environment
| Component | Confirmed Version / Configuration |
|---|---|
| SCADA software | Siemens WinCC V7.0 SP1 (Build 7.0.1.0) |
| Operating system | Microsoft Windows XP Professional SP3, 32-bit |
| File system on project drive | NTFS (default) - sometimes with Compress contents to save disk space attribute set |
| Typical project path | C:\Program Files\Siemens\Automation\WinCC\WinCCProjects\<ProjectName> |
| Log-on context | Local Administrator or Power User |
The fault is reproducible on Windows XP SP3 hosts. It may also manifest on Windows Server 2003 R2 stations using the same WinCC V7.0 SP1 runtime. WinCC V7.0 (no SP) and V7.0 SP2 / SP3 typically behave identically when the same environmental trigger is present.
3. Decoding the Windows Error
The string "The specified network name is no longer available" is the text representation of Win32 error code:
| Parameter | Value |
|---|---|
| HRESULT / Win32 error |
0x00000040 (decimal 64) |
| Constant name | ERROR_NETNAME_DELETED |
| Source DLL |
kernel32.dll / mpr.dll
|
| Typical API caller |
CreateFileW, WNetAddConnection2, DeleteFile, MoveFileEx, MAPI calls |
Confirm via an elevated command prompt:
net helpmsg 64
The specified network name is no longer available.
Microsoft's official error-code reference documents this as a transport-level disconnect on a named resource - either an SMB share, an SMB redirector session, or a Win32 device opened by UNC/namespace path. Win32 System Error Codes (0-499) - Microsoft Learn lists it under networking/system category.
4. Root Cause Analysis
WinCC V7.0 SP1 writes thousands of small files (.LOG, .LDX, .MCP, .PF, .DBF, .RT, archive fragments) into the project directory during open and new operations. The internal project manager uses Win32 CreateFile / MoveFile to stage and rename these files. Any of the following environmental conditions converts a normal file write into an ERROR_NETNAME_DELETED:
- NTFS compression on the drive or directory hosting the WinCC projects (root cause in the majority of reported cases).
- Project opened from or saved to a disconnected / offline mapped network drive or stale DFS link.
-
AV / file-system filter driver blocking
MoveFileExcalls mid-rename (Trend Micro, McAfee VSE 8.7i, Symantec Endpoint Protection 11.x are common offenders on XP). - Folder redirection of Application Data or My Documents to a UNC path that is unavailable at the moment WinCC starts.
-
Corrupt WinCC project manager state in
%APPDATA%\Siemens\WinCC\andHKCU\Software\Siemens\Automation\WinCC. - Residual entries from a previous WinCC version pointing at a non-existent device or share.
5. Pre-Flight Diagnostics
Run these checks before changing anything; the output narrows the fault dramatically.
5.1 Confirm NTFS compression on the project directory
cmd /c compact /S:"C:\Program Files\Siemens\Automation\WinCC\WinCCProjects"
Look for output similar to:
9 1.234.567 C:\Program Files\Siemens\Automation\WinCC\WinCCProjects\MyProj\MyProj.MCP
1.0:1 0 = no compression
1.0:1 1 = compressed
If any line shows 1 = compressed, compression is set. This is the prime suspect.
5.2 Confirm drive-level compression
In Windows Explorer, right-click the drive root (e.g. C:\) → Properties → verify that Compress drive to save disk space is not checked.
5.3 Verify the project path is fully local
cmd /c net use
cmd /c dir C:\Program Files\Siemens\Automation\WinCC\WinCCProjects\<ProjectName>
Look for any \UNC\share\ entries. WinCC V7.0 SP1 does not fully support UNC-hosted active project databases; the runtime may attempt to negotiate SMB and lose the session, returning ERROR_NETNAME_DELETED.
5.4 Capture a WinCC trace
Open Start → Programs → Siemens Automation → WinCC → Tools → WinCC Diagnostics and enable verbose logging. Reproduce the failure. The WCCILpmon.log / CCAlg.log will show the offending CreateFile call.
5.5 Process Monitor filter
Download Process Monitor - Sysinternals. Apply a filter:
Path begins with C:\Program Files\Siemens include
Result is NOT SUCCESS include
Reproduce the open. ERROR_NETNAME_DELETED will appear as 0xC0000080 (STATUS_NETNAME_DELETED) on the failing CreateFile / SetEndOfFile stack. Note the immediate calling process and target path.
6. Resolution Path A - Remove NTFS Compression (primary fix)
- Close WinCC Explorer and stop the WinCC services:
cmd /c net stop "CCAlg" /y cmd /c net stop "CCProjectMgr" /y cmd /c net stop "CCArchiveMgr" /y cmd /c net stop "CCMsgServer" /y - Recursively remove the compression attribute from the WinCC project tree:
cmd /c compact /U /S:"C:\Program Files\Siemens\Automation\WinCC\WinCCProjects" /Q - Verify:
No output must be returned.cmd /c compact /S:"C:\Program Files\Siemens\Automation\WinCC\WinCCProjects" /Q | findstr /I "compressed" - Untick the global option: Explorer → right-click
C:\→ Properties → Advanced → clear Compress drive to save disk space. Click Apply to drive, subfolders and files. - Reboot. Disk Cleanup alone is not sufficient and does not strip NTFS compression.
- Retry WinCC project open.
mmap + transactional renames) on files in the project folder. NTFS compression forces the file system to allocate contiguous runs and to engage the LZNT1 decompressor on every read. A background re-balance triggered by antivirus or by the WinCC project manager itself can invalidate a kernel handle between CreateFile and the first ReadFile. The redirector reports this as ERROR_NETNAME_DELETED because WinCC originally opened the path through a namespace that is now severed.7. Resolution Path B - Eliminate UNC / Mapped Drive References
- List mapped drives and persistent connections:
cmd /c net use cmd /c reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2" /s - Drop every entry that points at an offline server:
cmd /c net use Z: /delete /y
- Verify no WinCC project files live on a UNC path. Open the registry and check:
reg query "HKLM\Software\Siemens\Automation\WinCC" /s | findstr /I "\\\\"
reg query "HKCU\Software\Siemens\Automation\WinCC" /s | findstr /I "\\\\"
Remove any value referencing a UNC path; replace with the local equivalent. Re-start WinCC.
8. Resolution Path C - Disable Conflicting Filter Drivers
- Open Device Manager → View → Show hidden devices.
- Under Non-Plug and Play Drivers look for legacy antivirus minifilters (e.g.
SymEFA,MfeEpePc,tmactmon). - Temporarily disable; reproduce the WinCC failure. If WinCC opens normally, request an exclusion from the AV vendor for
C:\Program Files\Siemens\Automation\WinCC\including its subfolders, and the working project directory. - Re-enable the driver once the exclusion is configured.
9. Resolution Path D - Repair the WinCC Project Manager State
- Close WinCC.
- Move (do not delete yet) the user state folders:
cmd /c move "%APPDATA%\Siemens\WinCC" "%APPDATA%\Siemens\WinCC.bak.%date:~-4%%date:~3,2%%date:~0,2%"
cmd /c move "%USERPROFILE%\Local Settings\Application Data\Siemens\WinCC" "%USERPROFILE%\Local Settings\Application Data\Siemens\WinCC.bak"
- Clear registry project-state for the current user:
reg delete "HKCU\Software\Siemens\Automation\WinCC\Projects" /f
- Re-launch WinCC Explorer. A new project can be created. Migrate any legacy state from the
.bakfolder once the fault is cleared.
10. Resolution Path E - Full Reinstallation with Correct Order
When paths A through D fail, perform a documented clean reinstall:
- Run SIMATIC Manager Setup → Install / Uninstall → select WinCC V7.0 SP1 → Uninstall. Reboot.
- Manually delete residual folders:
rmdir /S /Q "%ProgramFiles%\Siemens\Automation"
rmdir /S /Q "%CommonProgramFiles%\Siemens"
rmdir /S /Q "%APPDATA%\Siemens"
- Remove leftover services and drivers:
sc delete CCAlg sc delete CCProjectMgr sc delete CCArchiveMgr sc delete CCMsgServer sc delete CCNSHelper - Purge registry branches (export first as
.regbackup):reg delete "HKLM\Software\Siemens\Automation" /f reg delete "HKCU\Software\Siemens\Automation" /f reg delete "HKLM\System\CurrentControlSet\Services\CCAlg" /f - Reboot. Disable all third-party filter drivers / antivirus temporarily.
- Insert the WinCC V7.0 SP1 DVD. Install WinCC with the Typical profile; do not deselect components unless you have a documented reason.
- Apply NTFS compression hardening (Section 12) before launching WinCC.
- Re-enable antivirus; apply the SCADA whitelist.
11. Service & Runtime Verification
After any of the above resolutions, confirm the WinCC service stack is healthy:
| Service | Startup Type | Expected State |
|---|---|---|
| CCAlg | Automatic | Running |
| CCProjectMgr | Manual (trigger start) | Running when WinCC Explorer active |
| CCArchiveMgr | Automatic | Running if archiving enabled |
| CCMsgServer | Automatic | Running |
| SQL Server (WINCC) | Automatic | Running |
| SNMP Service | Automatic | Running (WinCC licensing) |
cmd /c sc query CCAlg | findstr STATE
cmd /c sc query CCProjectMgr | findstr STATE
cmd /c sc query CCMsgServer | findstr STATE
12. Preventive Hardening
Apply these baselines after the fault is cleared to prevent recurrence:
- Disable NTFS compression host-wide for the WinCC install tree:
cmd /c fsutil behavior set disablelastaccess 1
cmd /c compact /U /S:"C:\Program Files\Siemens\Automation\WinCC" /Q
- Set WinCC project directories to
\Program Files\Siemens\Automation\WinCC\WinCCProjectsonly; never on a UNC or DFS path. - Schedule a daily Compact -U job from the host's maintenance plan to catch any third-party tool that re-applies compression.
- Add the WinCC project tree to the antivirus exclusion list - both real-time scan and on-demand scan.
- Disable Folder Redirection for the WinCC service account user profile to a UNC target.
- Lock the registry keys that control WinCC project paths via group policy preferences.
13. Troubleshooting Matrix
| Observed Symptom | Likely Cause | Resolution Path | Verification |
|---|---|---|---|
| Error appears immediately on File → Open | Project file open blocked by NTFS compression | A |
compact /S returns no compressed lines |
| Error appears only when opening from mapped drive Z:\ | SMB session dropped | B |
net use shows local path only |
| Error appears after AV signature push | Filter driver interception | C | Temporarily disable AV; error disappears |
| WinCC starts but Explorer closes after 3 attempts | Corrupt user state in %APPDATA%
|
D | Move %APPDATA%\Siemens\WinCC aside; reopen |
| All of the above fail; clean install same error | Residual filter driver / registry | E | Full clean reinstall per Section 10 |
| Event Viewer shows 0xC0000080 on file rename | Antivirus real-time scan mid-rename | C + AV exclusion | Repro after exclusion |
| WinCC OK in safe-mode, fails in normal mode | Startup application hooking UNC namespace | msconfig → disable startup; isolate entry | Clean boot succeeds |
14. Cross-Reference: WinCC V7.0 Service Packs
The patterns above also apply to:
- WinCC V7.0 SP2 - introduces stricter UNC validation; remove UNC paths before installing.
- WinCC V7.0 SP3 - adds support for Windows Server 2008 R2 but retains XP / Server 2003 path; same compression caveat.
- WinCC V7.0 SP4 - last XP-capable build; treats
ERROR_NETNAME_DELETEDas fatal on project open and aborts the project manager, which is the failure mode observed.
When upgrading across service packs, reapply the path and compression hardening on the new install root before opening a legacy project.
15. Frequently Asked Questions
What does Win32 error 64 (ERROR_NETNAME_DELETED) actually mean in a WinCC context?
It is a Win32 I/O failure raised when the redirector (LANMan or the namespace provider used by WinCC) loses a handle to a named resource mid-operation. For WinCC it almost always traces back to a stale UNC path, a third-party file-system filter blocking a rename, or NTFS compression forcing a kernel handle invalidation. The error string originates in kernel32.dll and is surfaced unchanged by the WinCC project manager.
Is disk cleanup enough to fix this fault?
No. Disk Cleanup removes temporary files and the Compress Old Files option, but it does not strip the NTFS FILE_ATTRIBUTE_COMPRESSED bit from an active folder. Use the explicit compact /U /S:<path> /Q command shown in Section 6 to remove compression recursively, then verify with compact /S.
Will a clean reinstall of WinCC V7.0 SP1 always resolve it?
No. Reinstall only refreshes files, services, and WinCC-owned registry keys. It preserves NTFS compression attributes, third-party filter drivers, and UNC paths in HKCU. If those triggers remain, the fault returns within minutes. Always apply Section 6 (compression) and Section 7 (UNC paths) after a reinstall.
Can I run WinCC V7.0 SP1 projects from a network share?
Not reliably. The project manager performs transactional renames that the SMB redirector cannot atomically guarantee. If the share disconnects mid-rename, you receive ERROR_NETNAME_DELETED. Move the active project to a local NTFS folder. Use the share only for backups or .zap archives copied locally before open.
Which antivirus products are known to break WinCC V7.0 SP1 on Windows XP SP3?
Historical compatibility issues have been reported with Symantec Endpoint Protection 11.x, McAfee VirusScan Enterprise 8.7i, and Trend Micro OfficeScan 10.x without their SCADA exceptions. Configure vendor-supplied SCADA/whitelist policies that exclude C:\Program Files\Siemens\Automation\ and the project directory from real-time and on-demand scans before opening any project.