Link to home
Start Free TrialLog in
Avatar of bryanatm
bryanatm

asked on

XWin.exe causing dialog box upon logoff

Hi,

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.

Best regards,
Bryan

gpedit.msc -> Windows -> Scripts -> Logoff -> and I used logoff.bat which contains:
pskill -t XWin.exe
ASKER CERTIFIED SOLUTION
Avatar of Bembi
Bembi
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bryanatm
bryanatm

ASKER

Hi,

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.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks I will give it a look.
My boss tells me of a setting "Force Terminate All Apps At Logoff" or something like that.  Do you know that one?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial