Troubleshooting
Resolving WinCC SP4 Setup Stuck on Reboot and Security Patch
Short answer
The installer is stopping on its prerequisite gates one at a time. Restart Windows for the reboot condition, install the exact patch the message names, Windows SP2 KB 319740 from the MS Tools-DVD, and rerun setup; if the gates persist on a Turkish Windows XP SP2, reinstall Windows XP in English, which is what resolved the reported case.
On this page
WinCC SP4 setup stops on its prerequisite gates one at a time, and you clear them in the order the installer presents them. Restart Windows when the screen shows the reboot condition. When the next message names Windows SP2 KB 319740, install that exact patch from the MS Tools-DVD, restart, and run setup again. On a Windows XP SP2 machine installed in Turkish, the sequence that solved the reported case ended with Windows XP reinstalled in English. None of this means WinCC half-installed — the prerequisite check is doing its job, one gate at a time.
Read the prerequisite screen as a gate list #
The first screen is a status list, not an error. In the reported case it read:
ok product: microsoft sql server 2000ok product: microsoft message queuing v5.0condition: windows reboot.
Two gates green, one blocking. Close setup, restart Windows, then run setup again; the installer advances only once that reboot condition is cleared. If the same condition survives a full restart, stop relaunching setup in a loop and read what the line names before the next attempt. It is the same discipline as when you install the HMI base software before the service pack: one gate, one action, then the next.
Install the exact patch the message names #
After the restart, the reported setup stopped again and stated that the MS security patch is not installed on the system for this WinCC version, that the required software is Windows SP2 KB 319740, and that the MS-Security Patch installation should be run from the MS Tools-DVD. Do exactly that: install the patch, restart the PC, then run WinCC setup again.
Two identifiers have to match, the KB number and the service pack. KB 319740 is named for Windows XP SP2, and a similarly named hotfix is a wrong patch. The software is Microsoft's, so Microsoft's own distribution and the MS Tools-DVD that ships with the WinCC media are the legitimate sources; a third-party mirror is neither. Confirming that a Microsoft patch belongs on the installed release before you apply it is the same check as verifying Microsoft DST patch support on a PCS 7 system.
The Windows language gate #
The machine in the reported case ran Windows XP SP2 installed in Turkish, and the installation did not complete there. After Windows XP was reinstalled in English, setup ran through and the problem was solved. That is the decision to make at this point on a Turkish installation: reinstall the operating system in English rather than keep working the patch.
Changing regional and locale settings is not a substitute. The failure cleared only when the installed language changed, so treat the installed language as the variable the installer reacts to. Back the machine up first — this fix replaces the operating system, not a setting.
Worked example: clearing every gate on a Turkish Windows XP SP2 machine #
Inputs, each taken from the reported case:
- First setup run, prerequisite screen:
ok product: microsoft sql server 2000;ok product: microsoft message queuing v5.0;condition: windows reboot. - Second setup run, after a restart: MS security patch not installed for this WinCC version; required software
Windows SP2 KB 319740; source named as the MS Tools-DVD. - Operating system: Windows XP SP2, installed in Turkish.
Rule in words: setup advances only when the count of blocking conditions is zero, and each action clears exactly one gate. Work the gates in the order the installer presents them.
The arithmetic:
- Gates listed on the first screen: 3
- Gates already
okat that run: 2 - Gates blocking: 3 − 2 = 1, the reboot condition
- After restarting Windows: 1 − 1 = 0 blocking, so setup advances to the patch check
- Patch check on the Turkish installation: 1 blocking, because
Windows SP2 KB 319740is not installed - After the patch path and the English reinstall of Windows XP: 1 − 1 = 0 blocking, and setup proceeds
Result: three gates, three actions. The clean path needs two restarts — one for the pending reboot, one after the patch — plus the operating-system reinstall the reported machine needed before setup completed. The pass state is zero lines on that screen other than ok, so any line still not ok after your action is the next gate; act on that line, not on one already green.
When SQL Server or Message Queuing is the failing gate #
Both showed ok in the reported case, so neither was the blocker. If either shows a condition on your machine, two documented checks come first. Open services.msc and confirm the NT LM Security Support Provider service is enabled — enabling it is the reported fix for a Message Queuing installation problem on this platform. For the database side, Siemens support entry 22709910 collects the SQL Server installation prerequisites, known error messages and workarounds for WinCC in one place; work through that entry before reinstalling anything.
Confirm the installation actually finished #
The prerequisite screen is not evidence of a completed install. Let setup reach its completion state with no reboot or patch message outstanding, then launch WinCC and confirm it opens. Checks continue after setup is done — checking WinCC OPC registrations after a 7.0 setup is one example of that later pass. If a new message appears, capture its exact text together with the service pack, the OS language and the patch state, and resolve that message on its own terms.
The decision in short: restart Windows, install Windows SP2 KB 319740 from the MS Tools-DVD, restart, rerun setup — and on a Turkish Windows XP, reinstall in English.
Questions asked
What do I do if SQL Server 2000 or Message Queuing v5.0 is not ok?
Siemens documentation says to remove the computer from the domain and log on locally before installing Microsoft Message Queuing, Microsoft SQL Server and WinCC, because domain policies can block those installs. Do that, reinstall the failing component from the WinCC media, restart when prompted, and rerun setup.
Can I get KB 319740 from Microsoft instead of the MS Tools-DVD?
Yes, if it comes from Microsoft itself. The patch is Microsoft software, so Microsoft's official distribution and the MS Tools-DVD shipped with your WinCC media are the legitimate sources. Match the identifier exactly, Windows SP2 KB 319740 on Service Pack 2, and refuse a similarly named hotfix from a third-party mirror.
Why does this setup check SQL Server 2000 and Message Queuing v5.0 at all?
Because that pair belongs to the WinCC V6.0 installation path: the documented steps for WinCC V6.0 install SQL Server 2000 first, restart the PC when prompted, require no pending reboot, then add Microsoft Message Queuing before WinCC itself. The screen you were reading is that documented order running as a check.
What should I record if setup stops again after all of this?
Capture the exact message text, the Windows service pack, the OS installation language, and whether Windows SP2 KB 319740 appears among the installed updates. Those four values identify which gate is still blocking and are what any support engineer asks for first, so record them before the next setup attempt.