Executing Task on a closed RDP Window

Hi All,

i have a workflow thats runing perfectly on a visible RDP Window.
But when i will run it with the unattended Bot on a closed RDP Window it Comes the following error Message:
Info: Activity timeout exceeded

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
UiPath.Core.Activities.ActivityTimeoutException: Activity timeout exceeded
at UiPath.Core.Activities.WaitImageAppear.EndExecute(NativeActivityContext context, IAsyncResult result)
at UiPath.Core.Activities.AsyncNativeActivity`1.BookmarkResumptionCallback(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

i have insert “Executing Tasks in a Minimized RDP Window” on the registry.
And minimized it works.
Only when the RDP is closed Comes the error.
Could anybody helps me with this Problem ?

regards
michkreb

I have a few points.

—If you close your RDP window while a job is running in it, then it will “Disconnect” the user profile from the connection, therefore causing the job to stop.

—If you are running on Windows Server, make sure that the user profile is not entering the Start Screen when it first logs in. Windows Server 2012 by default does this so the setting would need to be suppressed; I think Windows Server 2012 R2 should be suppressed already. Entering the Start Screen rather than the Desktop can cause Timeout errors.

—There are some Features you need to have installed for unattended on a Windows Server, for example “Desktop Experience”.

Regards.

Our solution :

  1. RDP into dummy machine
  2. from dummy machine - open mstsc
  3. RDP into bot machine
  4. Run process
  5. close dummy rdp session window

basically do an rdp within an rdp and problem solved

1 Like