Robot desktop on VMware virtual Windows server 2022 - wrong resolution 1024x768

We have Orchestrator Enterprise and VDI desktops for robots.
We are migrating from VDI to Windows Server on VMware.
Everything is self hosted in our enterprise.

Something has to be fixed with this new setup.
our current Machine and user templates in Orchestrator have the setting “Login to Console: true/Yes” and this works for VDI desktops.
For server desktop this must be set false/No. But the robots fail immediately with that setting.

Have anyone else experienced this and how to fix this VMware virtual Windows server ?

Hi @joakim.ulfeldt

This could be related to how the VMware Windows Server session is being created and how the Robot connects to the machine.

I would suggest checking:

  • The Windows Server RDP/session configuration and whether an interactive user session is available.

  • VMware Tools and the virtual display/graphics driver.

  • The Windows Server display resolution settings.

  • Whether the Robot service and user account have the required permissions.

  • The Machine Template settings in Orchestrator, especially Login to Console and the selected runtime type.

Since the resolution is falling back to 1024×768, I would first verify the VMware virtual display driver and the Windows session configuration.

If possible, sharing the exact Robot/Orchestrator error from the execution logs when Login to Console = No would help identify the root cause.

The robot fails immediately, the log is empty.
There was a little popup in Orchestrator when it failed, so we reverted back to Login to Console: true/Yes.
Can’t remember the error ID, have to wait for the admin to set the Login to Console: false/No, so I can take a screen dump.

VMware tools is v 13.0.10.0 . Type WIN32_OWN_PROCESS, State: 4 RUNNING.

I have seen somewhere that we need to increase the VRAM for this machine. So I have a ticket to our IT to check this.
But that does not feel like a reason to robots immediately fails with Login to Console: false/No, but works with Login to Console: true/Yes

Must wait till tomorrow, to see when our IT-support has changes some settings.
Edit:
The joblog is empty but Clicked the info symbol:
State:Faulted
Raw message: Could not start executor. The console session of the server is in use by another user. Disable login to console in the robot settings or retry after the user logs off or disconnects.
System.Exception: Could not start executor. The console session of the server is in use by another user. Disable login to console in the robot settings or retry after the user logs off or disconnects.

Still strange, there were no other user logged in, and when we switched back and forth on the Login to Console, login worked every time it was set to Yes.

Hi @joakim.ulfeldt ,
When moving from VDI desktops to Windows Server on VMware, robot failures with “Login to Console = No” are usually related to the Windows session configuration rather than VMware itself.

Check the following:

  1. Ensure the robot account has Remote Desktop logon rights on the server.
  2. Verify the machine key, machine template, and user assignment are correctly configured in Orchestrator.
  3. Make sure the server allows UiPath Robot to create a non-console (RDP) session.
  4. Check Group Policies that may be preventing session creation or disconnecting idle RDP sessions.
  5. Confirm the UiPath Robot service is running and the robot user profile is properly created on the server.
  6. Review Robot and Event Viewer logs to identify the exact login failure.

Thanks

Hi @joakim.ulfeldt

For Windows Server, Login to Console = No is the expected setting. If the robot fails immediately after changing it, I would check the RDP/Windows Server configuration rather than Orchestrator.

Please check RDP permissions, RDS licensing, robot account access, and whether another session is already active.

If possible, share the exact Robot/Orchestrator error message when the job fails. That will help identify the specific issue.

Hi @joakim.ulfeldt,

Could you please share the error message you are getting? You can check the error details from the executed job in Orchestrator.

I think your robots may not have access to the server desktop. Please verify the robot access and share the error message.

Thanks!

I just sent some updates,
we know for sure the robots has access to the desktop, but we can only use Login to Console: Yes and in that case the resolution defaults to 1024x768.
Since the server is Vmware there might be settings needed from the Vmware vSphere.
Best regards
Joakim Ulfeldt

Hi @joakim.ulfeldt,

Could you please check if there are any logs [2] available for the failed job?

