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.