We have a large number of Windows devices in the college for all the students. However, students often walk away from the device without logging out, either by just locking it or waiting for others to switch to their accounts. In both cases, their accounts remain logged in. When executing scripts meant for currently logged-in users, they end up applying to user accounts that haven’t logged out. This causes a lot of confusion for us and also may even lead to some issues with other accounts. Are there any scripts or another feature that can be deployed to ensure users are logged out?
Need to do it as a bulk action since there are lot of devices.