Why does startup of TestComplete cause other Windows apps to start in Windows 10?
Hi all,
I have TestComplete 11.31.2420.7 installed on Windows 10. For some reason, when I start TestComplete from the Windows taskbar, a few other Windows apps start as well. These include:
- Alarms and Clock app
- Photos app
- Movies and TV app
- Settings app
The Calculator app and some others have also been opened, but not as frequent.
This does not happen every time. It only happens once in a while - seems like I have to wait a certain amount of time between the startups of TestComplete before it happens next. It also happens on two of my colleagues' computers that have the same setup.
I did some investigation using Process Monitor from Sysinternals, and found these six lines in the log around the time this happened:
10:09:25.9523417 12512 Process Create C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe SUCCESS PID: 13480, Command line: "C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe" --resume-immersive-process "windows.immersivecontrolpanel_6.2.0.0_neutral_neutral_cw5n1h2txyewy"
10:09:26.0850967 12512 Process Create C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe SUCCESS PID: 13596, Command line: "C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe" --resume-immersive-process "Microsoft.Windows.ShellExperienceHost_10.0.10586.0_neutral_neutral_cw5n1h2txyewy"
10:09:26.1971166 12512 Process Create C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe SUCCESS PID: 13684, Command line: "C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe" --resume-immersive-process "Microsoft.Windows.Photos_16.325.12390.0_x64__8wekyb3d8bbwe"
10:09:26.3139222 12512 Process Create C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe SUCCESS PID: 13848, Command line: "C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe" --resume-immersive-process "Microsoft.ZuneVideo_3.6.19761.0_x64__8wekyb3d8bbwe"
10:09:26.4209399 12512 Process Create C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe SUCCESS PID: 13924, Command line: "C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe" --resume-immersive-process "Microsoft.Windows.Cortana_1.6.1.52_neutral_neutral_cw5n1h2txyewy"
10:09:26.5292572 12512 Process Create C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe SUCCESS PID: 14076, Command line: "C:\Program Files (x86)\SmartBear\TestComplete 11\Bin\aqdbghelpprocess.exe" --resume-immersive-process "Microsoft.WindowsAlarms_10.1603.12020.0_x64__8wekyb3d8bbwe"
I highlighted the most interesting parts in red and blue. It seems like aqdbghelpprocess.exe is starting these processes (?).
This leads to a few questions:
- What is aqdbghelpprocess.exe and what exactly is it doing?
- What is the resume-immersive-process flag doing?
- Is there any available documentation on this file anywhere? Googling did not help and I got nothing from the command line.
Googling "windows 10 programs start randomly" led me to this question on superuser.com, where the top answer is to disable all these apps from running as background apps in Windows. This might fix the issue (will report back later), it might not - either way, should it really be necessary to do this to avoid TestComplete from opening all these apps?
This is not a big problem to me right now, but it is becoming increasingly annoying since it completely fills my screen with several apps (up to 4-5) that I do not want to use and have to close.
I have had this problem for a while in Windows 10 and I even tried formatting and reinstalling Windows, but that did not change anything. Right now I am a bit puzzled by this and I would appreciate any help on the subject.
Best regards,
Mats
Disabling background apps is not enough. You also need to disable the Superfetch service. Superfetch aims to increase perceived performance by preloading applications based on past usage. This means that Superfetch launches applications in the suspended mode from time to time. Even if you explicitly terminate a process, Superfetch can run it again an hour later in the suspended mode, because it expects that you'll want to use this application again. TestComplete just wakes up suspended apps, but it's Windows itself that actually starts them.
To sum up the workarounds:
- Disable the Superfetch service.
- Disable all background apps in Start > Settings > Privacy > Background apps.
- If you do not need to test Windows Store apps, disable TestComplete option Enable support for testing Windows Store applications in Tools > Options > Engines > General Options and restart TestComplete.