I have written a script to close a program gracefully when a users logs off of my terminal server so that it doe not generate errors in its database. I have set the system to execute this script during logoff. The problem is that the logoff sequence actually closes the program before my script has a chance to run.
I need a way to run a logout script that is triggered by a logoff event but runs before the logoff proccess continues. With some reseach I found this microsoft link which references a gpo option to "Run logoff scripts synchronously"
If anyone has found microsofts missing GPO let me know. (good job MS ;))
I am really stuck an appeciate any Ideas people have.