Uipath Robot Tray Error - Logon failure

I faced a similar issue when trying to launch a job from Orchestrator.

The issue was with the username. Please retrieve the username using “whoami” command and use it for login.
In my case, I used the display name of my user account which was incorrect. For example, if the display name was “My User” and the actual username was just “User”, using the display name would cause the login to fail.

There are many steps like this in Orchestrator setup that require deeper investigation to fix.