Resolving WinCC V7 Project Open Errors After OS Reinstallation

David Krause13 min read
SiemensTroubleshootingWinCC
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

Problem Description

Engineers who rebuild their engineering station and then attempt to open a pre-existing SIMATIC WinCC V7 project frequently encounter the following dialog immediately after WinCC Explorer launches:

The user does not have the rights to perform this action! Please check the assignment of the current user of the user groups in Windows.

The message originates from the WinCC User Administrator / Authorization Check layer. When the project was originally an integrated PC Station inside a STEP 7 project, the failure reproduces on a freshly installed OS even though the same engineer account is a local Administrator and a member of SIMATIC HMI. The identical error appears inside SIMATIC Logon when the user attempts to sign in, and the Project Duplicator may fail separately with "Project cannot be copied to local disk". Projects that were created as standalone WinCC projects after the new OS install are unaffected. That narrows the cause to the STEP 7 / SIMATIC Manager integration layer rather than to base WinCC permissions.

Critical: Do not delete the project folder or move it across machines before applying the resolution. The on-disk ACL and the registry binding must be repaired before the project is opened the first time on the new OS, otherwise the runtime records an obsolete computer name in the TagLogging and AlarmLogging archives.

Affected Versions and Environment

Component Versions Confirmed Affected Notes
SIMATIC WinCC V7.0, V7.0 SP1, V7.0 SP2, V7.0 SP3, V7.0.1.0 32-bit; CS architecture
STEP 7 V5.4 SP3+, V5.5 SPx Project integrated as a PC Station / OS
SIMATIC Logon V1.3 / V1.4 / V1.5 Pop-up identical to WinCC error
SIMATIC NET V6.4, V7.0, V7.1 Required for S7 / OPC channel
Operating system Windows XP SP3, Windows Server 2003, Windows 7 SP1 (with STEP 7 V5.x) Reproduces on all three
PCS 7 V7.x, V8.0 Same recovery path applies

Refer to the SIMATIC WinCC V7.0 system manual for the supported OS matrix and prerequisites: SIMATIC WinCC V7.0 - System Manual.

Root Cause Analysis

An integrated WinCC project does not live as a free-standing project directory only. At integration time, the SIMATIC Manager (STEP 7) writes configuration references both into the STEP 7 project database and into the Windows registry so that:

  1. The PC Station name, the WinCC project name, and the S7 connection configuration are tied together.
  2. The WinCC OS becomes addressable from the SIMATIC Manager right-click menu Open HW Config and Open OS.
  3. The WinCC runtime discovers its partner PLC and OPC configuration from the STEP 7 PC Station descriptor embedded in the S7 project.

When the operating system is reinstalled, the following resources are lost even when WinCC itself is reinstalled onto the same partition and the same Windows username is reused:

  • The local user group SIMATIC HMI is rebuilt by the WinCC setup, but its members are not migrated from the old OS.
  • The local user group SCRIPT and any custom SIMATIC groups (for example SIMATIC NET, CCALMUser) must be recreated.
  • The registry branch HKEY_LOCAL_MACHINE\SOFTWARE\Siemens\AUTSW and the project-link subkeys under HKLM\SOFTWARE\Siemens\WinCC\RTOnly are reset and no longer match the on-disk project's signature.
  • The WinCC Computer Name bindings stored inside the TagLogging RT database and the AlarmLogging event database reference the OS hostname of the previous install.
  • The Compartment Rights File held under [ProjectFolder]\GraCS or [ProjectFolder]\Library holds an ACL that references the previous machine SID. The current user SID is no longer matched, so WinCC's user-rights check fires.

The visible dialog is a user rights message, but the underlying source is an integrity mismatch between the on-disk project and the rebuilt Windows security / registry world. WinCC opens only after the project has been re-bound to that rebuilt world.

Prerequisites and Tooling

