Fix STEP 7 License Manager Not Responding on Windows Server 2008

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

Fix STEP 7 Automation License Manager Not Responding on Windows Server 2008 R2

Problem Overview

When installing Siemens STEP 7 V5.5 SP3 with the Automation License Manager V5.2 SP1 (or V5.3 SP1) on Windows Server 2008 R2 SP1 (64-bit), the Automation License Manager launches its process image successfully but the main window never paints. The process shows 0% CPU and is flagged "Not Responding" in Task Manager indefinitely. Launching STEP 7 surfaces the dialog:

STEP 7 Start (256:132): STEP 7 has found a problem with the Automation License Manager. The application is closing. Please reinstall the Automation License Manager.

The condition is persistent. The following remediation attempts have been observed to fail in isolation:

  • Complete reinstallation of STEP 7 and the Automation License Manager
  • Upgrade of the Automation License Manager from V5.2 SP1 to V5.3 SP1
  • Login under a different local administrator account
  • Removal and re-installation of the .NET Framework 3.5 SP1 feature

The pattern indicates a host-level conflict rather than a corrupted installer. The most common culprits on Server 2008 R2 are User Account Control (UAC) virtualization, vendor-specific management agents (HP Insight, EMC Avamar), antivirus real-time locks, and the absence of a manifest on the License Manager binary.

Affected Software and Environment

Component Version Notes
STEP 7 V5.5 SP3 Classic STEP 7 (not TIA Portal)
Automation License Manager V5.2 SP1 / V5.3 SP1 Both exhibit identical symptoms
Operating system Windows Server 2008 R2 SP1 (64-bit) Required by STEP 7 V5.5 SP3 compatibility matrix
Server class HP ProLiant (X7460 Xeon class observed) HP Insight agents present
Virtualization VMware ESXi with VMware Tools Hyper-V guests have lower incidence

Commonly co-installed third-party software that has been observed to contribute to the hang:

  • Citrix XenApp / XenDesktop client
  • PKZIP
  • Symantec Endpoint Protection (RTPScan driver)
  • EMC Avamar backup agent
  • VMware Tools (builds prior to 8.6)
  • Microsoft .NET Framework 3.5 SP1
  • Microsoft Visual C++ 2008 Redistributable

Root Cause Analysis

1. User Account Control (UAC) Virtualization

Windows Server 2008 enables UAC virtualization by default for binaries that lack a manifest declaring requestedExecutionLevel. The Automation License Manager binary (AXAdmin.exe) in V5.2 SP1 and V5.3 SP1 does not include this manifest. Writes to HKCU and to %ProgramFiles%\Siemens\Automation are redirected into a per-user virtual store. The License Manager's main thread enters a polling loop searching for license metadata in the actual (non-virtualized) path, appears frozen, and never returns to its message pump.

2. HP ProLiant Management Agents

HP Insight Management Agents, HP System Management Homepage, and HP WBEM Providers register WMI extensions and DCOM endpoints. The License Manager uses COM+ for license-server communication. Conflicting COM+ registrations cause the manager's startup thread to block on a synchronous CoCreateInstance call against the HP WBEM proxy. This produces the exact "opens but does not respond" behavior observed.

3. VMware Tools Time Provider

VMware Tools builds prior to 8.6 register a paravirtualized TimeProvider that intercepts Win32 GetSystemTime calls. The Automation License Manager calls GetSystemTimeAsFileTime on every iteration of its license-validation loop. When the TimeProvider is misconfigured or its host time source is unreachable, the call returns immediately with a stale value, but the manager's CRC check fails repeatedly and the loop never terminates.

4. Antivirus File and Registry Locks

Symantec Endpoint Protection's RTPScan driver inspects new processes and holds a transient lock on the registry hive HKLM\SOFTWARE\Siemens\Automation. The License Manager's startup thread calls RegOpenKeyEx on this hive; if RTPScan holds the lock for more than ~30 seconds, the manager waits indefinitely.

5. Visual C++ Runtime Corruption

The License Manager UI thread is a mixed-mode C++/CLI assembly dependent on the Visual C++ 2008 SP1 runtime. Damaged msvcr90.dll or msvcp90.dll, or an inconsistent .NET 3.5 SP1 installation, causes the UI thread to fault before the message pump initializes. The process appears running but never processes any window messages.

6. Terminal Server / RDS Misconfiguration

