141 votesStephan Human commented
We manage this for 500 VMs, used in demo / test cases, and we need a standard way to enforce this, not just in devtest labs, but elsewhere as well.Stephan Human commented
We are doing this today using a GPO on all our demo and training machines. It basically uses the logoff at idle policy. We then have another scheduled task that runs every 10 min, that runs and checks if there are any sessions open. If it finds zero, it will issue a shutdown with deallocate. We actually call out to an external service to do this for us. If it is not shutdown, the machine kicks in its own shutdown, but then it is not deallocated. On an hourly basis, we run another script to find any machine that is stopped, but not deallocated, and then force to to deallocated.
Makes a lot of sense. Thanks!
Thanks for your suggestion! The feature is currently in our backlog, but has to be prioritized with other ones. So we don’t have an ETA at this point of time. Please don’t hesitate to vote for it if you want to see it’s done sooner.
Thanks for submitting the idea! It’s currently in our backlog and prioritized with all the other features, so we don’t have an ETA at this point of time. For people who want to see this supported sooner, please don’t hesitate to give it a vote.