If not, please check the Job Details [3] in Orchestrator. It should provide some error details or a description that can help us troubleshoot the issue.

Thanks!

Problem is that it fails before there even is anything logged. It is not the robot code itself:

Setting Login to Console: No

Setting Login to Console: Yes - this test robot can login and navigate on chrome.
The width 1920 and height 1080 settings from template in Orchestrator is discarded - the server itself opens in 1024x768 which is too small for the production robots.

Hi @joakim.ulfeldt,

If you are using Login to Console: Yes, you can configure the required screen resolution by setting the Width and the required Height.

Thanks!

Hello all, thanks for you commitment :slight_smile:
Our IT solved it, not sure what he did, because he has not given me the details, it was a lot of trial and error.
The problem was that robots started a console session with 1024x768 regardless of the Orchestrator machine setting.
Just changing RAM for display from 4MB to 16MB actually made it impossible to login. So we rolled back to 4MB

Since, we could never get it to work with Login to Console:No in Orchestrator, which has been suggested to be the correct way for servers as a robot platform, including setting the UiPath.settings file accordingly to the Orchestrator settings. None of that worked.

So the Orchestrator settings is still as we have for the VDIs, and the serves UiPath.settings the factory setting:
“LoginToConsole”: true,
“ResolutionWidth”: 0,
“ResolutionHeight”: 0,
“ResolutionDepth”: 0,

After 3 hours of checking stuff on the VMware host and administrative settings on the virtual server, our IT managed to force a fixed setting to be minimum 1920 x 1080.
I don’t have all the details by now, but the robots opens in Console mode on the server (even if there is no sessions at all on the server)

I’m not sure this is by the book - but it works! :trophy: :star:

So actually nothing needed to be done in Orchestrator in our case.

But :double_exclamation_mark: - now there is something else strange happening: We can’t Publish even the simplest smallest process to Orchestrator.
The Orchestrator settings is as before, the published robots run as designed, but now we cannot publish the smallest update, like a change in the Log Message text.


This happens to all our projects when we publish now.
The details does not say much:
25.10.11+Branch.support-v25.10.Sha.f67dd3c45f5a18ef024thistext.isobfuscated6a045f5a1818b6660e02b739cb876

Publish of Test_desktop_aehq-0001 failed. An error has occurred.

Error: System.InvalidOperationException: Publish of Test_desktop_aehq-0001 failed. An error has occurred.
—> UiPath.Shared.Orchestrator.Models.OrchestratorHttpException: An error has occurred.
at UiPath.Studio.Orchestrator.Common.Extensions.HttpResponseMessageExtensions.EnsureOrchestratorStatusCodeAsync(HttpResponseMessage response)
at UiPath.Studio.OnlineServices.Services.CloudApiClient.InternalRequestAsync[T](Uri uri, HttpMethod method, HttpContent content, Func2 parseResponse, TimeSpan timeout, Dictionary2 headers, CancellationToken ct)
at UiPath.Studio.OnlineServices.Services.CloudApiClient.RequestAsync(Uri uri, HttpMethod method, HttpContent content, TimeSpan timeout, Dictionary2 headers, CancellationToken ct) at UiPath.Studio.Orchestrator.Feeds.Services.OrchestratorPackageUploader.UploadAsync(IEnumerable1 packagePaths, FeedModel feedModel, String tenantId, Int32 timeoutInSeconds, CancellationToken ct)
at UiPath.Studio.ProjectPackager.Publish.Services.ProjectPushService.Publish(BuildPackageResult package, IPublishSettings publishSettings, CancellationToken cancellationToken)
— End of inner exception stack trace —
at UiPath.Studio.ProjectPackager.Publish.Services.ProjectPushService.Publish(BuildPackageResult package, IPublishSettings publishSettings, CancellationToken cancellationToken)
at UiPath.Studio.ProjectPackager.Publish.Services.PublishService.<>c__DisplayClass51_0.<b__0>d.MoveNext(), HResult -2146233079