How to log off RDP Sessions that are Disconnected - Windows 7
So the issue I have is that some Users will close the RDP window and not actually click Log Off on the Machine that they are remotely connected to. This will disconnect their session however it will keep their account running on the machine. So if do a Ctrl+Alt+Delete I can see their username under Users and it will say Disconnected but I need them to logoff.
The reason being is that I need users to go through a Log Off script that is set on the machine.
Is there anyway to have an account logoff the machine automatically when the user closes the RDP window and doesent actually click on Log Off ?