IMDTouchKnowledge BaseShop main store

Troubleshooting

Why WinCC Runtime mouse pointers differ per Windows user

HMI and touchscreens Published 8 min read By IMDTouch engineering team

Short answer

WinCC stores its Runtime cursor choices under HKEY_CURRENT_USER\Software\SIEMENS\WinCC\Graphic-Settings\Cursors and reads that branch once when Runtime starts, so each Windows account shows its own pointers and nothing launched from inside the project can beat that read. Export the branch from one configured account to a .reg file, import it for each user at Windows logon, and start Runtime only after the import succeeds.

On this page
  1. Why does each Windows user see different mouse pointers?
  2. Where do you set the WinCC mouse pointers?
  3. Why is a Global C action always too late?
  4. How do you build one cursor package from a reference account?
  5. How do you run the import before WinCC starts?
  6. How do you change the pointer while Runtime is running?
  7. How do you verify every account gets the same pointers?
  8. Which fix fits your requirement?
  9. Questions asked

WinCC keeps the mouse pointers Runtime uses in the logged-on Windows account's registry, at HKEY_CURRENT_USER\Software\SIEMENS\WinCC\Graphic-Settings\Cursors, and reads that branch once while Runtime starts. Every account on the same machine therefore carries its own pointer set, which is why one logon shows your chosen cursors and the next shows the defaults. Nothing launched from inside the project can beat that read: a Global C action, a project script, or a program in the WinCC startup list all run after the branch is loaded, so the first launch shows the old pointers and only the second shows the new ones. The fix is a one-time export of the branch to a .reg file, then a per-account import at Windows logon that finishes before WinCC starts.

Why does each Windows user see different mouse pointers? #

Because the cursor settings live in the per-account part of the registry: HKEY_CURRENT_USER is the hive Windows loads for whoever is logged on, so every account reads its own copy of the WinCC cursor values and the computer holds no shared set.

This is documented behavior, not a fault. Siemens Industry Online Support entry 1024701, on changing the color of the Runtime cursor, and entry 6711995, on using pointers other than the defaults, both send you to that same key. Configuring pointers while logged on as the operator writes that account's hive only; the service account's hive keeps whatever it had, usually the WinCC defaults.

The same per-account dependence shows up when WinCC 7.5 Runtime fails under a new Windows user. Per-user behavior is the pattern across WinCC, not an accident: per-user start pictures with Simatic Logon follow the logged-on user the same way for web clients. Machine-wide data belongs in HKEY_LOCAL_MACHINE instead — a different hive with its own failure modes, as in an HKEY_LOCAL_MACHINE registry error fix for RSLogix 500.

Where do you set the WinCC mouse pointers? #

Set them in the project under Computer > Properties > Runtime: in WinCC V7.4 the Graphics Runtime tab of the Computer properties dialog holds the cursor behavior and its shortcut keys, and saving writes the chosen pointers into the configuring account's registry branch.

That is the documented location for both cursor behavior and its shortcut keys (WinCC V7.4 documentation, Siemens entry 109736220), and the values it saves land in HKEY_CURRENT_USER — the account you are logged on as at that moment. The entries name cursor files, so a copied value is only as good as the file it points to: keep the cursor files in one stable location every account can read before you rely on the export.

Why is a Global C action always too late? #

Runtime reads the cursor branch during its own initialization, so anything WinCC launches — a Global C action, a project script, a program in the WinCC startup list — runs after the pointers are loaded, and its registry write lands only on the next launch.

The symptom this produces is distinctive: the first start after the write shows the old pointers, the second start shows the new ones. That pattern means the write itself succeeded and only the order was wrong — a setter program placed in the WinCC startup list executes, by definition, after Runtime is already up. This is an ordering constraint, not a C problem: no project-side hook runs before Runtime initializes, so there is no earlier place inside the project to put the write. Writing the branch while Runtime runs does not help either, because nothing tells the running process to re-read it. The write has to move outside WinCC, to Windows logon.

How do you build one cursor package from a reference account? #

