IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC Runtime Advanced V13 crashes on password renewal

HMI and touchscreens Published 5 min read By IMDTouch engineering team

Short answer

WinCC Runtime Advanced V13 (with engineering at TIA Portal V13 UPD4 and Runtime at V13 UPD3) crashes when password aging forces a renewal, while a normal password change works. Updating both engineering and Runtime to WinCC Advanced V13 SP1 UPD2 and rebuilding and redeploying the project was reported to resolve it.

On this page
  1. Why only the renewal path fails
  2. Confirm you are on this failure path
  3. Preserve the evidence and a recoverable project
  4. Update both sides and redeploy
  5. Acceptance test and decision
  6. Questions asked

WinCC Runtime Advanced V13 can crash at the moment password aging forces a user to enter a new password, even though an ordinary password change in the same application completes without a fault. The reported affected combination was engineering at TIA Portal V13 UPD4 with Runtime at V13 UPD3, and the reported resolution was updating both sides to WinCC Advanced V13 SP1 UPD2, then rebuilding and redeploying the project. This article walks you through confirming that your crash is this expiration-triggered path, updating both components to the same level, and proving the fix with a test that keeps password aging enabled.

Why only the renewal path fails #

Password aging is the policy that requires a user to replace a password after its configured validity period. A forced renewal exercises a different authentication sequence from a voluntary password change: Runtime must process the expired credential, accept its replacement, update the account and complete the login transition in one flow. A successful voluntary change therefore proves nothing about the expiration-triggered sequence, which is exactly why the fault went unnoticed until the first password expired.

The affected and the working configuration, as reported:

Component or operation Affected Reported working
Engineering software TIA Portal V13 UPD4 WinCC Advanced V13 SP1 UPD2
Runtime software WinCC Runtime Advanced V13 UPD3 WinCC Runtime Advanced V13 SP1 UPD2
Voluntary password change Completed without a crash Include in the post-update test
Expiration-triggered renewal Runtime crashed during new-password entry Reported resolved

A service pack and an update are distinct release identifiers: V13 UPD3 and V13 SP1 UPD2 are not interchangeable descriptions, and comparing only the update number selects the wrong package.

Confirm you are on this failure path #

  • Read the version information of the engineering installation and record the complete release designation, service pack and update included.
  • Read the installed version on the computer executing Runtime and confirm it is Runtime Advanced, recorded separately from the engineering computer.
  • Log in with a dedicated test account while its password is still valid; Runtime should accept it and open the permitted screens.
  • Perform a voluntary password change through the application's user-management interface. On the reported failure pattern this succeeds and Runtime stays open.
  • Let the test account reach the configured expiration and enter a compliant replacement password at the mandatory renewal prompt. On an affected installation Runtime terminates during this sequence rather than rejecting the password.

A policy rejection with Runtime still running is a different problem from process termination, so capture the exact visible behavior. Do not advance the production computer's clock to force expiration: system-time changes also disturb alarms, archives and other time-dependent functions, and a Runtime crash removes operator visibility and command access, so run the reproduction on a representative non-production system or in an approved maintenance window. If every password change crashes, not only the renewal, check for a virus-scanner conflict first: Siemens documents sporadic crashes when one antivirus product ran alongside the V13 SP1 update level of TIA Portal.

Preserve the evidence and a recoverable project #

  • Collect the termination event from the Windows event log plus any Runtime diagnostic information, recording faulting application, faulting module, exception and timestamp where present.
  • Save an engineering project archive and document the current deployment so you hold a recoverable copy tied to the recorded engineering version.
  • Back up Runtime configuration and user-management data using the applicable product procedures, including the download certificate that Runtime uses to decrypt stored passwords, since passwords become invalid on a change to an older version without it.
  • Store the crash records and reproduction steps without recording any passwords.

