Unattended Bot not running after machine locked

I have created an unattended bot and it runs properly when I trigger it when machine not logged off,but when machine is logged off the status shows successful but bot is not running…As I am new to this is any step I am missing?

If it has multiple machine connected to it, then process is dynamically allocated to another machine.

@siddhesh250193 - Is it Community Edition Or Enterprise edition?

Please check below link

Thanks for replying, Only one machine is connected

Have you tried changing it to Standard machine?
I can see its a Template.

Yes, Now I have added my machine as standard and Uipath assistant is also connected using machine key,but now i’m niot able to publish from UIpath studio as it is showing error of connection.

Snippet for standard machine
In below snippet I have added as Standard Machine