I was looking for some solutions that would best fit for this type of request but I need help from you MS pros what would be the best way to do it.
Scenario: We have couple of terminal servers (RDS licensed) that bunch of users use for their operational / day-to-day work. As it is well known, plenty of users forget or simply don't think about signing out from those RDP sessions at the end of their work. The result here is their sessions staying idle in Task Manager, eating up a lot of memory which slows down the machines.
My first thought was to set up a policy in computer management that will terminate those sessions every 24hrs but, here comes the question how to customize the solution and go for a different approach. Because couple of users should not be disturbed by this policy and I would like to make an exception for them (as they need their sessions to stay intact).
What would be the better option here? To come up with a script that will terminate users but with exception of already stated usernames? All of those users (those whose sessions should be terminated and those which shouldn't) are members of the same OU in AD.
Thanks a lot for your assistance and keep it up!