Creating WinCC Runtime Desktop Shortcuts: Complete Guide

David Krause9 min read
SiemensTutorial / How-toWinCC
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

Creating WinCC Runtime Desktop Shortcuts: Complete Guide

Siemens WinCC Runtime projects are typically launched through the WinCC Explorer or, on TIA Portal, through WinCCRTStart.exe. Operators and commissioning engineers often need a single-click method to start a runtime project without opening the configuration environment. This guide consolidates the supported methods: direct desktop shortcut, batch file wrapper, autostart configuration, and modern MSIX-packaged deployment.

Scope. Procedures apply to WinCC V7.x (Classic) and WinCC Professional / WinCC Unified PC Runtime (TIA Portal V16–V19). Confirm your installed SIMATIC version under Start → SIMATIC → Product Information before choosing command-line parameters, because the runtime executable paths differ.

Overview of WinCC Runtime Launch Methods

WinCC Runtime can be started in four operator-facing ways:

Method Best Use Case Operator Visible? Configuration Surface
Direct desktop shortcut Single project, single workstation Yes Windows Explorer
Batch file wrapper Project-specific pre-checks, logging Yes (icon) Plain text .bat
Autostart entry Boot-to-runtime, kiosk panels No Siemens Autostart tool or registry
MSIX / App-V package Standardized image rollout, locked-down panels Yes PSF + MSIX Packaging Tool

