Cannot automate User Account Control popup

The Windows UAC pop ups cannot be read to the Robot and it cannot press this button. With which activity can this be solved?

The Windows UAC pop-ups cannot be read by the Robot and the Robot is unable to press the Yes or No button:

  1. Ensure to use the latest version of the UiAutomation.Activities package available at the time of reading this article. Back up your project before upgrading the activity package.
  2. Test the behavior with different UIFrameworks - including Default, Active Accessibility, and UIAutomation - using the UIExplorer.
  3. Test the behavior with the various input methods
  4. Try to identify the pop-up using Microsoft's 'Accessibility Inspect' tool to see if the selectors are exposed outside the application. If the pop-up does not register with the tool, it may suggest that the selectors are not exposed outside the application. This means you cannot automate them using the selector-based UIAutomation approach. For that case, image automation is needed.

These are User Account Control (UAC) pop-ups in Windows. With their primary function being to safeguard the system, these pop-ups ask for user confirmation or administrator credentials before allowing certain changes. Robots, like automated scripts or Robots, generally cannot interact directly with these pop-ups due to the above-mentioned security restrictions. Assistance with these issues can be best handled by collaborating with the internal IT teams.