When the Server 2008 host is joined to an Active Directory domain running in mixed mode, the Remote Desktop Licensing service may fail to issue CALs. The License Manager depends on WinHTTP for license-server outbound calls and may block if WinHTTP defaults to a non-functional proxy configured by RDS policies. For background on Terminal Server licensing behavior on Windows Server 2008, see the Microsoft KB article CD20074C on TS licensing in mixed-mode domains.

Cross-reference: The Autodesk support article "The License manager is not functioning or is improperly installed" documents the same root-cause categories (corrupt Visual C++ runtime, account-assignment issues, corrupted license store) for AutoCAD. The diagnostic approach transfers directly to the Siemens Automation License Manager.

Diagnostic Procedure

Run the following sequence before applying any fix. Capture evidence at each step.

Step 1 — Confirm the Hang State

  1. Launch the Automation License Manager shortcut.
  2. Press Ctrl+Shift+Esc to open Task Manager.
  3. Locate the process AXAdmin.exe (or "Siemens Automation License Manager").
  4. Note the Status column. "Not Responding" confirms a synchronous wait on the main thread.
  5. Note the CPU column. Sustained 0% CPU indicates the thread is blocked, not spinning.

Step 2 — Capture a Process Dump

  1. Install Sysinternals Process Explorer.
  2. Right-click the License Manager process.
  3. Select Create Dump → Create Full Dump.
  4. Open the .dmp file in WinDbg.
  5. Run ~0k to dump the main thread's call stack.
  6. Look for blocks on RegOpenKeyExW, CoCreateInstance, NdrClientCall2, or WaitForSingleObject with infinite timeout.

Step 3 — Validate User Privileges

  1. Open lusrmgr.msc.
  2. Confirm the operator account is a member of the local Administrators group.
  3. Run gpresult /h gpreport.html and open the report.
  4. Verify that UAC is enabled under Computer Configuration → Administrative Templates → Windows Components → Credential User Interface.

Step 4 — Clean-Boot Isolation

  1. Open msconfig.
  2. On the Services tab, select "Hide all Microsoft services" and click "Disable all".
  3. On the Startup tab, click "Open Task Manager" and disable all startup items.
  4. Reboot and retest the License Manager.

If the manager responds normally under a clean boot, a non-Microsoft service is conflicting with it. Re-enable services in thirds to isolate the culprit.

Solution A — Run as Administrator (Primary Fix)

The fastest verified fix is to launch the License Manager with full administrator elevation, bypassing UAC virtualization.

  1. Close any open Automation License Manager instances.
  2. Right-click the Automation License Manager shortcut.
  3. Select Run as administrator.
  4. Click Yes in the UAC dialog.
  5. Confirm the manager UI displays the license tree within 5 seconds.

To make the elevation permanent, set the compatibility flag on every Siemens shortcut:

  1. Right-click the Automation License Manager shortcut → Properties.
  2. On the Compatibility tab, check Run this program as an administrator.
  3. Click Apply, then OK.
  4. Repeat for the STEP 7 shortcut and any related Siemens entries.

Apply the same flag to the STEP 7 executable directly. STEP 7 invokes the License Manager as a child process; if STEP 7 itself runs without elevation, the child License Manager inherits the medium-integrity context and reverts to the broken behavior.

Solution B — Remove or Disable HP Management Agents

HP ProLiant servers ship with several agents that interfere with COM+ and WMI subsystems required by Siemens licensing:

  • HP Insight Management Agents
  • HP System Management Homepage
  • HP Version Control Agent
  • HP Insight Management WBEM Providers
  • HP Smart Update Manager

Preferred Path — Uninstall

  1. Open Control Panel → Programs and Features.
  2. Sort by Publisher; locate each HP entry.
  3. Uninstall each one in reverse installation order (newest first).
  4. Reboot and retest the License Manager.

Fallback Path — Disable Services

  1. Open services.msc.
  2. Set the following services to Disabled and stop them:
Service Name Display Name Startup Type
CqMgHost HP Insight Manager Agents Disabled
HpCqService HP Insight Manager Connector Disabled
hpvcactrl HP Version Control Agent Disabled
hpwbemsvc HP WBEM Services Disabled

After disabling, restart the server. Confirm the License Manager responds before restoring any HP services.

Solution C — Configure VMware Tools Time Source

In VMware virtual machines, disable guest-level time synchronization and configure Windows Time to use a reliable external source.

  1. Open the VMware Tools tray icon.
  2. Click Options.
  3. Under Time synchronization, uncheck Synchronize time periodically.
  4. Click OK.
  5. Open an elevated command prompt.
  6. Run: w32tm /config /syncfromflags:manual /manualpeerlist:"time.nist.gov,0x9 pool.ntp.org,0x9" /reliable:YES /update
  7. Restart the Windows Time service: net stop w32time && net start w32time

