Fix TIA Portal V15 Installation Restart Error on Windows 10

David Krause11 min read
SiemensTIA PortalTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

1. Problem Overview

The TIA Portal V15 (and V15.1) installation occasionally terminates immediately after the setup splash screen appears, displaying a dialog that requests an operating system restart. After reboot, the same message reappears on every launch of Setup.exe, and the installer never advances to the product selection or prerequisites stage. The dialog text typically reads:

  • "A restart of the computer is required before continuing the installation. Please restart the computer and run setup again."
  • "The operating system is not in a state to continue the installation. A pending file rename or delete operation exists."

Affected platforms: Windows 10 (build 1607 through 22H2), Windows 10 Enterprise, Windows 10 Pro, Windows 10 Education. Both first-time installs and re-installs after a successful prior deployment (including a previously working installation on the same laptop that was uninstalled) reproduce the fault. The error is independent of target installation directory, file system (NTFS), disk space, and most background software.

Engineering Note: The restart prompt is generated by Windows Installer (MSI) when the PendingFileRenameOperations registry value is non-empty at the start of an installation transaction. Siemens setup wraps the MSI transaction, so it inherits the same guard logic used by Microsoft Visual Studio and Autodesk products.

2. TIA Portal V15 System Requirements and Compatibility Matrix

Before troubleshooting the restart loop, verify that the target workstation meets the minimum and recommended hardware/software requirements published by Siemens for STEP 7 / TIA Portal V15. A non-conforming OS build can mask itself as a restart-pending error because the bootstrapper exits before logging a clear cause.

Component Minimum (V15) Recommended (V15) Notes
Operating system Windows 7 SP1 (64-bit), Windows 10 (1607) Pro/Enterprise Windows 10 (1809 LTSC) or later Windows 10 Home is supported but requires Pro features disabled in some packages
Builds validated by Siemens 1607, 1703, 1709, 1803, 1809 1809 LTSC, 21H2 Newer builds (22H2) may need V15.1 update
CPU Intel Core i5-4210U class or equivalent Intel Core i7-6xxx or better SSE4.2 instruction set required
RAM 8 GB 16 GB 7.89 GB usable reported by Windows 10 indicates 8 GB installed with reserved graphics memory
Disk free 15 GB (Basic) / 50 GB (Professional) 100 GB SSD NTFS only, no ReFS
Display 1366 × 768 1920 × 1080 100% DPI scaling only
Graphics DirectX 9.0c capable NVIDIA GeForce 840M or better Driver 417.71 or newer recommended
.NET Framework 4.6.1 4.7.2 Pre-installed on Windows 10 1709+
SQL Server SQL Server 2014 Express SQL Server 2016 SP2 Express Bundled with Professional installer

Reference: Siemens Entry ID 109751459 - System requirements for STEP 7 / TIA Portal V15 and V15.1.

3. Root Cause Analysis: Why the Restart Loop Persists

The TIA Portal setup invokes the Microsoft Windows Installer service (msiexec.exe) for each component package. Windows Installer refuses to begin a new transaction when it detects unresolved file-rename operations queued by a prior install, an incomplete Windows Update, or a crash. The pending operations are recorded in:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager
   Value: PendingFileRenameOperations
   Type:  REG_MULTI_SZ

Each entry is a \??\C:\path\oldname\??\C:\path\newname pair. Windows clears the value only after the rename succeeds during boot. When the user reboots in response to the TIA Portal prompt, Windows does not always process the queue (for example, when an entry points to a file held open by a service). The value persists, the next launch of Setup.exe re-detects it, and the loop continues indefinitely.

Common origins of the stale value:

  1. Partial uninstall of a prior TIA Portal / STEP 7 / WinCC version.
  2. Pending Windows cumulative update that requires a second boot.
  3. Antivirus or backup software that renames files during a real-time scan.
  4. Driver installer (NVIDIA, Intel ME, audio) that scheduled a DLL rename.
  5. Corrupted %WINDIR%\WinSxS store preventing rename completion.

The same mechanism is documented for Visual Studio (see Troubleshoot Visual Studio installation and upgrade issues) and Autodesk products (see An operating system restart is pending when trying to install AutoCAD 2024), confirming it is a Windows Installer behavior, not a Siemens-specific defect.

4. Pre-Installation Diagnostics

Run the following checks before modifying the registry. Document each result so you can roll back changes if the install still fails.

4.1 Confirm pending rename operations

  1. Open regedit.exe as Administrator.
  2. Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager.
  3. Look for PendingFileRenameOperations. If the value exists, right-click it and select Export to back it up (e.g., PendingFileRenameOperations_backup.reg).
  4. Double-click the value to inspect the multi-string contents. Count the entries and note any paths.

4.2 Confirm pending reboot from Windows Update

reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired"
reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending"

If either returns a 0x1 entry, Windows has not finished a servicing operation. The most reliable remedy is to allow Windows Update to complete its cycle, not to suppress the TIA Portal prompt.