Prerequisites

  1. Installed WinCC Runtime on the target PC. Verify via Start → Control Panel → Programs and Features; the entries to look for are SIMATIC WinCC Runtime (V7) or SIMATIC WinCC Runtime Professional (TIA Portal).
  2. Compiled project files. WinCC V7: *.MCP plus *.LDF/*.MDF. WinCC Professional (TIA): *.simatic runtime package, usually located in the project path under \System\<PCName>\.
  3. Windows user with rights to write to C:\ProgramData\Microsoft\Windows\Start Menu\Programs and the desktop.
  4. WinCC project activated on the WinCC server or on the local PC if running single-station. Activation is a separate step from starting the runtime.

WinCC Runtime Executables and Command-Line Parameters

The executable that actually brings the runtime pictures to the screen is product-specific. Use the table below to pick the correct binary when authoring a shortcut.

Product Executable (default path) Typical Use
WinCC V7.x Runtime C:\Program Files (x86)\Siemens\Automation\WinCC\WinCC\bin\WinCCExplorer.exe Opens WinCC Explorer; selecting Activate starts runtime
WinCC V7.x RT direct C:\Program Files (x86)\Siemens\Automation\WinCC\WinCC\bin\CCStartStop.exe Starts/stops the running project; supports command-line control
WinCC Professional (TIA) Runtime C:\Program Files\Siemens\Automation\WinCC RT\WinCCRTStart.exe Starts TIA-based runtime project
WinCC Unified PC Runtime C:\Program Files\Siemens\Automation\WinCC Unified\WinCCUnifiedRT.exe Starts Unified SCADA runtime

For WinCC V7, you can activate a project from the command line using CCStartStop.exe together with the /ACTIVATION argument, or use the project name with WinCCExplorer.exe as a parameter:

"C:\Program Files (x86)\Siemens\Automation\WinCC\WinCC\bin\WinCCExplorer.exe" /ACTIVATION="C:\Projects\MyPlant\MyPlant.MCP"

For WinCC Professional (TIA Portal), the runtime project path is required:

"C:\Program Files\Siemens\Automation\WinCC RT\WinCCRTStart.exe" "C:\Program Files (x86)\Siemens\Automation\WinCC RT\Projects\MyHMI\System\HMI_RT_1\HMI_RT_1.fwc"
Path quoting. Always wrap paths containing spaces in double quotes. TIA-generated HMI paths almost always contain spaces (e.g. Program Files (x86)), so a missing quote will fail silently or open the wrong project.

Method 1: Direct Desktop Shortcut

This is the fastest deployment for a single panel PC or engineering workstation. No script wrapper is required.

  1. Right-click on the desktop and choose New → Shortcut.
  2. In Type the location of the item, enter the full path to the runtime executable plus the project path (see command-line examples above).
  3. Click Next, give the shortcut a meaningful name such as Start Line 1 Runtime, and click Finish.
  4. Right-click the new shortcut → Properties. Under Shortcut tab, set Run to Minimized if you do not want the console window from the launcher.
  5. (Optional) Click Change Icon and browse to a WinCC-supplied icon, e.g. C:\Program Files (x86)\Siemens\Automation\WinCC\WinCC\bin\S7WCCX.ico.
  6. Click Advanced… and tick Run as administrator if your WinCC project uses service-mode tags or OPC connections that require elevated rights.

Method 2: Batch File Wrapper

A batch file is preferred when you need to perform pre-checks (license dongle, network share availability, project file existence) before launching runtime, or when you want to log the start event.

Step-by-step

  1. Open Notepad (or any plain-text editor).
  2. Paste the following template and adapt the paths:
@echo off
REM ============================================================
REM WinCC Runtime launcher for MyPlant project
REM ============================================================
set PROJECT="C:\Projects\MyPlant\MyPlant.MCP"
set WINCC="C:\Program Files (x86)\Siemens\Automation\WinCC\WinCC\bin\WinCCExplorer.exe"
set LOGFILE="C:\WinCCLogs\startup_%date:~-4%%date:~3,2%%date:~0,2%.log"

echo [%date% %time%] Launching WinCC Runtime >> %LOGFILE%
if not exist %PROJECT% (
    echo [%date% %time%] ERROR: project not found at %PROJECT% >> %LOGFILE%
    msg * "WinCC project not found. Contact maintenance."
    exit /b 1
)

start "" /WAIT %WINCC% /ACTIVATION=%PROJECT%
echo [%date% %time%] Runtime exited with code %ERRORLEVEL% >> %LOGFILE%
exit /b %ERRORLEVEL%
  1. Save the file as StartMyPlant.bat in a fixed directory, e.g. C:\WinCCScripts\.
  2. Right-click the .bat file → Send to → Desktop (create shortcut).
  3. Edit the shortcut properties: set Target to C:\WinCCScripts\StartMyPlant.bat, and Start in to C:\WinCCScripts\.
  4. Under Shortcut → Advanced, tick Run as administrator if required.
Working directory. WinCC Runtime often resolves tags and scripts relative to the launching working directory, not the executable directory. Always set the Start in field to the project path or a known anchor directory; otherwise tag references that use relative paths may fail after a shortcut launch but work from a manual Explorer start.

Method 3: Autostart on Windows Boot

For operator panels that should boot directly into runtime, use the Siemens-supplied Autostart tool or a registry entry.

Option A: Siemens Autostart tool

  1. Open Start → SIMATIC → WinCC → Tools → Autostart.
  2. Click Add and select the WinCC project (.MCP for V7, or browse to the TIA runtime folder for Professional).
  3. Choose Start → Activate as the autostart action.
  4. Confirm and close. The tool writes the necessary entries to the Windows Run keys and to the WinCC project list.

Option B: Direct registry entry

Equivalent registry entries for the local machine autostart:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"WinCCMyPlant"="\"C:\\Program Files (x86)\\Siemens\\Automation\\WinCC\\WinCC\\bin\\WinCCExplorer.exe\" /ACTIVATION=\"C:\\Projects\\MyPlant\\MyPlant.MCP\""

For a per-user autostart, use HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run instead.

Disable Ctrl+Alt+Del during operation. Panel PCs running WinCC in kiosk mode should lock down taskmgr.exe and Explorer shell via group policy or the Shell Launcher component in Windows 10/11 IoT. An unprotected operator can close Explorer and disrupt the WinCC host process.

Method 4: MSIX Package with PSF (Modern Image Rollout)

For modern Windows 10/11 image deployments where the panel image is provisioned through an MSIX package, the Package Support Framework (PSF) lets you wrap the WinCC executable inside a script and surface a Windows Start Menu shortcut to it. Microsoft's official guide is at Create an application shortcut by running a script using Package Support Framework.

  1. Install the MSIX Packaging Tool on a technician PC.
  2. Capture the WinCC Runtime installation into an MSIX package.
  3. Add the PSF launcher (PsfLauncher.exe) and a config.json describing the script entry point:
{
  "applications": [
    {
      "id": "WinCCRT",
      "executable": "WinCCRTStart.exe",
      "arguments": "C:\\Program Files\\Siemens\\Automation\\WinCC RT\\Projects\\MyHMI\\System\\HMI_RT_1\\HMI_RT_1.fwc",
      "workingDirectory": "C:\\Program Files\\Siemens\\Automation\\WinCC RT\\"
    }
  ],
  "startScript": {
    "scriptPath": "StartWinCC.ps1",
    "runInVirtualEnvironment": true
  }
}
  1. Use the assets folder inside the package to drop StartWinCC.ps1 that pre-validates the project file before invoking the runtime.
  2. Define a Start Menu entry in AppxManifest.xml pointing to PsfLauncher.exe with the appropriate uap:Extension declaration for a desktop shortcut.
  3. Sign the MSIX and deploy via Add-AppxPackage or via MDM (Intune / Workspace ONE).

Verification

After any of the four methods, verify the runtime actually loaded the correct project:

  1. Double-click the shortcut (or reboot the panel if autostart).
  2. Open WinCC Explorer → Computer → Properties; the Project field must show the expected .MCP name and path.
  3. Check that the WinCC alarm line shows the configured start picture and that tag values update.
  4. Open Windows Task Manager → Details and confirm WinCCExplorer.exe (V7) or WinCCRTStart.exe (TIA) is present with the expected user context.
  5. Inspect the log file from the batch wrapper (Method 2) for the Runtime exited with code line; a clean exit code is 0.
  6. For MSIX deployment, run Get-AppxPackage -Name "*WinCC*" in PowerShell to confirm the package is installed and registered.

Troubleshooting Matrix

Symptom Likely Cause Corrective Action
Shortcut opens WinCC Explorer but stays in configuration mode /ACTIVATION argument missing or misspelled Recheck the /ACTIVATION= switch and quote the project path
Shortcut flashes a console window and closes Batch file error or path typo Open a CMD manually, run the .bat file, read the echo output
Runtime starts but tags show "No connection" Wrong working directory on the shortcut Set Start in in the shortcut to the project path
Autostart does nothing on boot User has insufficient rights to run the entry Move entry to HKLM and tick Run as administrator
Operator can close runtime with Alt+F4 No kiosk shell lockdown Deploy assigned access or replace explorer.exe shell via group policy
MSIX shortcut opens PowerShell, not WinCC PSF config.json misconfigured Validate JSON and confirm startScript.scriptPath points to the .ps1 in assets
"Project not found" message from batch wrapper UNC path not mapped or user context differs Use local path or run a net use mapping in the batch first

Security and Operational Considerations

  • License handling. WinCC V7 uses License Key USB dongles or soft containers. A shortcut that launches runtime on a PC without a valid license will start in demo mode with a periodic nag screen. Verify with Automation License Manager before shipping the image.
  • Service mode vs. interactive mode. TIA-based runtime can run as a Windows service (Siemens S7Tracesvc, SIMATIC HMI RT). A desktop shortcut always starts the interactive variant; do not mix it with the service variant or duplicate tag connections will appear.
  • Multi-user panels. If the panel uses Windows fast user switching, place the autostart entry under HKCU so it fires once per user, or under HKLM if only one operator account is ever used.
  • UAC. On Windows 10/11 IoT, UAC is on by default. A shortcut to a script that writes to Program Files or ProgramData requires elevation; configure it through the manifest, not by users right-clicking Run as administrator.

Frequently Asked Questions

Which executable should I call from a WinCC V7 shortcut?

Use WinCCExplorer.exe with the /ACTIVATION="<path to .MCP>" argument. This opens WinCC Explorer and immediately activates the project, the same behaviour as clicking Activate in the UI.

How do I start a WinCC Professional (TIA Portal) project from a shortcut?

Target WinCCRTStart.exe (default C:\Program Files\Siemens\Automation\WinCC RT\) and pass the path to the compiled runtime file, typically *.fwc under the project's System\<PCName>\ folder, as the first argument. Always quote the path.

Can I prevent operators from closing the runtime once it has started?

Yes. Configure Windows in kiosk mode (assigned access on Windows 10/11 Pro, or replace the shell with a WinCC launcher in Windows IoT). Combine this with disabling taskmgr.exe via group policy and removing the Alt+F4 binding on the WinCC start picture.

Why does my shortcut work when I run it manually but fail at boot?

Autostart entries run in a non-interactive session with restricted environment variables and no mapped network drives. Use absolute local paths, not UNC, and reference the runtime executable via its full path rather than relying on PATH.

Does the autostart entry need to be in HKLM or HKCU?

For a single-operator panel, use HKEY_LOCAL_MACHINE\...\Run so it fires regardless of which user logs in. For multi-user panels where only specific users should see WinCC, use HKEY_CURRENT_USER\...\Run in the per-user profile.

Is there an official Siemens FAQ for this topic?

Yes. Siemens Application Support entry ID 23060520 in the SIMATIC WinCC FAQ covers the batch-file launch method. Refer to the Siemens Industry Online Support portal for the latest revision and related WinCC V7 / TIA Portal runtime manuals.

Back to blog