Confirm the following before applying the resolution below. Any missing item will reproduce the error or trigger a follow-on fault during the recovery.

  1. Local Administrator account on the engineering station. Verify with net localgroup Administrators | find /i "%username%".
  2. The local groups SIMATIC HMI and SCRIPT exist. Verify with net localgroup "SIMATIC HMI". Recreate if missing either from the WinCC setup task Configure WinCC Users or with net localgroup "SIMATIC HMI" /add.
  3. The engineering account is a member of SIMATIC HMI: net localgroup "SIMATIC HMI" %username% /add.
  4. STEP 7 (same major version as the original) is reinstalled. WinCC alone does not restore the SIMATIC Manager / PC Station integration layer.
  5. SIMATIC NET is installed if the project uses S7 or OPC channels. See SIMATIC NET Installation Manual.
  6. SIMATIC Logon is installed if the project uses Logon roles.
  7. The WinCC project folder is intact at the original path (for example D:\WinCCProjects\Plant_OS).
  8. The WinCC license keys are re-transferred. License keys are bound to the host SID and are not preserved across OS reinstall. Use Automation License Manager > Move License to reassign them.
  9. The Windows Firewall service is set to Automatic even if a corporate firewall is in front of the machine. Disable the service only after SIMATIC Security Control > Make Settings has completed.

Resolution Path A - Open the Integrated OS from SIMATIC Manager (Primary Fix)

This is the recovery path that resolves the symptom in the widest number of reported cases and is the recommended route for any integrated WinCC OS.

  1. Launch SIMATIC Manager from Start > SIMATIC > SIMATIC Manager.
  2. Open the STEP 7 project that contains the WinCC PC Station.
  3. In the project tree, expand the SIMATIC PC Station branch and select the WinCC OS object.
  4. Right-click and select Open Object. The first opening triggers WinCC to write the missing integration entries into the new registry, re-bind the ACL files to the new SID, and rebind the computer name inside TagLogging / AlarmLogging to the new OS hostname.
  5. Confirm the project opens. Close SIMATIC Manager.
  6. Re-launch WinCC Explorer directly. The project must now open with no user-rights dialog and no Logon pop-up.

Variants of the menu item that achieve the same effect:

  • Right-click PC Station > Open WinCC Explorer.
  • Project tree > right-click OS > Open OS.
  • PCS 7 V7/V8: master data library > Open OS in WinCC Explorer.

This same flow applies to PCS 7 V7 / V8 where the OS is the engineering object inside the master SIMATIC project.

Resolution Path B - Repair User Group Membership (Stand-Alone Projects)

If the project is not integrated (open it from File > Open > Open Project in WinCC Explorer) but the rights error still fires, the cause is local Windows group membership or DCOM. Apply the corrections below in order.

  1. Open Computer Management > System Tools > Local Users and Groups > Groups.
  2. Add the engineering account to SIMATIC HMI and, if the project uses C / VB scripting, to SCRIPT.
  3. Confirm SIMATIC HMI retains the default rights. The list of expected rights and the canonical WinCC user/role administration flow are described in the SIMATIC WinCC V7 Configuration Manual section User Administration at SIMATIC WinCC V7 - Configuration Manual: User Groups.
  4. Open SIMATIC Security Control (Start > SIMATIC > SIMATIC Security Control) and click Make Settings. This rewrites DCOM endpoint ACLs, COM security descriptors, and firewall rules needed by WinCC.
  5. If the Windows Firewall service was disabled, enable it, then run Make Settings again. WinCC uses DCOM endpoints added to the firewall ruleset only by Security Control. Disabling the firewall service silently skips the rule creation, which surfaces as a rights error and as Logon failures.
  6. Log off / on (or restart) and retry the project open.

Resolution Path C - Re-Import the OS via "Import OS Station"

When the SIMATIC Manager project is missing, corrupted, or only the WinCC side is recoverable, an alternative is to import the OS into a fresh STEP 7 shell project.

  1. Create a new STEP 7 project at the same path the original project used (for example D:\STEP7\MyPlant).
  2. Select Options > OS > Import OS Station from SIMATIC Manager.
  3. Browse to D:\WinCCProjects\Plant_OS and select the project file. SIMATIC Manager reconstructs the PC Station and stores the binding in the new STEP 7 project.
  4. Open the OS once from SIMATIC Manager using Resolution A to finalize the binding.

Import OS Station is also the preferred cross-machine migration tool because it avoids the Project Duplicator failure mode entirely.

SIMATIC Security Control and DCOM Configuration

