1. Problem Overview
When TIA Portal V14 (Update 1 / SP1) or STEP 7 V5.6 is launched with the Run as administrator option on a Windows 10 engineering workstation, the following symptoms appear immediately:
- Mapped network drives (UNC paths such as
\\PROJ-FS\TIA\ProjectLibrary) are missing from the project navigation tree. - Network locations that were visible under the standard user token disappear from This PC > Network Locations.
- Secondary internal hard disks mapped through SMB shares on a server are invisible to the TIA Portal project wizard.
- The same paths remain visible when the engineering tool is launched without elevation (no UAC consent prompt).
The behavior is not a TIA Portal bug, not a STEP 7 installation defect, and not a license-server issue. It is the documented consequence of how Windows User Account Control (UAC) splits the user's logon token and how SMB drive mappings bind to the unelevated (filtered) token by default.
2. Root Cause: UAC Token Splitting and Linked Connections
Windows uses two access tokens for members of the local Administrators group when UAC is enabled:
| Token | Integrity Level | Used By | Default SMB Mappings |
|---|---|---|---|
| Standard (filtered) token | Medium (IL = 0x2000) | User shell, Explorer, Office | Visible |
| Elevated (full) token | High (IL = 0x3000) | Right-click > Run as administrator, manifest-triggered elevation | Hidden by default |
Network drive letters created under the standard token are attached to the user's logon session inside the \Device\LanmanRedirector device namespace. When a process elevates, Windows builds a new logon session for the elevated token and the redirected drives are not propagated. TIA Portal V14 inherits the elevated token of its parent process, so the mapped drives vanish.
Microsoft documents this exact behavior in KB 3035277 — Mapped drives are not available from an elevated prompt when UAC is configured to prompt for credentials. The KB applies to Windows 7, Windows 8, Windows 8.1, and Windows 10.
3. Affected Software and Operating-System Matrix
Before applying the registry fix, validate the engineering workstation meets Siemens' published OS support matrix. Running TIA Portal or STEP 7 on an unsupported Windows 10 build can cause the same symptoms and must be ruled out first.
| Siemens Product | Supported Windows 10 Editions | Builds | Notes |
|---|---|---|---|
| STEP 7 Basic V14 SP1 (TIA Portal) | Home, Pro, Enterprise, Enterprise 2016 LTSB, Enterprise 2015 LTSB | 1607 (Anniversary Update) and later documented by Readme | Home limited to STEP 7 Basic only |
| STEP 7 Professional V14 SP1 (TIA Portal) | Pro, Enterprise, Enterprise 2016 LTSB, Enterprise 2015 LTSB | 1607+ | WinCC, PLCSIM, S7-PLCSIM included |
| STEP 7 V5.6 | Pro, Enterprise | 1507, 1511, 1607, 1703, 1709, 1803 (per Readme) | Also Windows Server 2012 / 2016 |
| STEP 7 V5.6 SP1 and later | Pro, Enterprise, IoT Enterprise | Per latest Readme | Verify the exact SP readme before installing |
If the workstation is running Windows 10 Home and the project requires TIA Portal Professional features, upgrade to Pro or Enterprise before troubleshooting further. Confirm the installed build with winver and the edition with the registry value HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EditionID.
4. Solution A — Enable the EnableLinkedConnections Registry Value
This is the supported, Microsoft-documented fix. The DWORD forces Windows to expose the standard-user drive mappings inside the elevated session as well.
4.1 Manual Procedure
- Open the Run dialog (
Win + R), typeregedit, and press Enter. - Accept the UAC prompt (this is the only time elevation is correct — for editing the registry).
- Navigate to:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System - Right-click > New > DWORD (32-bit) Value.
- Name the value exactly:
EnableLinkedConnections - Set the value data to
1(decimal). - Click OK and close regedit.
- Restart the workstation, or sign out and back in. A simple logoff/logon is sufficient because the value is read at logon when the user profile is created.
4.2 Command-Line Equivalent
For fleets of engineering PCs, deploy the value through a script run as Administrator:
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" \
/v EnableLinkedConnections /t REG_DWORD /d 1 /f
Or via PowerShell (elevated):
$path = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System'
New-ItemProperty -Path $path -Name 'EnableLinkedConnections' `
-PropertyType DWord -Value 1 -Force
4.3 Effect of the Value
| Value | Behavior |
|---|---|
| 0 (default) | Drive mappings are not linked between tokens. Elevated apps see no user-mapped drives. |
| 1 | Drive mappings are linked. Both standard and elevated sessions see the same mapped network drives. |
5. Solution B — Group Policy Deployment (Domain Environments)
In a Siemens engineering domain (typical for plant-floor engineering PCs joined to plant.local or similar), push the setting through a GPO so every workstation picks it up consistently.
- Open Group Policy Management Console on a domain controller.
- Edit (or create) a GPO scoped to the engineering workstation OU, for example OU=EngineeringPCs,DC=plant,DC=local.
- Navigate to Computer Configuration > Preferences > Windows Settings > Registry.
- Right-click > New > Registry Item.
- Configure the item exactly as follows:
- Hive: HKEY_LOCAL_MACHINE
- Key Path: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
- Value name: EnableLinkedConnections
- Value type: REG_DWORD
- Value data: 1
- Click Apply and OK.
- Force a refresh on the target PC:
gpupdate /force, then reboot.
gpresult /h C:\temp\report.html that no other policy overrides EnableLinkedConnections back to 0.6. Solution C — Re-map Drives Inside the Elevated Session
If modifying the registry is not acceptable (for example, a locked-down corporate image), re-establish the mappings from inside the elevated shell. This is a per-session workaround, not a permanent fix.
- Open Command Prompt (Admin) or Windows PowerShell (Admin).
- Use
net useto remap each drive:r>net use Z: \\PROJ-FS\TIA\ProjectLibrary /persistent:yes net use Y: \\PROJ-FS\TIA\Libraries /persistent:yes - Launch TIA Portal V14 from the elevated prompt:
"C:\Program Files\Siemens\Automation\Portal V14\Bin\S7TIA.exe"
Drives mapped this way are visible only until the elevated process exits or the session is terminated. Each new elevation requires re-mapping. This approach is acceptable for short troubleshooting sessions but not for daily engineering work.
7. Solution D — Configure TIA Portal to Auto-Elevate Without a Re-Map
TIA Portal V14 SP1 ships with a compatibility manifest that does not request requireAdministrator for normal project operations. Confirm the manifest has not been altered by a third-party installer.
- Browse to
C:\Program Files\Siemens\Automation\Portal V14\Bin\. - Right-click
S7TIA.exe> Properties > Compatibility tab. - Clear the checkbox Run this program as an administrator if it is set.
- Click Apply.
For day-to-day use, run TIA Portal from the standard token and only elevate the specific tool (for example, Start > Automation License Manager) that genuinely needs the elevated context.
8. Verification Procedure
Apply any of the solutions above, then run the following validation sequence to confirm the engineering workstation behaves correctly:
-
Confirm the registry value:
Expected output containsreg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" /v EnableLinkedConnections0x1. -
Confirm the mapped drive exists in both sessions:
- Open a non-elevated
cmd, typenet use, confirmZ: \\PROJ-FS\TIA\ProjectLibrary. - Open an elevated
cmd(Run as administrator), typenet use, confirm the same entry.
- Open a non-elevated
- Launch TIA Portal V14 elevated: Right-click the desktop shortcut, choose Run as administrator.
- In TIA Portal, open Project > Open. The network path of the mapped drive should be selectable in the file picker.
- Open the Project tree > Project library > External libraries dialog. Drives containing global libraries must be listed.
- Open STEP 7 V5.6 elevated. Choose File > Open > User Project. Network-resident projects must be visible.
- Open the Automation License Manager (ALM). Confirm the license server is reachable.
If any of the steps above still show missing drives, revisit Section 6 to confirm the registry change survived a Group Policy refresh and the workstation was rebooted.
9. Common Edge Cases and Field Findings
| Symptom | Root Cause | Remediation |
|---|---|---|
| Network drives visible for Administrator, hidden for engineers with UAC always-notify | UAC secure desktop prompt strips mappings when running on a different desktop | Set EnableLinkedConnections=1; also set User Account Control: Switch to the secure desktop when prompting for credentials to Disabled if domain policy permits |
Drives mapped with net use at logon script work, but the Reconnect at logon check box in Explorer does not persist |
Credentials cached in standard token, lost on elevation | Enable Configure the Specify settings for prompted credentials in Network security: Do not store LAN Manager hash values — store credentials in cmdkey /generic:PROJ-FS /user:DOMAIN\svc-tia /pass:<pw> for both tokens |
| Project library paths show only drive letter, not UNC, after elevation | TIA Portal resolves to UNC inside the elevated process; DNS or NetBIOS name resolution differs across the two sessions | Pin DNS suffix search list; ensure PROJ-FS.plant.local resolves identically in both nslookup attempts |
| STEP 7 V5.6 shows Access denied on a network path that opens fine outside TIA | Antivirus real-time scanning intercepts the elevated process differently | Add an exclusion for S7TMGRPC.EXE, S7OTBXSX.EXE, and the project folder UNC path in the AV console |
| Microsoft Edge / Internet Explorer crashes immediately when launched as Administrator after applying the fix | Side-effect of running IE/Edge elevated with link-local discovery enabled | Do not launch IE elevated unless required; the network share fix is unrelated to browser behavior |
10. Security Considerations
EnableLinkedConnections value does not grant additional access — it only propagates already-existing mappings into the elevated session. It does not expose a drive to processes that did not previously have access. Nonetheless, document the change in your change-management system and include it in the workstation hardening baseline.- Do not disable UAC as an alternative — disabling UAC removes the filtered token entirely, which is a far larger attack-surface change.
- Restrict who can set the value to local administrators only. The value is a per-machine setting under
HKLM. - If your plant network enforces Network Access Protection or 802.1X, confirm that the elevated session still authenticates identically. In most domains, the same machine-account credentials are used for SMB, so the re-authentication is transparent.
- Avoid storing long-lived credentials in
cmdkey. Use Windows Credential Manager with a service account that has a scheduled rotation.
11. Programmatic Sanity Check for Administrators
The following PowerShell snippet is suitable for the engineering team's configuration-management script. It returns OK when the fix is in place, MISSING when it is not, and exits with a non-zero code in the latter case — useful for SCCM / Intune compliance baselines.
$value = Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' `
-Name 'EnableLinkedConnections' -ErrorAction SilentlyContinue
if ($value.EnableLinkedConnections -eq 1) {
Write-Output 'OK'
exit 0
} else {
Write-Output 'MISSING'
exit 1
}
12. Frequently Asked Questions
Why does TIA Portal V14 lose network drive access when I run it as Administrator?
Windows UAC splits the user's access into a standard token and an elevated token. Network drive letters are bound to the standard token, so they are invisible to the elevated TIA Portal process. The fix is the registry DWORD EnableLinkedConnections=1 under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System, per Microsoft KB 3035277.
Does EnableLinkedConnections=1 compromise workstation security?
No. The value only propagates already-existing drive mappings from the standard token to the elevated token. It does not grant new SMB access. It is the supported Microsoft-recommended fix for elevated-app mapped-drive visibility and is documented in KB 3035277.
Will a Group Policy overwrite the manual registry change?
Yes, if another GPO sets EnableLinkedConnections to 0. Verify with gpresult /h report.html and ensure the desired GPO has the highest precedence, or remove conflicting entries from competing GPOs.
Do I need to reboot after applying the fix?
A sign-out and sign-in is sufficient because the policy is read at logon when the user profile is created. A full restart is recommended on engineering workstations to ensure all background services (Automation License Manager, S7DOS, S7OCom) pick up the new session.
Is Windows 10 Home supported for STEP 7 V5.6 and TIA Portal V14 SP1?
STEP 7 V5.6 supports Windows 10 Pro and Enterprise (1507 to 1803 per the Readme at release). TIA Portal V14 SP1 supports Windows 10 Home only for STEP 7 Basic; Professional and WinCC components require Pro, Enterprise, or LTSB editions. Always confirm the exact Readme for the installed SP before deployment.
Can I avoid the issue by running TIA Portal from the unelevated token?
Yes. Clear the Run this program as an administrator checkbox in the S7TIA.exe Compatibility tab. TIA Portal V14 SP1 does not require elevation for project operations. Elevate only the Automation License Manager or specific Siemens tools that genuinely require it.