How can I make take screenshot activity run in background when screen is locked?

Hello experts !
Is there any way so that I can use take screenshot activity run when screen is locked ??

No, there is literally no screen to take a screenshot of. The graphics driver stops rendering it when the screen is locked.

RDP sessions do the same when you minimize the screen, it stops rendering.

Hi @Prabin_Chand

You need Unattended License to run the process in the background

If you have a unattended license you can able to take screenshot in the locked screen.

You need to check the following after the installation in your unattended machine

Regards
Sudharsan

You risk mixing terms.
A background process does not need an unattended licence. A background process simply runs in the background and doesn’t need to log into an account. This can also be ran attended.
Background processes cannot open or interact with applications like Excel or Chrome as they have no screen but can make API requests or do operations on the local disk (writing or moving files etc).

A locked screen still cannot have a screenshot regardless. If your bot is running unattended it does not have a locked screen. The robot unlocks the session and starts using it. If you interfere and lock the screen it will break.

Means in the locked screen with the hi interaction activities and yeah ofc Backround process can run

Though thank you for correcting me!! :smile:

Regards
Sudharsan

You can’t. Jobs won’t run right when the screen is locked, because of how Windows works. You shouldn’t be locking the screen. Is this for unattended automations? You shouldn’t be logging into the server that’s running unattended automations. You need to SIGN OUT completely, not just close the RDP window.

A locked screen is not the same.
Background processes refer to this toggle.
I’d avoid confusing users by conflating running on a locked screen with a background process. Its quite different.

image

Okay so enabling this we can run ui interaction activities too ? @Jon_Smith

No. Background automations cannot interact with the UI.

If you enable this you cannot use Ui interaction activities, because it runs in the background. Without a desktop, without logging in. If you add them anyway and debug in studio they will work since you do have a desktop, but if you run unattended or schedule them attended whilst your machine is locked they will fail.

Without Ui interaction they can run without logging on.

Asking about the screen being locked as the OP did is a different issue.

Okay thanks for clarifying @postwick @Jon_Smith