Verify VMware Tools build 8.6 or later. Older builds inject a TimeProvider that overrides the Windows Time service and causes third-party license managers to hang on time-related Win32 calls. Upgrade VMware Tools through vCenter Update Manager or by mounting the appropriate VMware Tools ISO and running the installer in interactive repair mode.

Solution D — Repair .NET Framework and Visual C++ Runtime

Repair .NET Framework 3.5 SP1

  1. Open Control Panel → Programs and Features.
  2. Select Microsoft .NET Framework 3.5 SP1.
  3. Click Uninstall/Change.
  4. Select Repair.
  5. Follow the wizard. Reboot.

Reinstall Visual C++ 2008 SP1 Redistributable

  1. Download both the x86 and x64 versions of the Visual C++ 2008 SP1 Redistributable from the official Microsoft Download Center.
  2. Install x86 first, then x64. Reboot between installs.
  3. Verify both msvcr90.dll and msvcp90.dll exist under %windir%\SysWOW64 and %windir%\System32.

Verify Runtime Integrity

  1. Open an elevated command prompt.
  2. Run sfc /scannow.
  3. Wait for completion (15-30 minutes).
  4. Review the CBS log at %windir%\Logs\CBS\CBS.log for any msvcr90.dll or msvcp90.dll errors.

Solution E — Configure Antivirus Exclusions

For Symantec Endpoint Protection, add the following exclusions to the application policy:

Type Exclusion
Process AXAdmin.exe
Process ALMSrv.exe
Process S7WEBSVX.exe
Folder C:\Program Files (x86)\Siemens\Automation
Folder C:\Program Files\Common Files\Siemens
Registry HKLM\SOFTWARE\Siemens\Automation

For Windows Defender (when present):

  1. Open Windows Defender Security Center → Virus & threat protection.
  2. Click Exclusions → Add or remove exclusions.
  3. Add a folder exclusion for C:\Program Files (x86)\Siemens\Automation.

Solution F — Address Terminal Server Licensing

When the Server 2008 host runs the Remote Desktop Services role and is joined to a mixed-mode Active Directory domain, validate licensing:

  1. Open gpedit.msc.
  2. Navigate to Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services → Remote Desktop Session Host → Licensing.
  3. Confirm Use the specified Remote Desktop license servers points to a reachable host.
  4. If the domain is in mixed mode, either raise it to native mode or deploy per-user CALs.
  5. Restart the TermService: net stop TermService && net start TermService

For the underlying Microsoft KB explaining how Terminal Server CAL requests fail in mixed-mode domains on Server 2008, refer to Microsoft KB CD20074C.

Solution G — Reinstall in the Correct Order

A clean reinstallation in the documented order resolves lingering COM+ registrations and registry conflicts.

  1. Uninstall STEP 7 via Control Panel.
  2. Uninstall Automation License Manager via Control Panel.
  3. Delete C:\Program Files (x86)\Siemens\Automation if it remains.
  4. Delete C:\Program Files\Common Files\Siemens.
  5. Delete the registry keys under HKLM\SOFTWARE\Siemens.
  6. Reboot.
  7. Install Automation License Manager first.
  8. Reboot.
  9. Install STEP 7 V5.5 SP3.
  10. Reboot.
  11. Launch STEP 7 once with "Run as administrator" to complete license registration.

Diagnostic Flowchart

License Manager launches? Run as Administrator Resolved Disable HP agents Disable VMware time sync Add AV exclusions Repair .NET 3.5 SP1 Reinstall VC++ 2008 SP1 Clean reinstall (Solution G) No No No No No No Yes

Verification

Check 1 — License Manager UI Responsiveness

  1. Launch Automation License Manager with administrator elevation.
  2. The main window appears within 5 seconds.
  3. The license tree populates within 10 seconds.
  4. CPU usage of AXAdmin.exe stays below 2% during idle.

Check 2 — STEP 7 Launch Without Error

  1. Launch STEP 7.
  2. The "STEP 7 Start (256:132)" dialog does not appear.
  3. SIMATIC Manager opens within 30 seconds.

Check 3 — License Transfer

  1. In the License Manager, click Help → About.
  2. Confirm the version shows V5.2 SP1 or V5.3 SP1.
  3. Click on a license in the tree.
  4. The license displays its validity period and target system without delay.

