We recently stood up some servers to host GIS software. The GIS software from ESRI requires a license to run so we have about 60 licenses for potentially 400 users. Many are part time users of the GIS software and the RDS environment. Every week about 6 to 10 users disconnect from the RDS servers without closing their GIS software. They intuitively think that clicking on an X meets closing a program so we're having a hard time reconditioning all the users to sign out the proper way.
Is there anyway to capture a disconnect from Terminal Service so that we could force sign them off? Or prompt the user before the session disconnects?