System log off issue

I have explained my system setup below.

Local system → RDP server(Virtual Machine)

In Virtual machine i do have a unattended job which executes automatically for every hour.

However in the interime time the local system is logged off and due to that the unattended job in the rdp session getting faulted (error due to click activity).

Is there any way to avoid the sleep activity in my local machine.

Hi @Manikandasamy ,

To prevent the screen from turning off automatically, use these steps:

  1. Open Settings on Windows 10 .
  2. Click on System.
  3. Click on Power & Sleep.
  4. Under the “Power & sleep” section, use the “On battery, turn off after” drop-down menu and select the Never option.

And please make sure you checked the simulated click for every clicking activity.
Hope that helps!