Configure and prove the pointers in one reference Windows account, then export only the cursor branch to a .reg file, because the export preserves the exact value names and data types your installed version wrote — retyping them by hand invites spelling and type errors.

  1. Log on with the reference account and select the pointers in the same Computer properties Runtime dialog.

  2. Start Runtime and exercise every pointer state the project can show — the normal arrow, the wait cursor, any screen with its own pointer — and confirm each icon renders.

  3. Stop Runtime before exporting, so no configuration write is still pending.

  4. Export the branch to a shared folder; the path below is an example:

    reg export "HKCU\Software\SIEMENS\WinCC\Graphic-Settings\Cursors" "C:\WinCC-Deploy\Cursors.reg"
    
  5. Open the exported file and check that every cursor path in it is readable by all target accounts. If a path is specific to the reference profile, move the cursor files to a shared folder, reconfigure, and export again.

  6. Back up each target account's existing branch to its own .reg file before the first import, so a bad package can be reverted with one import.

How do you run the import before WinCC starts? #

Run the import in the target user's own logon context — a logon script, a scheduled task triggered at logon, or one launcher that imports and then starts Runtime — and gate the Runtime start on the import's exit code, never on a fixed delay.

Two rules make it hold:

  • Context: a plain reg import writes the hive of the account that runs it. Importing once from an administrator login fixes that one account and leaves the operator's hive untouched.
  • Order: one launcher, not two logon entries. An import task and an independent WinCC autostart race each other, and under logon load either can win. A fixed sleep is weaker than the exit-code gate because logon load stretches times unpredictably.

A launcher batch file that does both, with example paths and the account's usual WinCC start shortcut:

@echo off
reg import "C:\WinCC-Deploy\Cursors.reg"
if errorlevel 1 goto importfailed
start "" "C:\WinCC-Deploy\Start WinCC Runtime.lnk"
exit /b 0
:importfailed
echo %date% %time% cursor import failed >> "C:\WinCC-Deploy\import.log"
exit /b 1

reg import returns a nonzero exit code when the file or key fails, so if errorlevel 1 is the completion test the launcher gates on. Replace each account's existing autostart entry with this launcher — adding it alongside the old entry reintroduces the race you are removing.

Worked example: one station, two accounts — an operator account and a service account — each with Runtime set to launch at logon. An import run once from an admin login covers 1 hive of 2, so 1/2 = 50 percent of the accounts keep the old pointers and the symptom persists on the other. With the launcher as the logon task for both accounts, 2 of 2 hives receive the branch before Runtime starts: 2 correct first launches out of 2. The arithmetic scales with the account count — five accounts need five imports, one per hive, all from the same single .reg file.

How do you change the pointer while Runtime is running? #

Not by writing the registry alone: the running Runtime never re-reads the branch, so a live pointer change needs a documented runtime interface for your exact version, and where none is documented the working method is importing the values and restarting Runtime.

Configuration-time selection and live switching are different operations, and only the first is covered by the tab and the branch. Treat any claim of a live cursor function as unverified until you find it in the documentation for your installed version, and do not build a screen sequence on it. Where you restart instead, pick a moment the process allows the operator station to leave the picture — the restart drops that station's view and its runtime messages until Runtime is back.

How do you verify every account gets the same pointers? #

Check the branch, then the first launch, on every account: query the cursor key before Runtime starts and compare it with the reference export, then log off and back on and confirm the import finishes before Runtime opens with the intended pointers.

On each account, before starting Runtime, run:

reg query "HKCU\Software\SIEMENS\WinCC\Graphic-Settings\Cursors"

Then work through the rest:

  • Compare value names and cursor paths with the exported file; every path must open under that account.
  • Log off and log on: the import window or task must complete before the Runtime window appears.
  • On the first launch, exercise each pointer state the project shows.
  • Start Runtime once more by hand, from the account's ordinary shortcut, and confirm the pointers are unchanged — that proves the hive carries the values, not just the launcher session.
  • Note the account, date and result for each station, so the next engineer knows which hives were verified.

