Failure to execute commands other than "pause" when run from task scheduler

Your analysis is correct: The issue is that all visual automation commands (XClick, XClickText, visualAssert, aiComputerUse,…) need an unlocked desktop. Otherwise Ui.Vision can not take screenshots and thus the commands report an error.

=> See this info:

1 Like