Desktop robots on Windows
Run robots that drive desktop applications in a signed-in Windows session, and watch them work.
Audience: builders and IT
Task Engine is in private preview. To get access, contact us (opens in a new tab).
How a desktop run works
A robot that clicks through a desktop application needs a real, signed-in desktop. With Signed-in desktop on its step, a Windows worker signs in to a desktop session over Remote Desktop, runs the robot there, and signs out when it ends. It is the same as Control Room's Use Desktop Connection.
Signed-in desktop is the default for every task package step. Turn it off with No desktop for robots that don't need one: they then run in the background, with no Remote Desktop session or license. macOS and Linux workers always run robots in the background.
Desktop settings on a step
| Setting | What it does | Default |
|---|---|---|
| Desktop | Signed-in desktop, Signed-in desktop, recorded, or No desktop | Signed-in desktop |
| Sign-in time limit | How long the worker waits to sign in to the desktop before the run fails: 10 to 1,800 seconds, or no limit | 180 seconds |
| Stay signed in | Keeps the desktop session signed in after each run instead of signing out. Needs Workforce Agent Core 6.23 or later. | Off |
Ask the assistant to change these, for example "Give the ERP step five minutes to sign in to the desktop."
Record the screen
With Signed-in desktop, recorded, the worker streams its desktop while the robot runs. Watch it live, or later, on the Recording tab of the robot run page. A worker records only when its own configuration allows it, so a worker can decline.
Set up the Windows machine
A desktop worker is a Windows machine set up for unattended sign-in:
- Use a separate Windows user for each worker. The worker signs in as that user, and no person should use it while robots run.
- Let the user sign in over Remote Desktop, and keep the screen resolution and scaling the robot was built for.
- Install the applications the robot drives for that user, and sign in to them once by hand if they ask for first-run setup.
Setup Utility sets up the worker and the sign-in for you. The Robocorp documentation covers the details, which are the same on Sema4.ai: Setup for Windows desktop automation (opens in a new tab), and the common errors (opens in a new tab) people meet, such as missing sign-in rights.
One robot at a time per worker. A worker runs one robot at a time, with or without a desktop. To run desktop robots in parallel, connect more Windows workers and put them in a worker group.
When sign-in fails
If the worker can't sign in to the desktop within the sign-in time limit, the run fails before the robot starts.
Check the run's Timeline and console.txt on the robot run page, then check that:
- the worker's Windows user can sign in over Remote Desktop,
- no one else is signed in as that user,
- and the machine isn't waiting at a screen that needs a person, such as a password change.
See Fix common problems.