Skip to main content

"Failure in SetCursorPos" in the Desktop Automation Service log



Click steps seem to not do anything even when the finder is correct. Also, there is no error thrown by the step (not even timeout error).

In the Desktop Automation Service (DAS) log you can find this error:

ERROR com.kapowhub.drivers.automationnative Failure in SetCursorPos: Unknown error (0)

Answer / Solution: 

This is caused by another application running as administrator on the DAS machine and this application is in focus (the window is active) at the time the robot tries to click.

To avoid this error and allow the robot to click, follow one of the options below:

  • Option 1: Run the application without elevated rights (not as administrator)
  • Option 2: Make sure the application running as administrator is not in focus at the time the robot runs
  • Option 3: Run the Desktop Automation Service as administrator as well.

Applies to:  

Product Version Category
RPA any Desktop Automation


Author:  Delia Milchis