How to automatically shutdown personal desktop with no active session

Copper Contributor

How to automatically shutdown personal desktop with no active session after hours ?? Pls help

3 Replies

@Harsh1730  you need to configure the following scheduled 

  • Set auto startup schedules

  • Set auto shutdown schedules

  • Automatically disconnect when a machine is idle for X minutes

  • Shut down X minutes after a user disconnects

  • Shut down X minutes if a user does not connect

You can find details on how to configure 

Thanks. I already have VM start on connect, configured gpo to log off disconnected session after two hours. just need script or something similar to deallocate vm after hours when no user session is connected