If Runtime misbehaves after the import in some other way, a registry-rights failure looks different from a cursor problem — for example hash marks and error 140003 in WinCC Runtime Advanced — and points at account permissions rather than at the values you imported.

Which fix fits your requirement? #

Pick by when the pointers must be correct: at the first launch of every account, use the sequenced logon import; delivered with the project files, keep the package there but invoke it from Windows; switched mid-session, restart Runtime after writing the values.

Requirement Method Boundary
Same pointers for every account at first launch Import the .reg file at Windows logon, per account, before Runtime starts Needs a logon script, logon task or launcher outside the project
Package travels with the project Store the .reg file and cursor files in the project folder Storage is fine; a project-side hook still fires after Runtime's read, so the invocation stays in Windows
Pointer changes while Runtime runs Import the values, then restart Runtime The branch has no reload; a live-switch function must exist in your version's documentation
Single-account station Set the pointers by hand in the Computer properties Runtime dialog No package needed; repeat for each additional account

For the case that brings most readers here — several accounts, one pointer set, Runtime launching at logon — the decision is the logon launcher: import first, start Runtime second, and delete the setter from the WinCC startup list, because it will always lose the race.

Questions asked

Can I import the file for all accounts from one administrator login?

Not with a plain import, which writes only the hive of the account running it. Reaching several hives from one session takes a tool that deliberately loads each target hive: Windows can mount an offline account's hive with reg load, and Group Policy Preferences can write registry values into the hives of accounts in a targeted OU at logon. Otherwise run the import once per account at logon.

Does the same registry key apply to Comfort Panels and panel Runtime?

No. The Cursors key is documented for PC Runtime, from the V5.x era to the V7.4 manuals. Panel Runtime receives its cursor behavior with the project instead: for RT Professional you define cursor control shortcuts in the Keyboard editor of the Runtime settings and the cursor response in tables under Screens. A panel therefore shows the same pointers for everyone, because the settings travel in the project rather than in a user hive.

Is the Windows Ctrl-key pointer locator the same setting?

No. Show location of pointer when I press the CTRL key is a Windows mouse option, kept in the Windows pointer settings and enabled per account. It highlights whatever pointer is on screen without changing which cursor icons Runtime uses, so it neither causes nor fixes the per-user difference.

What happens to values already present in a target account's branch?

A .reg import merges: it overwrites only the values named in the file and leaves everything else in the key untouched, and it never deletes values that are absent from the file. That is why you back up each account's branch first and compare the result with reg query afterwards, instead of assuming the hive now matches the reference exactly.

Keep reading

  • Troubleshooting

    Why Tab moves no focus on a Unified Comfort panel

    On a Unified Comfort panel's own display the local runtime does not move focus with Tab, reported from firmware V16 through V19, while simulation and the panel's built-in browser honor TabIndex. A barcode scanner's Tab suffix therefore cannot advance fields on that display. Run the five-field test on the device; when focus stays put, capture the whole scan in one string field, validate it, and split it into tags in script.

    HMI and touchscreens

  • Troubleshooting

    Why OP77B Softkeys Are Missing in Direct .fwx Runtime

    The missing softkeys are not a project fault. A direct .fwx start runs WinCC flexible Runtime without the simulated panel face, so only the screen area appears and only the PC keys F1 to F4 and ESC work; start Runtime from the engineering system instead, and the simulator draws the complete OP77B with softkeys, numeric keys, arrow keys and status LEDs, all operable with the mouse. The SimulateSystemKey function covers K1 to K4 in .fwx mode.

    HMI and touchscreens

  • How-to

    How to Manage WinCC Runtime User Accounts and Password Changes

    Open the WinCC User Administrator at runtime by launching PassCS.exe from a button with a ProgramExecute C action, using the full installed path C:\Program Files\Siemens\WinCC\bin\PassCS.exe. Gate the button with an authorization, and keep operator login, own-password change, and account administration as three separately tested operations. Comfort and Advanced panels are administered in the engineering tool instead.

    HMI and touchscreens

Fixing a WinCC Flexible 2007 Script Editor SecurityException