"News And interests" Feed Is Enabled On Windows v1909, Causing UI Automation To Stop

Issue Description : News and interests feed is enabled on Windows v1909, causing UI Automation to stop and running the process from Orchestrator throws the error : “Cannot bring the target application in the foreground. The action was blocked by the current foreground window ‘Feeds’ from the process ‘searchui.exe' " .

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.

It is 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’.

Error :

Resolution :

The error is avoided if the “News and interests“ feed is disabled. This can be done by editing the Group Policy.

  1. Go to ‘Local Group Policy Editor’

  1. Navigate to Computer Configuration > Administrative Templates > Windows Components > News and interests > Enable news and interests on the taskbar

and disable the option:

Affected user : Any user running unattended UIAutomation (any version) on Windows 10.

Read more on the UiPath Forum - New and Interests " feed is enabled on Windows v1909 causing UI Automation to stop .