SIMATIC Security Control writes the ACLs that WinCC, SIMATIC Logon, and the runtime services expect on the local DCOM endpoints and on the COM applications. Each Make Settings pass:

  • Re-applies the launch and access permissions on CCAlgRtServer.exe, CCTextServer.exe, and CCRtsServer.exe.
  • Refreshes the firewall rules for the same executables and for WINCC_ComputerName RPC ports.
  • Updates the local group memberships for the services' logon accounts in SIMATIC HMI.

When Make Settings is run while the Windows Firewall service is stopped or disabled, the firewall rule block is silently skipped. The next runtime start fails with RPC server unavailable or with the user-rights dialog. The corrective sequence is therefore:

  1. sc config MpsSvc start= auto && sc start MpsSvc
  2. Re-run SIMATIC Security Control > Make Settings.
  3. Restart the machine and re-open the WinCC project.
Tip: On Windows 7 / Server 2008 the firewall is "Windows Firewall", service name MpsSvc. On Windows XP it is "Windows Firewall / Internet Connection Sharing (ICS)", service name SharedAccess. Adjust the sc command accordingly.

SIMATIC Logon Error Resolution

The Logon error uses the same wording because WinCC and SIMATIC Logon share the same DCOM security check configured by SIMATIC Security Control.

  1. Confirm SIMATIC Logon Service is running: sc query "SimaticLogon".
  2. Confirm the service logon account is in SIMATIC HMI and has the Log on as a service right: secpol.msc > Local Policies > User Rights Assignment > Log on as a service.
  3. If Logon still shows the rights dialog, repeat SIMATIC Security Control > Make Settings with the firewall service running.
  4. Restart the Logon service: net stop "SimaticLogon" & net start "SimaticLogon".
  5. If logging uses Active Directory groups, verify the WinCC project User Administrator still imports the same groups: User Administrator > Group > Add > Import from Windows.

Project Duplicator "Project Cannot Be Copied" Resolution

Project Duplicator (Start > SIMATIC > WinCC > Project Duplicator) fails separately with "Project cannot be copied to local disk". The cause is typically not ACL but filesystem / AV interference.

  1. Open WinCC Explorer > Project > Duplicator; do not launch the stand-alone tool from outside WinCC.
  2. Disable any anti-virus on-demand scanner, write-filter (LMS, TDS, UWF), or backup agent on the project folder before duplicating.
  3. Choose a destination on the same partition as the source for the first verification. Cross-partition copies occasionally fail on FAT-to-NTFS transitions or on ReFS paths.
  4. If the project includes TagLogging / AlarmLogging archives, expect Project Duplicator to rewrite the computer name field. Always review the CC_AlgRtDatabase.rtdb archive configuration after duplication.
  5. For migrations across machines, prefer Options > OS > Import OS Station in SIMATIC Manager; it sidesteps the duplicator entirely.

Registry and ACL Deep Dive

The WinCC project integration state lives in three places; corrupted state in any one of them triggers the user-rights dialog.

Location Purpose Repair Command / Action
HKLM\SOFTWARE\Siemens\AUTSW STEP 7 / WinCC installer state, PC Station lock Re-run SIMATIC Security Control > Make Settings
HKLM\SOFTWARE\Siemens\WinCC\RTOnly\[ProjectName] Project binding to engine services Repair by opening from SIMATIC Manager (Path A)
[ProjectFolder]\GraCS\[*.pck] / *.pdl ACLs Editor rights to graphics files Take ownership; re-apply SIMATIC HMI RW; re-apply authenticated users
[ProjectFolder]\Library\*.pck Project library ACL Take ownership; re-apply SIMATIC HMI RW
[ProjectFolder]\TagLogging\*.rtdb Tag archive computer-name binding Open from SIMATIC Manager so WinCC rewrites the binding

Manual registry edits should be the last resort. Always export the original branch before any edit: reg export "HKLM\SOFTWARE\Siemens\WinCC" C:\WinCC-backup.reg.

Hostname Migration in TagLogging and AlarmLogging

