Process not running unattended – UIPI Error

Answered
0
0

Hi,

I have a problem running the processes in unattended mode. The robot logs into the machine and starts the application that is used in the process but any step that interacts with the application (String Input, Click Step,..) ends with error and the process fails:

2024-06-11 10:46:16.917 +02:00 [INF] Executing step [“StringInputStep”, “df37cda9-5f4f-4752-854f-6fa36d86b736”].
2024-06-11 10:46:16.937 +02:00 [ERR] System.Exception: Some simulated input commands were not sent successfully. The most common reason for this happening are the security features of Windows including User Interface Privacy Isolation (UIPI). Your application can only send commands to applications of the same or lower elevation. Similarly certain commands are restricted to Accessibility/UIAutomation applications. Refer to the project home page and the code samples for more information.
at WindowsInput.WindowsInputMessageDispatcher.DispatchInput(INPUT[] inputs)
at WindowsInput.KeyboardSimulator.SendSimulatedInput(INPUT[] inputList)
at WindowsInput.KeyboardSimulator.TextEntry(String text, Int32 pauseBetweenCharacters)
at Robotiq.WorkflowEngine.KeyboardSimulator.TextEntry(String text, Int32 pauseBetweenCharacters)
at Robotiq.ScriptExecutor.StepHandlers.Implementation.StringInputHandler.HandleCore(Boolean startRobotLocaly)
at Robotiq.Steps.Common.StepHandler.Handle(Boolean startRobotLocally)

What is the cause and how can I fix it?

  • You must to post comments
Best Answer
0
0

Hi Darko,

The reason is the Admin consent popup appearing that is preventing the robot from interacting with the application. This situation can be fixed by editing following registry keys:

  • In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Set the key ConsentPromptBehaviorAdmin 0x00000003 becomes 0x00000000
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\UIPI Change (Default) from the (value not set) to 0x00000001(1)

Reboot the machine after making these changes. Source article: https://www.tenforums.com/software-apps/12065-cant-open-any-windows-app-uac-disabled-2.html

This should solve your problem.

 

Regards,

Jakov

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.