RPA Windows Auto-Lock

We have 2 types of RPA Bots in our implementation:

  1. On Demand Bots (Scheduled through RPA Service)
  2. Always running Bots (Will use Robot Manager Connectivity with our RPA Service).

While these Bot Machines are executing Activities, we do not want the Window Machine to get locked when there are no activities. Is there any way to accomplish this using any inbuilt functionality with in Pega Robotics platform? Request you to provide us support on this to let us know the possible different ways to get this done.

@AmolS398 There’s not really a stock way of doing this, however I have used a script before. Here’s an example solution with some C# that was copied from the article below.

.net - Prevent screen from sleeping with C# - Stack Overflow

PreventBotSleep.zip (14.5 KB)