If the new OS hostname differs from the original, WinCC will record the new hostname in TagLogging / AlarmLogging only on the first open through SIMATIC Manager. Verify the rebinding succeeded:

  1. Activate runtime briefly and inspect <ProjectFolder>\Diagnostics\TagLogging.log for warnings like Computer name mismatch.
  2. Open Tag Logging > Archive > Properties > Computer Name. Confirm it equals the current host.
  3. Open Alarm Logging > Archive > Properties > Computer Name. Confirm the same value.
  4. From WinCC Channel Diagnosis, exercise the S7 / OPC channel. A connected state confirms the PC Station descriptor is correctly written.

Backup Strategy Before OS Reinstall

This entire failure class is avoidable by capturing project state before re-imaging.

  1. Close all projects in SIMATIC Manager and WinCC Explorer before re-imaging the partition.
  2. Run Project Duplicator to a network share to capture a consistent copy. Duplicator atomically closes the runtime databases, so the copy is consistent.
  3. Export the WinCC user administration from WinCC Explorer > User Administrator > Export. The export contains role assignments and password hashes that are not recoverable from a raw file copy.
  4. Export the STEP 7 program sources (Options > Manage Station > Export) to a network share.
  5. Back up the Automation License Manager keys via ALM > Move License to USB or to a license server.
  6. Photograph the Windows user list (Computer Management > Groups > SIMATIC HMI) so the new build matches exactly.

Verification Checklist

After applying any of the resolutions above, run the following end-to-end verifications. Each item must pass before sign-off.

# Verification Expected Result
1 Open WinCC Explorer directly (no SIMATIC Manager) Project opens without the user-rights dialog
2 Open SIMATIC Logon Login succeeds; no rights dialog
3 Activate WinCC Runtime Runtime starts; no MSRT error 4909 / 4910
4 Tag Logging online Tag values update; no computer name warning in WinCC_SysLog
5 Alarm Logging online Alarms ack-able; archive segments write successfully
6 S7 / OPC channel test Channels "connected" in WinCC Channel Diagnosis
7 User roles Restricted-level logins evaluated correctly
8 Project Duplicator Success message; destination opens identically
9 WinCC Channel Diagnosis > S7 channel Connected, no 0x0000FFFF status
10 Hostname in TagLogging / AlarmLogging Matches current OS hostname

FAQ

Why does WinCC show the "user rights" error after an OS reinstall even though I am Administrator and member of SIMATIC HMI?

For an integrated WinCC OS, the project's ACL and registry binding are anchored to the SID of the prior OS user and to the old WinCC / SIMATIC Manager integration records. The local groups exist on the new OS, but the project files still reference the previous SID and computer name. Open the project once from SIMATIC Manager so that WinCC rewrites the binding to the new SID and computer name; after the first open the user-rights error disappears.

Do I really need to reinstall STEP 7 if I just want to open the WinCC project?

Yes, if the project is integrated. WinCC stores half of an integrated project's metadata in the STEP 7 / SIMATIC Manager registry branch and in the S7 project database. Without STEP 7 the rebuild cannot rewrite the binding. Refer to the WinCC V7 system manual SIMATIC WinCC V7.0 - System Manual for the prerequisite matrix.

SIMATIC Logon still shows the error after the WinCC project now opens. Where is the second cause?

SIMATIC Logon relies on SIMATIC Security Control and on the SIMATIC HMI group membership of its service account. Run SIMATIC Security Control > Make Settings with the Windows Firewall service running and re-add the Logon service account to SIMATIC HMI, then restart the SimaticLogon service.

Project Duplicator fails with "project cannot be copied to local disk". What is the fix?

Most often an antivirus / write-filter is interfering or the destination is on a different partition on a different file system. Disable the AV on-demand scan for the project folder, switch to a destination on the same NTFS partition, or use Options > OS > Import OS Station in SIMATIC Manager instead, which sidesteps the duplicator entirely.

Does this affect TIA Portal WinCC (TIA V13/V14/V15) as well?

The exact symptom is unique to WinCC V7 (Classic) and STEP 7 V5.x integration. TIA Portal stores the equivalent binding inside the TIA project file rather than the registry, so a fresh OS + TIA Portal install behaves differently. If you migrate from WinCC Classic to TIA Portal, also migrate the authorization and user administration because the legacy rights file is not understood by the TIA Portal runtime.

Back to blog