Any user running unattended UIAutomation (any version) on Windows 10.
Microsoft has announced that ‘News and Interests’ feature will be available/enabled by default on the Windows taskbar in a gradual rollout to PC users.
We have observed more and more UI automation failures on Windows 10 v1909, apparently induced by the 10.0.18363 N/A Build 18363 Windows patch but it might not be the only patch causing the issue.
Specifically, the Windows patch enables by default the “News and interests“ feed. This small window steals the focus, preventing the automation bring the target elements into the foreground, for execution.
The following error can be seen in the execution logs:
“Cannot bring the target application in the foreground. The action was blocked by the current foreground window ‘Feeds’ from the process ‘searchui.exe’.
The error is avoided if the “News and interests“ feed is disabled.
This can be done by editing the Group Policy. Go to ‘Local Group Policy Editor’
Computer Configuration > Administrative Templates > Windows Components > News and interests > Enable news and interests on the taskbar
and disable the option:
Hope this helps!