Resolving SIMATIC BATCH Initialization Failure and Immediate Restart Request on Single-Station Workstations
In SIMATIC BATCH single-station configurations (such as PCS 7 V8.0 Getting Started), an immediate message requesting a computer restart upon launching the BATCH Launch Coordinator with status 'BATCH: UNINITIALIZED' indicates that the local BATCH database (sbdata) has not been generated or lacks Microsoft SQL Server permissions. To resolve this, perform a full 'Compile and Download Objects > SIMATIC BATCH' from SIMATIC Manager to initialize the database tables, verify that the logged-in Windows user belongs to local groups 'SIMATIC BATCH' and 'SIMATIC BATCH Administrators', and check Windows Event Viewer (Application log) to confirm that service bfserverx.exe starts without database attachment errors. Installing the latest BATCH update also resolves known initialization bugs.
Table of Contents
- Executive Summary
- SIMATIC BATCH Single-Station Architecture and Initialization Sequence
- Root Causes for 'BATCH: UNINITIALIZED' and Endless Restart Prompts
- Windows Event Log Diagnostics for BATCH Daemons
- BATCH Service Status and Diagnostic State Matrix
- Step-by-Step Database Generation and Service Recovery Procedure
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
Setting up a standalone SIMATIC BATCH single-station environment for plant piloting, training, or factory acceptance testing (FAT)—such as following the 'SIMATIC BATCH Getting Started V8.0' manual—often encounters an early startup roadblock. While the BATCH Status Info displays the server application as 'READY', the underlying PCS 7 status shows Offline: STANDALONE and BATCH: UNINITIALIZED. Attempting to start the BATCH Launch Coordinator in either Automatic or Manual mode produces an immediate operating system prompt requesting a restart. Rebooting the workstation fails to resolve the condition, and the restart prompt recurs immediately upon login. This behavior stems from missing SQL Server database initialization files (sbdata.mdf), insufficient local Windows user rights, or unpatched daemon race conditions. This technical guide outlines the complete diagnostic workflow to initialize BATCH services cleanly.
SIMATIC BATCH Single-Station Architecture and Initialization Sequence
In a Single-Station architecture, all SIMATIC BATCH components reside on the same physical computer:
- BATCH Server Daemons:
bfserverx.exe(Recipe Logic),bfdatax.exe(Data Storage), andbfschedx.exe(Unit Scheduler). - BATCH Control Center (BatchCC): The primary operator interface for recipe management and batch control.
- BATCH Database (
sbdata): An independent Microsoft SQL Server database instance dedicated to recipe schemas, audit trails, and unit state tables.
When the Launch Coordinator initializes, it queries the SQL Server instance WINCC or BATCH to attach sbdata. If the project has not been compiled from SIMATIC Manager, the database files do not exist on disk, prompting the daemons to fail their initialization self-test and request a reboot.
Root Causes for 'BATCH: UNINITIALIZED' and Endless Restart Prompts
Four primary faults cause the single-station restart loop:
- Uncompiled BATCH Multiproject: Launching BATCH services before executing Compile / Download BATCH from SIMATIC Manager leaves the runtime database uncreated.
- Missing Local Windows User Group Memberships: The active Windows user must be a member of
SIMATIC BATCH,SIMATIC BATCH Administrators, andSIMATIC HMI. Without these, Windows Access Control Lists (ACLs) deny the BATCH service access to local named pipes. - SQL Server Service State: If the SQL Server instance hosting BATCH is stopped or running under an unprivileged account, service connection fails.
- Known Software Defects: Unpatched base releases of SIMATIC BATCH V8.0 exhibit a known synchronization race condition on single-core or fast multi-core IPCs, resolved by installing BATCH V8.0 SP1 or cumulative hotfixes.
Windows Event Log Diagnostics for BATCH Daemons
When BATCH requests a restart, the definitive diagnostic error is recorded in the Windows Event Viewer:
- Navigate to Computer Management > Event Viewer > Windows Logs > Application.
- Filter for Event Sources
SIMATIC BATCH,bfserverx, orMSSQL$WINCC. - Error signatures like
Database 'sbdata' cannot be openedorLogin failed for user NT AUTHORITY\SYSTEMidentify the precise failure point.
BATCH Service Status and Diagnostic State Matrix
The following table correlates BATCH status indicators, event log signatures, and recovery actions:
Cannot attach database sbdata.mdfAccess Denied to Named Pipe \\.\pipe\bfserverSIMATIC BATCH Administrators and re-login.SQL Server service not respondingservices.msc.Step-by-Step Database Generation and Service Recovery Procedure
Method 1: Verifying Local User Group Memberships
- Right-click the Windows Start menu and select Computer Management (
compmgmt.msc). - Expand Local Users and Groups > Groups.
- Confirm that the logged-in Windows user account is a member of:
*Administrators
*SIMATIC BATCH
*SIMATIC BATCH Administrators
*SIMATIC HMI - If added, log off Windows and log back on to renew security tokens.
Method 2: Compiling and Downloading BATCH from SIMATIC Manager
- Open the Getting Started project in SIMATIC Manager.
- Select the BATCH process cell object in the project tree.
- Right-click and choose Compile / Download.
- Check both Compile and Download, select scope Entire plant, and click OK.
- Confirm that the compilation log finishes with 0 errors and generates the database files in the project folder.
- Open the BATCH Launch Coordinator; verify that status transitions to 'Running' (Green) without requesting restart.
Verification
To verify that SIMATIC BATCH operates cleanly in single-station mode:
- Launch Coordinator Status: Confirm that the BATCH Launch Coordinator tray icon turns solid Green.
- BatchCC Activation: Launch SIMATIC BATCH Control Center (BatchCC). Confirm that the application opens directly without error dialogs.
- Database Health: In BatchCC, select System > Update Plant Data. Verify that all configured units and phases appear in the plant browser tree.
Limitations and Operational Precautions
- Single-Station Licensing: Single-station installations require valid engineering and runtime licenses in Automation License Manager (
SIMATIC BATCH Single StationorBATCH Basic Server). - Clean Uninstallation Protocol: If the BATCH database becomes permanently corrupted by repeated hard shutdowns, use the BATCH Database Cleanup tool (
CleanBatch.exe) to reset database instances before recompilation. - Software Update Discipline: Always apply the latest available Service Pack and Update for your SIMATIC BATCH version to ensure Windows compatibility.
Engineer FAQ
Why does BATCH request a computer restart instead of showing a specific error?
When critical core daemons crash during startup, the BATCH watchdog assumes a locked system DLL or memory corruption and triggers a protective operating system restart request.
Where are the physical BATCH database files stored on disk?
Database files (sbdata.mdf and sbdata.ldf) are stored in the project directory under the BATCH subfolder, or within the default SQL data directory.
Can SIMATIC BATCH run if WinCC is not running?
The BATCH Server can start independently, but communicating with controllers and visualizing batch state on faceplates requires WinCC Runtime to be active.
Technical References
- Siemens AG: SIMATIC Process Control System PCS 7 SIMATIC BATCH Getting Started (Doc No. A5E34988772)
- Siemens Industry Online Support Entry ID 109780813: SIMATIC PCS 7 BATCH Engineering Guidelines
- Siemens Industry Online Support Entry ID 64847781: Compatibility Tool for Automation and Drive Technology
Related Articles
- https://industrialautomation.net/search?query=simatic+batch+uninitialized+restart+required
- https://industrialautomation.net/search?query=batch+launch+coordinator+service+failure
- https://industrialautomation.net/search?query=sbdata+sql+database+initialization+pcs7
Related Tags
- https://industrialautomation.net/search?query=simatic-pcs7
- https://industrialautomation.net/search?query=simatic-batch
- https://industrialautomation.net/search?query=troubleshooting
- https://industrialautomation.net/search?query=sql-server