Problem Overview
Engineers installing SIMOTION Scout V5.1 on a Windows 10 64-bit engineering workstation frequently encounter a startup fault the first time SIMATIC Manager or the Scout add-in is launched. The diagnostic message is presented by the SIMATIC Manager shell, not by the Scout installer itself, which is why the failure looks post-installation even though its origin lies in the build sequence.
The reported symptom reads:
Error occurred while reading in the file:
C:\PROGRA~2\SIEMENS\Step7\U7umc\data\wrkbnch\metadata\wbsnapin.xml
unknown error
SIMATIC Manager then refuses to open any project, refuses to enumerate the SIMOTION hardware catalog, and refuses to load the project tree. A second, related symptom may surface during the original setup run:
Creating config files failed! Please check the log files for details
C:\ProgramData\Siemens\Automation\Logfiles\Setup\mkcfgdb_<timestamp>_log.txt
C:\ProgramData\Siemens\Automation\Logfiles\Setup\hwakatimport_<timestamp>_log.txt
The hwakatimport log file is typically absent in this scenario, which is a strong indicator that the hardware catalog import step never completed.
wbsnapin.xml fault is the user-visible manifestation; the mkcfgdb / hwakatimport faults are the install-time manifestation. Re-running the Scout installer alone will not clear the symptom because the missing data is owned by the SIMATIC Manager runtime, not by Scout.
Affected Software Stack
The fault is documented against the following combination. Engineers running any of these products in a virtual machine, an RDP session, or a heavily customized corporate image are at the highest risk:
| Component | Version | Role in the failure |
|---|---|---|
| SIMOTION Scout | V5.1 (without HF) | Motion engineering add-in for SIMATIC Manager |
| SIMATIC STEP 7 | V5.6 (with or without SP) | Base PLC engineering platform; owns the U7umc workspace |
| SIMATIC S7-PCT | V3.5+ | Port configuration tool, often dropped by Scout V5.1 |
| S7 F Configuration Pack | matching STEP 7 build | Required only for fail-safe projects, but Scout V5.1 setup may install it |
| Operating system | Windows 10 Pro 64-bit | Confirmed working host; Windows 7 SP1 also acceptable per Siemens compatibility matrix |
Refer to the Siemens SIMOTION Scout V5.1 Readme and the STEP 7 V5.6 Compatibility Tool for the full, version-specific matrix. The general rule is that Scout V5.1 expects a STEP 7 V5.6 base; it will not run on top of STEP 7 V5.5 SP4 without intermediate updates, and it will refuse to install cleanly on top of a partial STEP 7 V5.7 install.
Root Cause Analysis
The wbsnapin.xml file is a workspace metadata document used by the SIMATIC Manager MMC snap-in to enumerate installed engineering components. It is generated the first time SIMATIC Manager finishes its post-install configuration and is regenerated by the mkcfgdb setup task and by the hardware catalog (hwakat) importer.
When SIMOTION Scout V5.1 is installed before a complete and healthy STEP 7 V5.6 instance, the following sequence breaks:
- The Scout installer registers COM components and writes registry entries under
HKLM\SOFTWARE\Siemens\Automation\InstalledComponents. - The Scout installer invokes the STEP 7 setup bootstrap to refresh the catalog.
- STEP 7 setup attempts to read its own installation state from
S7SETUP.INIinSiemens\Automation\Setup. If STEP 7 is missing, partially installed, or was installed under a different Windows user profile than the one running the Scout setup,mkcfgdbaborts with the Creating config files failed message. - The
hwakatimportstep is skipped because it depends on the catalog database thatmkcfgdbwas supposed to create. - SIMATIC Manager is launched at the end of setup. Because the workspace metadata was never written, it cannot find
wbsnapin.xmlin the expected 8.3 pathC:\PROGRA~2\SIEMENS\Step7\U7umc\data\wrkbnch\metadata\, and the unknown error message is raised.
In short: Scout V5.1 cannot self-bootstrap a missing STEP 7 V5.6 installation. The installer assumes STEP 7 is already present, healthy, and able to refresh its own catalog. If that assumption fails, the workspace is left in an inconsistent state and the only safe recovery is to repair the STEP 7 install first.
Pre-Diagnostic Checklist
Before removing software, capture evidence of the failure mode. The following checklist reduces the number of unnecessary reinstall cycles:
| Check | Expected / healthy state | Fault indicator |
|---|---|---|
| Windows event log, Application channel | No MsiInstaller warnings for S7 or Scout | Warning IDs 1015, 1023, or 1033 referencing Siemens |
Service S7wnosvc
|
Present, manual start | Service binary missing or not registered |
Folder %ProgramFiles(x86)%\Siemens\Step7\S7BIN
|
Contains s7wmstpa.exe and S7epa.exe
|
Folder absent |
Folder %ProgramFiles(x86)%\Siemens\Step7\U7umc\data\wrkbnch\metadata
|
Contains wbsnapin.xml > 1 KB |
Folder or file missing or 0 bytes |
Registry HKLM\SOFTWARE\Siemens\Automation\InstalledComponents\Step7
|
Present with version string | Missing or version mismatch |
Folder %ProgramData%\Siemens\Automation\Logfiles\Setup
|
Empty after a clean run | Contains mkcfgdb_*.log or hwakatimport_*.log
|
If wbsnapin.xml is present but is 0 bytes, the workspace is half-initialized. If it is absent entirely, the STEP 7 setup never finished and the cleanest path is a full STEP 7 repair.
Reading the Setup Logs
The two log files that the installer complains about are the canonical source of truth. They are timestamped and written to %ProgramData%\Siemens\Automation\Logfiles\Setup:
| Log file | Generated by | Indicates |
|---|---|---|
mkcfgdb_*.log |
STEP 7 catalog database builder | Result of the mkcfgdb.exe step; non-zero exit code triggers the fault dialog |
hwakatimport_*.log |
STEP 7 hardware catalog importer | If absent, the importer was never reached — the catalog DB itself is unusable |
Open mkcfgdb_*.log in Notepad and search for the strings ERROR, EACCES, access denied, and could not register. The most common lines observed in the field are:
ERROR : Failed to open S7SETUP.INI - access denied
ERROR : Could not write to HKEY_LOCAL_MACHINE\SOFTWARE\Siemens\Automation
ERROR : mkcfgdb returned -1
All three are caused by a missing or corrupted STEP 7 base install. They cannot be repaired by deleting the registry key or by copying files; the underlying setup must be re-run.
Resolution Procedure
The verified, field-tested recovery sequence is to repair or reinstall SIMATIC STEP 7 V5.6 first, and only then to (re)install SIMOTION Scout V5.1. Reverse the order is the most common cause of repeated failures.
Prerequisites
- Local administrator account; UAC must be fully elevated, not just acknowledged.
- Installer media for STEP 7 V5.6 and SIMOTION Scout V5.1, plus any language packs.
- License keys for both products transferred to the local license server or present on a USB dongle.
- All SIMATIC Manager instances closed. The
S7wnosvcservice may remain in its default state. - Temporary backup of any user-specific STEP 7 projects under
%USERPROFILE%\Siemens\Automation; the repair does not touch user projects, but a snapshot is good practice.
Step-by-Step
-
Uninstall SIMOTION Scout V5.1 first. Use Settings → Apps → Siemens Automation → SIMOTION Scout or run the Scout setup with
/uninstall. A failed install is often still registered as an MSI product and must be removed cleanly or the new install will return error 1603. - Reboot. This clears the file system filter driver that STEP 7 installs and ensures any pending file deletes from the Scout uninstall are committed.
-
Repair STEP 7 V5.6. Insert the STEP 7 V5.6 DVD, run
setup.exe, and select Repair / Update existing installation. Choose Repair, not Modify. A typical repair takes 15 to 25 minutes. -
Verify the catalog database. After the repair finishes, confirm that
C:\Program Files (x86)\Siemens\Automation\CatalogcontainsCAx01.dband that its size is non-zero. If it is missing, runmkcfgdb.exefromS7BINmanually and watch for the sameERRORlines as before — if present, the Windows image itself is corrupted. - Reboot again. Required so that the registry changes are visible to the Scout installer.
-
Install SIMOTION Scout V5.1. Launch the Scout V5.1 setup. Do not launch the Scout before the install completes; some engineers have reported that opening the Scout start menu entry before the catalog rebuild finishes reintroduces the
wbsnapin.xmlfault. - Reboot a third time. Scout installs a service that depends on the STEP 7 catalog. A clean restart guarantees the snap-in registers.
-
Open SIMATIC Manager and create a blank project. This forces the workspace to be rebuilt and writes a healthy
wbsnapin.xml.
Batch / Multi-Workstation Rollout
For engineers deploying Scout V5.1 to more than one workstation, use the silent install in the verified order:
:: 1. Silent STEP 7 V5.6 install
setup.exe /s /v"/qn REBOOT=R" /v"SETUPTYPE=INSTALL"
:: 2. Reboot
shutdown /r /t 0
:: 3. Silent Scout V5.1 install (assumes MSI)
msiexec /i "SIMOTION Scout V5.1.msi" /qn REBOOT=R
:: 4. Reboot
shutdown /r /t 0
Wrap the sequence in a deployment tool (SCCM, Ivanti, PDQ, MDT) and verify against a golden image. Do not stage the Scout package in the same SCCM application as STEP 7; keep them as dependent applications so the order is enforced by the deployment tool.
Verification
Confirm the fix with the following checks. All four must pass before the workstation is returned to production:
-
File presence.
wbsnapin.xmlexists under%ProgramFiles(x86)%\Siemens\Step7\U7umc\data\wrkbnch\metadataand is larger than 1 KB. - SIMATIC Manager clean start. Launch SIMATIC Manager and create a new project of type SIMOTION Project. The project wizard must offer SIMOTION devices in the catalog tree.
- Scout startup. Launch SIMOTION Scout from the SIMATIC Manager menu. No wbsnapin.xml unknown error dialog appears.
- Online reachability test. Connect to a known-good SIMOTION controller (e.g., D435, D445, P320) on Ethernet. The Online → Accessible nodes view should list the device.
If step 2 passes but step 3 fails with the original error, the workspace metadata is healthy but the Scout snap-in itself is not registered. Re-register the Scout DLLs manually:
cd /d "%ProgramFiles(x86)%\Siemens\Automation\Scout"
regsvr32 /u SimScoutExt.dll
regsvr32 SimScoutExt.dll
Then run the Scout setup once more in Repair mode.
Edge Cases and Field-Proven Caveats
| Scenario | Likely effect | Recommended action |
|---|---|---|
| STEP 7 V5.5 SP4 already installed, Scout V5.1 installed on top | Catalog mismatch, mkcfgdb aborts |
Upgrade STEP 7 to V5.6 first, then run Scout setup in Repair |
| STEP 7 V5.7 partially installed (e.g., TIA Portal migration) | Registry collision with legacy STEP 7 entries | Completely remove STEP 7 V5.7 legacy components before installing V5.6 |
Antivirus actively scanning U7umc
|
Setup is blocked mid-write, wbsnapin.xml truncated |
Whitelist %ProgramFiles(x86)%\Siemens and %ProgramData%\Siemens before setup |
| Run setup over RDP without console session | Installer crashes silently at the end of mkcfgdb
|
Install from a console session or use a VNC mirror |
| Previous STEP 7 install under a different user account | ACL on S7SETUP.INI denies access to the new admin |
Take ownership of %ProgramData%\Siemens recursively before setup |
| Windows 10 22H2 with .NET Framework 4.8 hardened | STEP 7 setup may abort on the .NET prerequisite check | Enable .NET Framework 3.5 and 4.8 advanced services in Windows Features |
| Project drive on a network share with slow link | SIMATIC Manager reads wbsnapin.xml from the share and times out |
Move the STEP 7 user folder to a local SSD, see Siemens FAQ 77478082 |
Troubleshooting Matrix
| Observed error | First-line action | If unresolved |
|---|---|---|
wbsnapin.xml unknown error on SIMATIC Manager start |
Repair STEP 7 V5.6, then repair Scout V5.1 | Manual regsvr32 of Scout DLLs; rebuild U7umc workspace |
Creating config files failed during setup |
Inspect mkcfgdb_*.log, repair STEP 7 base |
Whitelist antivirus, run setup as SYSTEM via PsExec |
Missing hwakatimport_*.log
|
Catalog DB never created; rerun mkcfgdb from S7BIN
|
Restore %ProgramData%\Siemens\Automation\Catalog from backup |
| Scout closes immediately after splash | Catalog DB corrupted; rebuild catalog, repair Scout | Remove HKCU\Software\Siemens\Automation\Scout and reopen |
| Online mode greyed out for SIMOTION device | Device version not present in catalog | Install the matching SIMOTION device upgrade package |
Preventive Hardening
To prevent recurrence on a workstation that has just been repaired, apply the following hardening:
- Create a Windows scheduled task that runs
mkcfgdb.exe /verifymonthly and writes the result toApplicationevent log. A sudden non-zero exit indicates catalog drift. - Lock down the ACL on
%ProgramFiles(x86)%\Siemensand%ProgramData%\Siemensso that only SYSTEM, Administrators, and the engineering user have write access. Group Policy Objects are ideal for this. - Disable Windows Defender real-time scanning on the two Siemens directories, or add a per-process exclusion for
setup.exe,mkcfgdb.exe, andhwakatimport.exe. These binaries perform many small file operations and are frequently mis-flagged. - Document the install order in the workstation handover pack so that any future upgrade follows the same STEP 7 first, Scout second discipline.
What does the wbsnapin.xml unknown error in SIMOTION Scout V5.1 actually mean?
The file C:\Program Files (x86)\Siemens\Step7\U7umc\data\wrkbnch\metadata\wbsnapin.xml is the SIMATIC Manager workspace metadata. The unknown error dialog means the file is missing, empty, or unreadable, which happens when the STEP 7 V5.6 catalog database was never built because Scout V5.1 was installed before a healthy STEP 7 base. Repairing STEP 7 V5.6 first and then reinstalling Scout V5.1 regenerates the file.
Can I fix the wbsnapin.xml error without reinstalling STEP 7?
Sometimes. If the file exists but is 0 bytes, close SIMATIC Manager, delete wbsnapin.xml together with the other U7umc metadata, and run mkcfgdb.exe from %ProgramFiles(x86)%\Siemens\Step7\S7BIN as administrator. If the file is genuinely absent or if mkcfgdb returns a non-zero exit code, a STEP 7 repair is required.
Which STEP 7 version is required for SIMOTION Scout V5.1?
SIMOTION Scout V5.1 requires SIMATIC STEP 7 V5.6. Earlier versions such as V5.5 SP4 are not supported by Scout V5.1 without additional patches, and STEP 7 V5.7 legacy components conflict with the catalog database Scout V5.1 uses. Refer to the SIMOTION Scout V5.1 Readme for the full compatibility matrix.
Why is the hwakatimport log file missing after a failed Scout install?
The hardware catalog importer runs only after mkcfgdb.exe has built a healthy catalog database. If the database build fails, the importer is never invoked, so no log file is produced. Treat the missing hwakatimport_*.log as confirmation that the catalog itself is broken, not as a hint that the importer crashed.
Does this error occur on Windows 11 or only on Windows 10?
STEP 7 V5.6 and SIMOTION Scout V5.1 are not officially supported on Windows 11 by Siemens. Field reports indicate that the same wbsnapin.xml and mkcfgdb symptoms appear on Windows 11 21H2 and 22H2. The supported workaround is to install Windows 10 21H2 or 22H2, or to run the engineering toolset inside a Windows 10 virtual machine on a Windows 11 host.