We have a multi user environment with Cygwin / X installed. When the users log off, they receive an error message which says XWin.exe can't be terminated. There is an "End Now" button and a "Cancel" button.
How can I make Windows stop trying to kill XWin? I have written a logoff.bat script with "pskill XWin.exe" and it works just fine. The issue is that Windows still tries to kill the process before my logoff.bat runs.
gpedit.msc -> Windows -> Scripts -> Logoff -> and I used logoff.bat which contains:
pskill -t XWin.exe
I looked for those registry settings but we don't have them. The computers have Windows XP Service Pack 2.
Thanks for helping though.
One thing I noticed is, some of the computers exhibit the problem (terminate app) and some don't. Is there a way I can see the difference of the two computers? I think I need to look in the "gpedit.msc" area but I don't know how to see the difference.
I will also ask a coworker if he knows any difference in the "gpedit.msc" area.