Forum Discussion
Harsh1730
Oct 18, 2021Copper Contributor
How to automatically shutdown personal desktop with no active session
How to automatically shutdown personal desktop with no active session after hours ?? Pls help
Harsh1730
Oct 18, 2021Copper Contributor
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
Chandrasekhar_Arya
Oct 18, 2021Iron Contributor
You can find scripts from this location https://github.com/tsrob50/WVD-Public and an explanation on how to use https://www.ciraltos.com/automatically-start-and-stop-wvd-vms-with-azure-automation/
hope that helps
hope that helps