4.3 Capture the setup log

Launch Setup.exe from an elevated command prompt with logging enabled:

cd /d "D:\Siemens_Install\TIA_Portal_V15"
Setup.exe /log "%USERPROFILE%\Desktop\TIA_V15_install.log"

The log is written to %USERPROFILE%\AppData\Local\Temp by default if /log is omitted. Search for the strings ERROR, PendingFileRename, and 1638. Error 1638 is the MSI code for "Another installation is already in progress" and is frequently logged alongside the restart loop.

4.4 Verify .NET and Visual C++ runtimes

reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" /v Release

Release value must be 461308 (4.7.1) or higher. If the key is missing or below 461308, install .NET Framework 4.7.2 before continuing.

5. Resolution Method 1: Clear PendingFileRenameOperations Safely

Critical: Removing PendingFileRenameOperations is safe only after the responsible process is closed and the rename target is no longer locked. Always export the original value first. Do not edit the value on domain-joined machines without consulting IT - some Group Policy objects repopulate it.
  1. Reboot the laptop once to give Windows a chance to process the queue. Watch the boot log (%WINDIR%\setupact.log) for the line "Pending file rename operations have been processed".
  2. Boot into Safe Mode with Networking: msconfig → Boot tab → check Safe boot → Minimal. In Safe Mode, third-party services (antivirus, backup) that may be holding the queued files are stopped.
  3. Open regedit.exe as Administrator.
  4. Navigate to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager.
  5. Right-click PendingFileRenameOperations and select Delete. If a PendingFileRenameOperations2 sibling value exists, delete it too.
  6. Close regedit. Reboot normally.
  7. Run Setup.exe as Administrator from the V15 distribution media.

If the value is repopulated on the next reboot, the queued rename is being re-injected by an active service. The originating service is usually identifiable by running:

Get-WinEvent -LogName Application -MaxEvents 200 | Where-Object {$_.Message -match "rename"} | Format-List TimeCreated,ProviderName,Message

6. Resolution Method 2: Run Setup with Full Administrator Privileges

UAC elevation is mandatory for TIA Portal V15. A standard Run as administrator click is not equivalent if User Account Control is configured to deny elevation prompts or if the user account is missing the SeDebugPrivilege token. Verify and remediate as follows:

  1. Open secpol.msc → Local Policies → Security Options.
  2. Set User Account Control: Behavior of the elevation prompt for administrators in Admin Approval Mode to Prompt for consent.
  3. Set User Account Control: Detect application installations and prompt for elevation to Enabled.
  4. Disable or temporarily uninstall any anti-malware product that hooks CreateProcess (Symantec Endpoint, McAfee ENS, Sophos Intercept X are known offenders).
  5. From an elevated cmd.exe window, run whoami /groups | findstr /i "S-1-16-12288" - the result must show High Mandatory Level. If it does not, the shell was not elevated correctly.
  6. Launch the setup from the elevated shell with the full path: "D:\Inst\TIA_V15\Setup.exe".

7. Resolution Method 3: User Profile, Locale, and Language Configuration

Siemens setup queries Windows for the default user language and refuses to install non-English languages whose locale is not configured in the active profile. On Danish / Danish-region installations, the bootstrapper has been observed to misreport system capabilities and trigger a false restart-pending error.

  1. Open intl.cpl → Administrative tab → Change system locale…
  2. Set Current system locale to English (United States). Cancel any prompt to reboot for now.
  3. Open control /name Microsoft.RegionAndLanguage → Region → Additional date, time, and regional settings → Language → Windows display language: English.
  4. Create a new local user: net user tiauser "P@ssw0rd!" /add and add it to Administrators: net localgroup Administrators tiauser /add.
  5. Log out and log in as tiauser.
  6. Install the English-only variant of TIA Portal V15. Do not select any other language during the initial deployment.
  7. After the install succeeds, log back in to the original user and run Setup.exe again. Choose Modify / Upgrade and add the Danish language pack.

Repeat the procedure for V15.1 if both versions are required.

8. Resolution Method 4: Repair the Windows Installer and SxS Store

If the registry value keeps reappearing even after a clean boot, the WinSxS component store may be corrupted. Run the following from an elevated command prompt:

DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

After DISM and sfc report no integrity violations, re-register the Windows Installer service:

msiexec /unregister
msiexec /regserver
net stop msiserver
net start msiserver

Re-run the setup.

9. Clean Installation Procedure (Nuclear Option)

