I have some RemoteApps published via Remote Desktop Services and in one of these apps the user can open PDF files which basically launches Acrobat Reader and displaying the PDF.
The problem I'm facing is that when the user close the Acrobat Reader application (by clicking the [X] icon on the upper right corner of Acrobat Reader) the process isn't killed (I've managed to get it to shut down after 1 minute using GPO's) and this becomes a problem if the user opens the same PDF-file again, because the published RemoteApp application will create a pop-up informing the user that this file is already opened (but it's no longer visible for the user).
So my question is if it's possible to force Remote Desktop Services to actually & immediately shut down an application when it's closed instead of disconnecting it?
I've already played around with the "Session Time Limits" GPO's but the closest I can get is that the application is "disconnected" for 1 minute before it's logged off (and thus the process is killed) but I want it to be killed pretty much directly after the user press the [X].