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.
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:
- The PC Station name, the WinCC project name, and the S7 connection configuration are tied together.
- The WinCC OS becomes addressable from the SIMATIC Manager right-click menu Open HW Config and Open OS.
- 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 HMIis rebuilt by the WinCC setup, but its members are not migrated from the old OS. - The local user group
SCRIPTand any custom SIMATIC groups (for exampleSIMATIC NET,CCALMUser) must be recreated. - The registry branch
HKEY_LOCAL_MACHINE\SOFTWARE\Siemens\AUTSWand the project-link subkeys underHKLM\SOFTWARE\Siemens\WinCC\RTOnlyare reset and no longer match the on-disk project's signature. - The WinCC Computer Name bindings stored inside the
TagLoggingRT database and theAlarmLoggingevent database reference the OS hostname of the previous install. - The Compartment Rights File held under
[ProjectFolder]\GraCSor[ProjectFolder]\Libraryholds 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.
- Local Administrator account on the engineering station. Verify with
net localgroup Administrators | find /i "%username%". - The local groups
SIMATIC HMIandSCRIPTexist. Verify withnet localgroup "SIMATIC HMI". Recreate if missing either from the WinCC setup task Configure WinCC Users or withnet localgroup "SIMATIC HMI" /add. - The engineering account is a member of
SIMATIC HMI:net localgroup "SIMATIC HMI" %username% /add. - STEP 7 (same major version as the original) is reinstalled. WinCC alone does not restore the SIMATIC Manager / PC Station integration layer.
- SIMATIC NET is installed if the project uses S7 or OPC channels. See SIMATIC NET Installation Manual.
- SIMATIC Logon is installed if the project uses Logon roles.
- The WinCC project folder is intact at the original path (for example
D:\WinCCProjects\Plant_OS). - 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.
- 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.
- Launch SIMATIC Manager from Start > SIMATIC > SIMATIC Manager.
- Open the STEP 7 project that contains the WinCC PC Station.
- In the project tree, expand the SIMATIC PC Station branch and select the WinCC OS object.
- 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.
- Confirm the project opens. Close SIMATIC Manager.
- 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.
- Open Computer Management > System Tools > Local Users and Groups > Groups.
- Add the engineering account to
SIMATIC HMIand, if the project uses C / VB scripting, toSCRIPT. - 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.
- 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.
- 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.
- 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.
- Create a new STEP 7 project at the same path the original project used (for example
D:\STEP7\MyPlant). - Select Options > OS > Import OS Station from SIMATIC Manager.
- Browse to
D:\WinCCProjects\Plant_OSand select the project file. SIMATIC Manager reconstructs the PC Station and stores the binding in the new STEP 7 project. - 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, andCCRtsServer.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:
sc config MpsSvc start= auto && sc start MpsSvc- Re-run SIMATIC Security Control > Make Settings.
- Restart the machine and re-open the WinCC project.
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.
- Confirm SIMATIC Logon Service is running:
sc query "SimaticLogon". - Confirm the service logon account is in
SIMATIC HMIand has the Log on as a service right: secpol.msc > Local Policies > User Rights Assignment > Log on as a service. - If Logon still shows the rights dialog, repeat SIMATIC Security Control > Make Settings with the firewall service running.
- Restart the Logon service:
net stop "SimaticLogon" & net start "SimaticLogon". - 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.
- Open WinCC Explorer > Project > Duplicator; do not launch the stand-alone tool from outside WinCC.
- Disable any anti-virus on-demand scanner, write-filter (LMS, TDS, UWF), or backup agent on the project folder before duplicating.
- 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.
- If the project includes TagLogging / AlarmLogging archives, expect Project Duplicator to rewrite the computer name field. Always review the
CC_AlgRtDatabase.rtdbarchive configuration after duplication. - 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:
- Activate runtime briefly and inspect
<ProjectFolder>\Diagnostics\TagLogging.logfor warnings like Computer name mismatch. - Open Tag Logging > Archive > Properties > Computer Name. Confirm it equals the current host.
- Open Alarm Logging > Archive > Properties > Computer Name. Confirm the same value.
- 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.
- Close all projects in SIMATIC Manager and WinCC Explorer before re-imaging the partition.
- Run Project Duplicator to a network share to capture a consistent copy. Duplicator atomically closes the runtime databases, so the copy is consistent.
- 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.
- Export the STEP 7 program sources (Options > Manage Station > Export) to a network share.
- Back up the Automation License Manager keys via ALM > Move License to USB or to a license server.
- 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.