Use this procedure when all methods above fail and the install must succeed. Document the original state for rollback.

  1. Disable Windows Update service temporarily: net stop wuauserv and net stop bits.
  2. Stop the Windows Installer service: net stop msiserver.
  3. Delete the following folders if they exist: C:\Program Files\Siemens\Automation, C:\Program Files (x86)\Siemens, %PROGRAMDATA%\Siemens, %APPDATA%\Siemens, %LOCALAPPDATA%\Siemens.
  4. Delete residual registry keys: HKLM\SOFTWARE\Siemens\Automation, HKLM\SOFTWARE\WOW6432Node\Siemens, HKCU\SOFTWARE\Siemens.
  5. Clear the PendingFileRenameOperations value per Section 5.
  6. Run Disk Cleanup with the option Windows Update Cleanup enabled.
  7. Re-enable Windows Update: net start wuauserv and net start bits. Let it complete any pending updates and reboot twice.
  8. Run Setup.exe as Administrator.

10. Verification Steps

After the install completes, confirm the deployment is functional:

  1. Open TIA Portal V15 from the Start menu. The splash screen should display BUILD 15.0.0.0 or higher.
  2. Launch the software and create a new project. The license dialog should appear (or the 21-day trial starts) without errors.
  3. Add an S7-1500 device and verify the device catalog loads.
  4. Check Help → About: confirm the product variants installed (STEP 7 Professional, WinCC Professional, S7-PLCSIM).
  5. Verify the following services are present and Started:
    sc query "S7TraceService"
    sc query "SiemensS7TIAV15"
    sc query "TeamCenterGateway"
    
  6. Open %WINDIR%\System32\drivers\etc\hosts and confirm no Siemens-related entries are blocked by an AV that hooked the file.
  7. Reboot the laptop. Re-launch TIA Portal. It should start without the restart prompt.

11. Troubleshooting Matrix

Symptom Likely Root Cause First Action Fallback Action
Restart prompt on first launch, never seen TIA Portal before Windows Update or driver installer left PendingFileRenameOperations Reboot twice, re-check registry Manual deletion per Section 5
Restart prompt after a prior successful install then uninstall Incomplete uninstall left MSI components in the queue Reinstall the prior version, then uninstall via Control Panel Clean install per Section 9
Restart prompt appears in any installer (Autodesk, VS, Siemens) Windows Installer corruption Run DISM /RestoreHealth + sfc /scannow In-place repair upgrade of Windows 10
Setup log shows error 1638 Another MSI instance is running Kill msiexec.exe in Task Manager Stop msiserver service, restart it
Setup log shows error 1719 Windows Installer service not registered msiexec /unregister && msiexec /regserver In-place repair upgrade
Restart prompt on Danish locale Locale reporting issue in setup bootstrapper Switch to English (US) locale, install English only Modify/Upgrade to add Danish
Setup starts then silently closes, no dialog Antivirus blocking Setup.exe or missing VC++ runtime Disable AV, install VC++ 2015-2022 redist Boot in Safe Mode with Networking
Restart prompt persists after every reboot, log shows 1603 Disk permission or quota on C:\Program Files\Siemens Check NTFS permissions, verify TrustedInstaller is the owner Install to D:\Siemens drive

12. Reporting the Issue to Siemens Support

If the problem cannot be resolved with the methods above, file a support request with Siemens Industrial Online Support. Include:

  1. Output of msinfo32 report (File → Export).
  2. The full TIA Portal setup log (%USERPROFILE%\AppData\Local\Temp\Siemens\Setup.log or path specified in /log).
  3. A screenshot of the restart dialog.
  4. The exported PendingFileRenameOperations backup .reg file.
  5. Confirmation that the install succeeds on another machine using the same media (this isolates the problem to the laptop, not the installer).

Reference: Siemens Industrial Online Support and Entry ID 109751459.

Why does TIA Portal V15 keep asking me to restart on Windows 10?

The Windows Installer service refuses to start a transaction when HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations is non-empty. This value is populated by incomplete Windows Updates, leftover uninstall operations, and antivirus software that queued file renames. Rebooting alone may not clear it if a service is still holding the target file open.

Is it safe to delete the PendingFileRenameOperations registry key?

Yes, after exporting the original value as a backup. Deleting it forces Windows Installer to start the transaction immediately. The risk is that a queued rename is lost, which can leave a previous application's DLLs in a partially updated state - this is acceptable when troubleshooting a TIA Portal install on a workstation where no other MSI operations are pending.

Which Windows 10 build is officially supported by TIA Portal V15?

Siemens supports Windows 10 builds 1607 through 1809 for V15, and adds 21H2 support with V15.1 updates. Builds newer than 21H2 (e.g., 22H2) may exhibit the restart loop and should be validated against Entry ID 109751459 before commissioning.

Can I install TIA Portal V15 alongside V15.1?

No. STEP 7 / TIA Portal supports exactly one major version per workstation. V15 and V15.1 cannot coexist; the install manager will refuse to add the second version. Use a virtual machine (Hyper-V or VMware) with Windows 10 to host the alternate version.

Does running Setup.exe as administrator actually help with the restart loop?

It helps only if the underlying cause is a privilege issue (UAC, SeDebugPrivilege missing, or a non-elevated shell). It does not help when the cause is PendingFileRenameOperations - that requires the registry cleanup described in Section 5, or completion of the pending Windows Update / uninstall operation.

Back to blog