I’d already restarted Windows. When I launched the Siemens TIA Portal V21.1 installer again, setup still showed the same message:

You must restart your computer before you can run setup. Do you want to reboot your computer now?

I hit this during the ISO installation shown in my V21.1 walkthrough. If you’re seeing the same prompt after a Windows restart, here’s what I’d check first and where the registry workaround comes in.

Why TIA Portal setup can still ask for a restart

Windows can schedule file renames and deletions to happen the next time the PC starts. Installers and updates use this mechanism when a file is still in use. Windows stores these queued operations in a registry value called PendingFileRenameOperations. If an operation remains pending after a reboot, it can be one reason a Siemens installer keeps asking for another restart. Microsoft Learn

The same symptom came up in an earlier TIA Portal discussion on the Antomatix forum. Siemens also references support entry 8861819 in its installation documentation for recurring Windows restart prompts. Antomatix.com Forum

What to check before changing the registry

  1. Finish any pending Windows updates or other installations. Use Start → Power → Restart, then run TIA Portal setup again.
  2. If the same message returns, check what Windows has queued. Microsoft’s PendMoves utility lists pending file rename and delete operations. This can help identify which software is involved. Microsoft Learn
  3. If the queue belongs to an update or installation that’s still in progress, resolve that first. Clearing the registry value removes the queued operations. On a managed engineering laptop, have IT confirm that the entry is safe to clear. Microsoft Learn

The registry workaround for a stale restart entry

If you’ve confirmed that the queued entry is stale, open Registry Editor (regedit) as an administrator and go to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

Select Session Manager, then use File → Export to back up the selected key. In the right-hand pane, find PendingFileRenameOperations. The documented workaround for this symptom is to remove that specific value and rerun setup. If the value is missing or the prompt still returns, stop there and contact Siemens support with the exact message and your installer version. support.microsoft.com

Watch the V21.1 installation and feature walkthrough

Jump to around 01:35 in the video to see the restart prompt. I also show where to find the Siemens download, how the TIA Installer compares with the ISO setup workflow, and what’s worth trying once V21.1 is running:

  • S7-1500 multicore programming and where to assign an organisation block to a CPU core.
  • PLC hardware export as YAML and what the exported file looks like.
  • Keeping actual data block values and what to check when downloading a DB change.
  • S7-PLCSIM Advanced V9 and its simulation workspace.
  • Responsive WinCC Unified screens, including Grid, Stack, Wrap and breakpoints.

For a broader look at the release, read What’s New in TIA Portal V21.1. The Siemens V21.1 trial download is the page shown in the walkthrough.

By admin

Related Post

Leave a Reply