Update both sides and redeploy #

  1. Obtain the service pack and update packages only from Siemens Industry Online Support or an authorized distributor, and read the installation notes for prerequisites, operating-system compatibility, installation order and project migration requirements; the update labels alone do not define a supported upgrade route.
  2. Stop Runtime in the approved maintenance window, with the backups from the previous section in hand.
  3. Install the engineering update; the engineering installation must then report WinCC Advanced V13 SP1 UPD2.
  4. Install the matching Runtime update on the execution computer and complete the required restarts; Runtime must then report the same V13 SP1 UPD2 level.
  5. Open the saved project in the updated engineering environment, resolve compilation errors and generate the Runtime application.
  6. Deploy the generated application to the Runtime computer and confirm it starts and shows the expected process screens.

Updating only one side leaves a configuration different from the one that resolved the reported case, so treat the matched pair as the corrective baseline. If you manage the accounts again afterwards, the steps for WinCC runtime user administrator account password changes are covered in a separate article.

Acceptance test and decision #

  • Keep password aging enabled and repeat the renewal test with the test account: at the mandatory prompt, enter a compliant new password. Expected result: Runtime accepts it, completes the login transition and stays running.
  • Repeat the voluntary password change as a regression check.
  • Confirm the deployed application reports the V13 SP1 UPD2 level and that the project was generated by the updated engineering side.

Decision: if your crash appears only after expiration forces a renewal and your installation matches the affected update levels, update both engineering and Runtime to WinCC Advanced V13 SP1 UPD2 and redeploy; that configuration was reported to fix this exact fault. If the crash appears on every password change, the SP1 UPD2 pair is still the right baseline, but investigate the virus-scanner conflict and the event log record first. Disabling password aging is not a repair, only a way of hiding the trigger.

Questions asked

Does disabling password aging fix the crash?

No. Disabling expiration removes the trigger but leaves the broken mandatory-renewal path in place. Keep aging enabled for the acceptance test so the fix is proven on the exact sequence that failed; disabling it only hides the fault until someone re-enables the policy.

Where do I get the V13 SP1 UPD2 updates?

Only from Siemens Industry Online Support or an authorized distributor; the Siemens support entry for updates to STEP 7 V13 SP1 and WinCC V13 SP1 lists the update packages. Read the installation notes there for prerequisites, operating-system compatibility and installation order before you start, and do not take the packages from any other source.

The crash happens on every password change, not only after expiration. Is this the same fault?

That is a different failure. The reported case completed ordinary password changes and terminated only during the forced renewal sequence, and the SP1 UPD2 update addressed that specific path. If every change crashes, first check whether an antivirus product interferes with TIA Portal, since Siemens documents sporadic crashes with one scanner combined with the V13 SP1 update level, then capture the Windows event record before changing software.

Keep reading

  • How-to

    WinCC V13 SP1 PDF viewer object on Runtime Advanced and Comfort Panels

    WinCC V13 SP1 adds a standard PDF viewer object for WinCC Runtime Advanced, Comfort Panels and second-generation Mobile Panels, with the HMI at version V13.0.1.0 or higher. Place the object from the toolbox, enter the PDF path and file name, and wire buttons to the PDF* functions such as PDFGotoPage and PDFZoomIn — no script is required.

    HMI and touchscreens

  • How-to

    Simulate two HMI panels in WinCC Advanced V13 SP2

    TIA Portal V13 SP2 with WinCC Advanced starts only one simulated panel at a time. To run two, copy an HmiRTm.ini into the WinCCRT Adv folder, set OnlyOneInstance to false, point LoadConfigFile at each compiled .fwc file, and start HMIRTM.exe once per panel.

    HMI and touchscreens

  • How-to

    Where to enter Sm@rtServer credentials in WinCC Runtime Advanced

    Enter the remote user and password in Windows Control Panel under WinCC Runtime Advanced Internet, on the Remote tab, behind Change Settings in the Server tab of the dialog that opens. The Sm@rtServer checkbox in the project's runtime settings only enables the server. Record the listening port shown there and use it with the PC's address in Sm@rtClient.

    HMI and touchscreens

Why WinCC flexible 2008 crashes with HRESULT 0x80040155