IMDHMIControls LibraryShop main store

Troubleshooting

Why STEP 7 cannot connect to a PLC after Windows 10 1709

PLC programming Published 7 min read

Short answer

When both STEP 7 V5.6 and TIA Portal V14 SP1 lose online access right after the workstation installs Windows 10 Version 1709, treat the engineering PC as the fault, not the PLC. Check the Automation License Manager service and license display, rename the Crypto MachineKeys directories with the vendor's documented procedure when licenses are missing, and roll back to Version 1703 when licensing is healthy and both packages still fail.

On this page
  1. Confirm the workstation is the failure boundary
  2. Run the checks that place the fault
  3. Repair the machine-key directories behind the license manager
  4. The case: two packages and an empty license list after Version 1709
  5. Roll back to Version 1703 when licensing is healthy
  6. Prove the repair before closing the ticket
  7. Questions asked

When STEP 7 V5.6 and TIA Portal V14 SP1 both lose online access to the PLC right after the engineering station installs Windows 10 Version 1709, the Fall Creators Update, the fault is on the station, not the controller. Two engineering packages failing together after one operating-system change puts the problem in a layer they share: the Automation License Manager and the Windows cryptographic key storage underneath it. Work it in a fixed order: check the Automation License Manager Service and the license display, try one launch as administrator as a test, repair the machine-key directories with the vendor's documented rename procedure when licenses are missing, and roll the station back to Windows 10 Version 1703 when licensing is healthy and both packages still fail. While this pattern holds, nothing on the PLC, the project or the network needs to change.

Confirm the workstation is the failure boundary #

In the reported case, online access failed from both STEP 7 V5.6 and TIA Portal V14 SP1 after Version 1709 installed, and a third Siemens utility, SIMATIC Automation Tool, did not restore it. That combination does the diagnostic work for you. One failing package points at a project or a version; two packages plus a third tool failing points at a component all of them use, which means the license manager, its key storage or the network stack on that one PC.

The update is the only common change. If online access worked the day before the update installed and failed the day after, hold that boundary: do not edit PLC code, re-download a hardware configuration or replace the controller while the symptom sits on the workstation side.

If only one package cannot reach one controller, you are not in this fault. TIA Portal V14 cannot go online with an S7-1500 covers the version-specific online case, and when the network link is up but access still fails, S7-1200 shows link lights but TIA Portal cannot connect walks that separate path.

Run the checks that place the fault #

Run these in order and stop at the first branch that fires:

  1. Confirm the station runs Windows 10 Version 1709 and that online access worked before the update installed.
  2. Attempt the same online function from both STEP 7 V5.6 and TIA Portal V14 SP1. Two failures move the fault off the project and onto the shared layers.
  3. Launch one package as administrator. If access returns, the fault is access rights on shared Siemens or Windows service resources; correct the rights and return to normal launches. Elevation is a test, not a repair.
  4. Check the Automation License Manager from the Windows start menu: the Automation License Manager Service must be running and every expected license must be listed. A stopped service or an empty license list sends you to the repair in the next section.
  5. If the service runs and the licenses are all listed, verify the selected network adapter and basic IP reachability to the PLC before blaming the update. An adapter whose settings reset during the update mimics this fault exactly.

Repair the machine-key directories behind the license manager #

Every SIMATIC engineering package collects its licenses through the Automation License Manager, and the license manager depends on Windows cryptographic machine-key storage under C:\ProgramData\Microsoft\Crypto to complete its encryption. After the Version 1709 update that encryption can fail, the service starts badly and the license list comes up empty, which blocks the online workflow in every package at once.

The vendor's service documentation for missing or defective license key storage gives the repair: stop the service, rename the key directories so Windows builds fresh storage, verify the licenses, then delete only the renamed copies. The three directories are:

  • C:\ProgramData\Microsoft\Crypto\DSS\MachineKeys
  • C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
  • C:\ProgramData\Microsoft\Crypto\RSA\S-1-15-18

They are directories, meaning key storage folders, though they are often described as files. Renaming preserves the data; Windows and the license manager generate fresh key material on the next start.

Run the repair like this:

  1. Close all Siemens applications.
  2. Stop the Automation License Manager Service in the Windows service controls.
  3. In C:\ProgramData\Microsoft\Crypto, rename DSS\MachineKeys to DSS\MachineKeys_old.
  4. Rename RSA\MachineKeys to RSA\MachineKeys_old.
  5. Rename RSA\S-1-15-18 to RSA\S-1-15-18_old.
  6. Restart Windows.
  7. Check that the Automation License Manager Service is running again.
  8. Open the license manager and confirm every expected license is listed.
  9. Only after the licenses are verified, delete the three _old copies. Delete nothing else under Crypto.

One caution: this regenerates key material Windows uses elsewhere, so run it on the affected engineering station only, with the projects on it backed up first.

If the license list does not come back after the restart, stop. Leave the renamed directories in place, do not repeat the rename, do not delete the fresh directories, and take the next step through the vendor's license repair support channel.

The case: two packages and an empty license list after Version 1709 #

