I am trying to run a process that sends hotkeys like WIN + r to start “Run” and CTRL + v to paste items. Running attended, this works fine, however when I run unattended via a scheduled trigger this does not work. I get the error Desktop has been disconnected while performing UI actions. As you can see in the pictures below, I have enabled “SendWindowMessages”. Special key hotkeys like “enter” work, however when there is a normal character in the hotkey it crashes.
This did not fix the issue, I am still getting the error “Desktop has been disconnected while performing UI actions”. I don’t understand why this is happening.
by adding HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Terminal Server Client - RemoteDesktop_SuppressWhenMinimized and set it’s value to 2.
Source: UiPath does not work in Cloud - #4 by badita
I will keep this thread updated if I have new findings.