Overview
Siemens TIA Portal V19 (Totally Integrated Automation Portal, release 03/2023) fails during installation on Windows 10/11 and Windows Server systems with the generic error An error occurred during setup. The setup wizard terminates before component files (STEP 7 V19, WinCC V19, Startdrive V19, PLCSIM V19, or TIA Portal Cloud Connector) are deployed to C:\Program Files\Siemens\Automation.
The root cause is a missing or incomplete Internet Information Services (IIS) installation on the host operating system. TIA Portal V19 depends on IIS for the integrated web-based help system, the TIA Portal Help Viewer, the licensing service web interface, and OPC UA discovery endpoints. When the installer cannot provision the required IIS application pools or rewrite rules, the setup rolls back and aborts. In many environments the IIS role is partially installed (World Wide Web Services only) but the URL Rewrite Module 2 is missing, which produces the same setup halt.
This article documents the three-part resolution: enable IIS with the correct sub-features, install Microsoft URL Rewrite Module 2, and execute the Siemens prepare script. The fix applies to clean installs, in-place upgrades from V17/V18, and repair installations on virtualized hosts.
Affected Products and Versions
| Product | Version | Installer Package |
|---|---|---|
| TIA Portal | V19 (19.0.0.0) | SIMATIC_TIA_Portal_V19.iso / DVD |
| STEP 7 | V19 | STEP7_Professional_V19 |
| WinCC (TIA Portal) | V19 | WinCC_TIA_Portal_V19 |
| Startdrive | V19 | Startdrive_V19 |
| PLCSIM | V19 | S7-PLCSIM_V19 |
| S7-PLCSIM Advanced | V6.0 (V19 compatible) | S7-PLCSIM_Advanced_V6 |
| TIA Portal Cloud Connector | V19 | TIA_Portal_Cloud_Connector_V19 |
Prerequisites
Confirm the following before attempting the fix:
- Operating system is one of the supported platforms: Windows 10 (64-bit) version 21H2/22H2, Windows 11 (64-bit) version 22H2, Windows Server 2019 (Standard/Datacenter), or Windows Server 2022 (Standard/Datacenter).
- The user account is a member of the local
Administratorsgroup and has full control on the installation target directory. - At least 30 GB of free disk space on the system drive (TIA Portal V19 plus options, plus Windows reserved storage).
- All background antivirus and endpoint protection services are temporarily disabled (or the TIA Portal installation directories are added to the exclusion list).
- The TIA Portal V19 installer media is locally available (USB, mounted ISO, or extracted folder). Network shares with offline files or DFS-R replication will corrupt the install.
- PowerShell 5.1 or higher and the DISM module are available (default on supported Windows versions).
Root Cause Analysis
TIA Portal V19 ships an integrated Information Server-style help architecture that requires IIS 7.5 or higher with the URL Rewrite Module 2 (IIS 7.5+). The setup bootstrapper (Start.exe in the installer root) performs a prerequisite scan that includes:
- Detection of the
W3SVC(World Wide Web Publishing Service) registry hive underHKLM\SOFTWARE\Microsoft\InetStp. - Verification of the URL Rewrite Module 2 handler registration under
HKLM\SOFTWARE\Microsoft\IIS Extensions\IIS URL Rewrite Module 2\Setup\Version. - Validation that the IIS Common HTTP Features, Request Filtering, and Static Content Compression sub-features are installed.
If any of the checks fail, the bootstrapper writes a non-zero exit code to %LOCALAPPDATA%\Temp\Siemens\TiaPortalSetupLog.txt and rolls back partially created directories. The end-user only sees the generic Microsoft Installer dialog An error occurred during setup with no specific error number, which is why the Siemens knowledge base redirects installers to this IIS/URL Rewrite procedure.
setup.log from the installation directory and search for the strings URLRewrite, IIS, rewrite, or WebServer. The presence of any of these confirms the root cause is the IIS prerequisite.Solution Part 1: Enable Internet Information Services (IIS)
Enable IIS through the Windows Features dialog or PowerShell. The graphical path is fastest on a single workstation.
- Press
Win + R, typeappwiz.cpl, and press Enter to open the Programs and Features control panel. - Click Turn Windows features on or off in the left pane.
- In the Windows Features dialog, expand Internet Information Services.
- Check the top-level Internet Information Services checkbox (this selects the default sub-features automatically).
- Expand Internet Information Services → World Wide Web Services → Common HTTP Features and verify all three sub-items are checked: Default Document, Directory Browsing, HTTP Errors, Static Content.
- Expand World Wide Web Services → Application Development Features and check ASP.NET 4.8 (or the highest version available on the host). On Windows 11 22H2, .NET 4.8 is the supported ASP.NET target for TIA Portal V19.
- Expand Web Management Tools and check IIS Management Console and IIS Management Scripts and Tools.
- Click OK. Windows applies the feature change and may prompt for source files from the Windows installation media or Windows Update.
- Reboot the system when prompted, even if the prompt is optional.
For scripted deployment across multiple engineering workstations, use the equivalent PowerShell commands:
Install-WindowsFeature -Name Web-Server, Web-Asp-Net45, Web-Mgmt-Console, Web-Scripting-Tools -IncludeManagementTools
On Windows 10/11, replace with the DISM alternative:
DISM /Online /Enable-Feature /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-CommonHttpFeatures /FeatureName:IIS-StaticContent /FeatureName:IIS-DefaultDocument /FeatureName:IIS-DirectoryBrowsing /FeatureName:IIS-HttpErrors /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-ASPNET45 /FeatureName:IIS-ManagementConsole /All
Solution Part 2: Install URL Rewrite Module 2
Enabling IIS does not install the URL Rewrite Module 2; it is a separate redistributable from Microsoft. Download and install it before re-running the TIA Portal V19 setup.
- Download URL Rewrite Module 2.0 (64-bit,
rewrite_amd64.msi) from the official Microsoft IIS downloads page. - Right-click the installer and select Run as administrator.
- Accept the license terms and complete the wizard. The installer registers the module under the IIS pipeline and writes the registry key
HKLM\SOFTWARE\Microsoft\IIS Extensions\IIS URL Rewrite Module 2\Setup\Version. - Verify installation by opening IIS Manager (
inetmgr.exe) and confirming the URL Rewrite icon appears at the server level.
Siemens documents URL Rewrite Module 2 as a mandatory prerequisite in support entry 109773589, which lists the IIS sub-features and rewrite module that must be present before the TIA Portal V19 setup can complete.
Solution Part 3: Run the Siemens Prepare Script
Siemens publishes a Prepare.cmd script that re-validates the IIS configuration, registers ASP.NET with IIS, and re-applies URL Rewrite Module 2 handler mappings. The script is the recommended final step before re-launching Start.exe.
- Open the TIA Portal V19 installer media (mounted ISO or extracted folder).
- Navigate to
Support→Prepare→Prepare.cmd. - Right-click
Prepare.cmdand select Run as administrator. - Wait for the script to finish. Successful execution prints Preparation completed successfully and exits with code 0.
- Do not close the elevated command prompt until the prompt returns to the input cursor.
Reference the official Siemens procedure at support entry 109955145, which documents the prepare script, supported Windows builds, and the IIS component list verified by the script.
Step-by-Step Installation Procedure (After Prerequisites)
- Confirm Windows is up to date and the system has been rebooted after the IIS changes.
- Mount the TIA Portal V19 ISO (for example
SIMATIC_TIA_Portal_V19_2023.iso) or insert the installation DVD. - Open the mounted drive, right-click
Start.exe, and select Run as administrator. - In the Setup Launcher, choose the products to install (STEP 7 Professional V19, WinCC V19, Startdrive V19, PLCSIM V19, TIA Portal Cloud Connector, etc.).
- Accept the license agreement for each product and click Next.
- Select Install rather than Modify on first deployment.
- Wait for the progress bar to reach 100%. The setup takes 25–60 minutes depending on the selected product set and the disk performance.
- When prompted, choose whether to restart now or later. Select Restart now to finalize the installation.
- After reboot, launch TIA Portal from the Start menu and accept the security prompt for the trusted Siemens certificate.
Verification
Validate the installation is healthy by performing these checks:
-
Process service check: Open
services.mscand verify Siemens Automation License Manager, S7DOS Help Server, and World Wide Web Publishing Service are running with Automatic startup type. -
Port binding check: Run
netstat -ano | findstr :80andnetstat -ano | findstr :443. The TIA Portal Help Viewer and licensing web interface should bind to TCP 80/443 on the loopback address. -
Help Viewer test: Open TIA Portal, press
F1, and confirm the help pages render without HTTP 404 or HTTP 500 errors. This confirms URL Rewrite Module 2 is correctly registered. -
License Manager test: Open the Automation License Manager and confirm local license keys are visible. If the ALM web interface shows Cannot connect to ALM server, re-run
Prepare.cmdas administrator. - Project open test: Create a new S7-1500 project, add an OB1, compile, and download to a PLCSIM V19 instance. A successful download verifies the full toolchain is operational.
-
Registry check: Confirm
HKLM\SOFTWARE\Siemens\Automation\InstalledSoftware\TIAPortal\19.0contains theVersionREG_SZ value19.0.0.0.
Troubleshooting Matrix
| Symptom | Likely Cause | Corrective Action |
|---|---|---|
| Setup aborts immediately with no log | Insufficient admin rights | Re-run Start.exe as administrator from an elevated command prompt |
| Setup halts at 5–10% with no rollback | Missing IIS Application Development Features | Enable ASP.NET 4.8 in Windows Features, then re-run Prepare.cmd
|
| Setup halts at 20–30% with rewrite.dll error | URL Rewrite Module 2 not installed | Install rewrite_amd64.msi from the official Microsoft IIS downloads page |
| Setup completes but F1 help shows blank page | Rewrite rules not registered | Run Prepare.cmd from the Support directory |
| Setup completes but ALM web UI is unreachable | W3SVC service disabled | Set World Wide Web Publishing Service to Automatic and start it |
Setup rolls back citing 0x800F0922
|
Source files not available for IIS sub-features | Insert Windows installation media or specify /Source path with DISM
|
Setup rolls back citing 0x80070643
|
MSI fatal error, often IIS handler mapping | Uninstall URL Rewrite Module 2, reboot, reinstall, then re-run TIA setup |
| Setup completes on first try but features missing | Partial install with Modify mode | Use Programs and Features to repair the TIA Portal V19 installation |
| Setup fails only on Windows Server 2022 | ASP.NET 4.8 not pre-installed on Server Core | Install the ASP.NET 4.8 server feature, then re-run Prepare.cmd
|
System Requirements Reference
| Component | Minimum | Recommended |
|---|---|---|
| CPU | Intel Core i5 8th gen / AMD Ryzen 5 2000 series | Intel Core i7 12th gen / AMD Ryzen 7 5000 series |
| RAM | 16 GB | 32 GB (large projects with S7-1500 and WinCC) |
| Storage | 30 GB free, HDD 7200 RPM | 50 GB free, SATA SSD or NVMe |
| Display | 1920 x 1080 | 2560 x 1440 with scaling at 100% |
| Graphics | DirectX 9 compatible | Dedicated GPU with OpenGL 4.5 for WinCC 3D |
| .NET Framework | 4.8 | 4.8 with latest quality rollup |
| IIS | 7.5 (Windows 7 SP1+) | 10.x (Windows 10/11/Server 2022) |
| URL Rewrite Module | 2.0 (64-bit) | 2.0 latest cumulative |
| Windows edition | Windows 10 Pro 21H2 | Windows 11 Pro 22H2 / Windows Server 2022 Standard |
Repairing a Partial Installation
If the TIA Portal V19 setup completed some products but failed midway, use the Windows repair workflow rather than uninstalling the working components.
- Open
appwiz.cpland locate the highest-version TIA Portal entry (for example SIMATIC TIA Portal V19). - Select it, click Change, and choose Repair in the setup launcher.
- The repair workflow re-runs the prerequisite scan, re-registers URL Rewrite handlers, and recompiles the MSI cache.
- If repair fails, uninstall only the components that did not install, reboot, confirm IIS and URL Rewrite Module 2 are present, and re-run the setup with the full product set.
Silent Installation for Engineering Workstation Deployment
For IT-managed rollouts to multiple engineering workstations, TIA Portal V19 supports a silent install mode driven by a configuration file.
- Create a directory
C:\Siemens_Install\TIA_V19\. - Extract the contents of the V19 ISO to this directory.
- Mount the directory as drive
S:usingsubst S: C:\Siemens_Install\TIA_V19. - Open an elevated command prompt and run
S:\Start.exe /Silent /ConfigurationFile=C:\Siemens_Install\TIA_V19\Config\MyConfig.xml. - The
MyConfig.xmlfile lists the products to install, license server addresses, and user interface language. - Confirm IIS and URL Rewrite Module 2 are present on the target before launching the silent install; the silent install will not prompt for missing prerequisites.
Frequently Asked Questions
Why does TIA Portal V19 require IIS and URL Rewrite Module 2?
TIA Portal V19 hosts the integrated Help Viewer and the Automation License Manager web interface on a local IIS instance. URL Rewrite Module 2 is required to handle the help URL redirection rules generated by the TIA Portal Help Viewer; without it the setup cannot register the required handlers and aborts with An error occurred during setup.
Does the same fix apply to TIA Portal V17 and V18?
Yes. TIA Portal V17 and V18 share the IIS dependency, but earlier versions install URL Rewrite Module 1.0 automatically. V19 specifically requires URL Rewrite Module 2, which is why the install fails on hosts that previously had V17 or V18 installed without manually upgrading the rewrite module.
Can I install TIA Portal V19 on Windows Server Core?
Only with the Server Core App Compatibility Feature on Demand installed. Server Core lacks the Windows Forms runtime required by the TIA Portal setup launcher; in that case, the bootstrapper fails before the IIS check and the fix described in this article does not apply. Use Windows Server 2022 Standard (Desktop Experience) for production engineering workstations.
Where can I find the TIA Portal V19 setup log if the installer fails silently?
The setup writes to %LOCALAPPDATA%\Temp\Siemens\TiaPortalSetupLog.txt and to %TEMP%\Setup.log. On Windows Server, also check C:\Users\<User>\AppData\Local\Temp\Siemens. Search the log for URLRewrite, IIS, and rewrite.dll to confirm the IIS prerequisite is the root cause.
Do I need to enable IIS before or after extracting the TIA Portal V19 ISO?
Enable IIS first, reboot, then mount or extract the ISO. The Siemens Prepare.cmd script (support entry 109955145) and the installer both probe the live IIS configuration at launch time; enabling IIS after extracting the ISO does not require a re-extract, but the installer must be re-run from a clean elevated command prompt.