Inputs, each with its source:

  • Windows 10 Version 1709 on the engineering station, confirmed in the update history (the station).
  • Two packages tested for the same online function: STEP 7 V5.6 and TIA Portal V14 SP1 (the reported case).
  • SIMATIC Automation Tool tried, did not restore access (the reported case).
  • Automation License Manager Service down, 0 of the expected licenses displayed (the station's license manager).

The rule in words: when every package you test fails after one operating-system change and the license display is abnormal, repair the license key store first; roll the operating system back only when the license display is normal and every package still fails.

The arithmetic, written out: 2 of 2 packages fail, so the fault sits in one shared layer, not in two separate tools. 0 of the expected licenses display, so that layer is the license key store, not the network path. The repair costs 3 directory renames, 1 service stop and 1 reboot, and buys fresh key material for the license manager.

Result: the Automation License Manager Service starts, the full license list displays, and 2 of 2 packages go online.

Decision: keep the station on Version 1709, keep the freshly generated key directories and delete only the three _old copies. The branch threshold: if all expected licenses display and 2 of 2 packages still fail, the key-store repair does not apply, so move to the rollback below.

Roll back to Version 1703 when licensing is healthy #

If the Automation License Manager Service runs, every expected license displays, the adapter selection checks out, and both STEP 7 V5.6 and TIA Portal V14 SP1 still cannot connect after the update, the update is the remaining common change. In the reported case the fix was to roll the station back to Windows 10 Version 1703, and that is the decision here too.

The vendor documents supported Windows versions per software release, and the supported-combination entry for each release states which Windows 10 versions that release is validated on. Check the entry for your exact releases before you re-approach Version 1709 or take the next feature update; a later STEP 7 or TIA Portal release may list it.

Before the rollback, back up the projects, the license information and the station's network configuration with the site's normal backup process. After it, confirm the Windows version in system settings before reinstalling or reconfiguring any engineering software. Change one boundary at a time: never roll the operating system back and edit the project in the same maintenance window, because then no result identifies the fix. Re-run the two-package online test afterwards; when both packages go online on Version 1703, the fault is closed.

Prove the repair before closing the ticket #

A license display alone does not prove PLC communications, and a failed connection alone does not prove a license fault, so verify the layers separately:

  • The Automation License Manager Service starts on its own after a reboot.
  • The full license list displays with no missing entries.
  • Both packages open without a license interruption and go online to the PLC.
  • Closing and reopening each package and repeating the online test succeeds, because the fix has to survive a new session.
  • The selected network adapter and IP settings match the configuration that worked before the failure.

The recurring mistakes in this fault are deleting the freshly generated key directories instead of only the renamed _old copies, standardizing on administrator launches instead of fixing the underlying rights, and editing PLC-side settings while the workstation is the failing layer. Keep feature updates off engineering stations until the supported-combination entry for your STEP 7 and TIA Portal releases covers that Windows version.

Questions asked

Can the station stay on Windows 10 Version 1709 after the repair?

Yes, when the key-store repair brings the license list back and both STEP 7 V5.6 and TIA Portal V14 SP1 go online again. The rename procedure, not the rollback, is then the fix that ended the fault. Reboot once and repeat the online test in both packages before you leave the station on 1709; if either package loses access again, the rollback to Version 1703 is the remaining step.

Does renaming the MachineKeys directories delete the licenses?

No. Renaming keeps the existing key storage in place and lets Windows and the Automation License Manager build fresh key material next to it. Verify that every expected license is listed before you delete anything, and delete only the copies you renamed. If the license list stays empty, stop, leave the renamed directories in place, and use the vendor's license repair support channel.

Why do STEP 7 and TIA Portal fail together on this fault?

Both packages draw on the same workstation layers: the Automation License Manager for licensing, Windows cryptographic key storage underneath it, and the adapter stack for the network path. One broken shared layer fails both at once. A project-specific fault or a controller-side problem usually hits one tool, one project or one controller, which is why two failures at once points at the workstation.

Is running the software as administrator a permanent fix?

No, treat it as a test. If online access returns under elevation, the station has an access-rights problem on shared Siemens or Windows service resources, and the durable repair is correcting those rights for the normal user account. Keep working with normal launches once the rights are fixed; elevated launches mask the fault and can hide the next one.

How should Windows updates be handled on engineering stations?

Control them instead of blocking them. Hold a feature update until the supported-combination documentation lists your exact STEP 7 and TIA Portal releases for that Windows version, and stage quality updates through a WSUS so one station is patched and tested first. For WinCC stations on Windows 10 without LTSC, the manufacturer's guidance is to deliver Microsoft patches through a WSUS for the same reason.

Keep reading

  • Troubleshooting

    Fix STEP 7 V5.5 warning after TIA Portal wrote an S7-300

    Download the hardware configuration and blocks from a freshly created SIMATIC Manager project and the warning clears; a CPU 313C-2DP recovered exactly this way. Formatting the MMC with the mode switch (MRES held roughly 9 s until the STOP LED stays lit) does not clear the TIA-written state, so use it only when you also want the card empty.

    PLC programming

  • Explainer

    What STEP 7 is in a PLC project, and which one you need

    STEP 7 is the engineering software you use to program, configure, diagnose and download to SIMATIC PLCs — a workstation tool, not a part of the PLC itself. SIMATIC Manager, also called STEP 7 Classic, configures S7-300 and S7-400 CPUs; STEP 7 inside TIA Portal configures S7-1200 and S7-1500. Read the CPU family from the module label or the existing project, open the matching environment, and confirm the project's hardware configuration matches the installed CPU before you edit or download.

    PLC programming

  • Troubleshooting

    Why STEP 7 V5.7 SP1 setup stops on Windows 10 Pro

    Windows 10 Pro 64-bit already meets the STEP 7 V5.7 SP1 edition requirement, so the operating system is not the reason setup stops. Reproduce the failure once, open the %AutInstLog% directory in File Explorer, and match the log's final entries to the exact error dialog before choosing a fix.

    PLC programming