I want my sessions to terminate when Remote Desktop disconnects.
Right now I'm doing this manually ala:
Where I'm selecting
End session as the option to
When a session limit is reached or connection is broken:.
I'd like to do this with a script, and I want to know what the registry key is that I can set to make this the default behavior.