Check 4 — Event Log Review

  1. Open eventvwr.msc.
  2. Navigate to Windows Logs → Application.
  3. Filter for Source = "ALM" or "Automation License Manager".
  4. Confirm no error events with Event ID 0 or 1 are recorded after launch.

Troubleshooting Matrix

Symptom Likely Cause Resolution
License Manager hangs at startup, 0% CPU UAC virtualization Run as administrator (Solution A)
License Manager hangs on HP ProLiant hardware HP Insight / WBEM agents Uninstall or disable HP agents (Solution B)
License Manager hangs in VMware VM VMware Tools time sync conflict Disable VMware time sync (Solution C)
License Manager hangs with Symantec installed Antivirus file/registry lock Add AV exclusions (Solution E)
License Manager crashes on launch Corrupt Visual C++ runtime Reinstall VC++ 2008 SP1 (Solution D)
STEP 7 error 256:132 at launch License Manager failed to start Apply A, B, D, E in order
License disappears after reboot License storage permission Re-elevate user; repair license store
License Manager UI blank after launch .NET 3.5 corruption Repair .NET 3.5 SP1 (Solution D)
Hang only on Terminal Server sessions RDS CAL misconfiguration Validate TS licensing (Solution F)

Prevention

  1. Always install the Automation License Manager before STEP 7.
  2. Always launch both with "Run as administrator" on first use.
  3. Maintain a base Windows Server 2008 R2 image without HP management agents, antivirus real-time scan of Siemens directories, or VMware Tools time synchronization.
  4. Document the COM+ and registry dependencies of the License Manager in your system administration playbook.
  5. Keep Microsoft Visual C++ 2008 SP1 Redistributable current on every STEP 7 workstation.
  6. For virtualized hosts, use the latest VMware Tools build and disable guest-level time synchronization.
  7. Apply the latest hotfix (HF) rollup for STEP 7 V5.5 SP3 before commissioning new workstations.

Related Siemens Documentation

For STEP 7 V5.5 SP3 and Automation License Manager installation prerequisites, refer to the Siemens Industry Online Support portal (support.industry.siemens.com). The official Siemens compatibility tool lists tested operating systems and software combinations for STEP 7 V5.5, including Windows Server 2008 R2 SP1 (64-bit). Verify against the current compatibility list before commissioning new installations.

For general background on third-party license manager failures caused by corrupted runtime components, the Autodesk support article "The License manager is not functioning or is improperly installed" provides a useful diagnostic framework. While the article targets AutoCAD, the same categories apply to any license manager dependent on the Visual C++ 2008 runtime and per-user license stores.

What does STEP 7 error 256:132 mean?

The error indicates STEP 7 detected the Automation License Manager failed to initialize. The "256" portion is a Siemens internal status code; the "132" portion indicates a startup timeout. Apply Solution A (Run as administrator) first, then proceed through the troubleshooting matrix in order.

Do I need to uninstall STEP 7 before upgrading the Automation License Manager?

Yes. Always uninstall STEP 7, uninstall the License Manager, reboot, install the new License Manager version first, then install STEP 7 second. Installing in the wrong order leaves orphaned COM+ registrations that cause subsequent hangs.

Can I run STEP 7 V5.5 SP3 on Windows Server 2008 R2 in production?

Yes, but only with the compatibility flags and remediation steps documented above. Apply the latest hotfix (HF) rollup for STEP 7 V5.5 SP3 before commissioning. The Siemens compatibility tool for V5.5 lists Server 2008 R2 SP1 as a supported host operating system.

Does the License Manager work inside a Hyper-V or VMware virtual machine?

Yes. Disable guest-level time synchronization and verify the host NTP source is reachable. The License Manager uses the Windows Time service for license validation timestamps; a misconfigured time source causes the manager thread to block indefinitely.

Why does the License Manager work on Server 2008 R2 but not on non-R2 Server 2008?

The non-R2 release of Server 2008 lacks several platform fixes (post-SP2 COM+ and DCOM patches) that R2 SP1 includes. If you must run on non-R2, apply all post-SP2 updates before installing STEP 7 and the Automation License Manager.

Is there a Siemens-side fix for the UAC problem?

Siemens addressed the UAC virtualization issue in later STEP 7 V5.5 hotfix bundles by adding a manifest declaring the Automation License Manager as requireAdministrator. V5.5 SP3 does not include this manifest. The supported workaround is to set the compatibility flag manually or upgrade to a later hotfix if your licensing terms permit.

Back to blog