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
Microsoft Server OSSoftwareActive Directory

Avatar of undefined
Last Comment
Bembi

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Bembi

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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
Bembi

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
bryanatm

ASKER
Thanks I will give it a look.
bryanatm

ASKER
My boss tells me of a setting "Force Terminate All Apps At Logoff" or something like that.  Do you know that one?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
SOLUTION
Bembi

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.