TestExecute hangs in Jenkins after Windows update (interactive session issue)
Hello,
we are experiencing an issue with running TestComplete/TestExecute tests integrated with Jenkins.
All Jenkins jobs that use the TestComplete plugin start TestExecute correctly, but the execution hangs indefinitely and never finishes. When connecting to the virtual machine, it looks like no proper interactive session is created and no visible GUI is started.
This issue has been present for several months. After deeper investigation, we discovered that the problem is related to a specific Windows update. The issue first appeared after installing the update shown below (February update):
And now (June) seems that this Security Update is part of Windows 11, version 25H2 update:
---
## Environment
Our setup consists of:
- Virtual Machines running Windows
- Jenkins master with TestComplete plugin
- Jenkins agents running as Windows services
- TestExecute used to run automated UI tests
Jenkins and all plugins are regularly updated, so we have excluded Jenkins/plugin version as the root cause.
---
## Problem behavior
The Jenkins job starts normally and reaches the TestComplete step:
At this point:
- TestExecute process is launched
- but execution hangs (no progress, no logs)
- build eventually times out
---
## Important observation
If we manually log in to the VM and run the same Jenkins job with:
- "Run interactive user session" enabled
then:
- TestExecute starts correctly
- GUI session is created
- tests run successfully
- build finishes
This suggests that:
- TestExecute itself is working correctly
- the problem is specifically related to session creation via the Jenkins plugin
---
## Configuration
Our infrastructure was configured according to SmartBear documentation, especially:
https://support.smartbear.com/testexecute/docs/working-with/index.html
All required:
- Group Policy settings
- interactive session configurations
- user permissions
have been set according to the official guidelines.
---
## Current workaround
At this moment, we are blocking installation of the problematic Windows update.
However, due to corporate policies, we will eventually be required to install the latest updates, which will break our automation infrastructure again.
---
## Question
Have you encountered this issue before?
Is there any recommended configuration or workaround for:
- Jenkins + TestComplete plugin
- interactive session creation
- compatibility with newer Windows updates (especially KB5077811 and similar security updates)?
We suspect that recent Windows security changes may be affecting the LogonAndExecute mechanism used by TestComplete.
Any guidance would be greatly appreciated.
Thank you.