We help IT Professionals succeed at work.

XWin.exe causing dialog box upon logoff

417 Views
Last Modified: 2013-12-05
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
Comment
Watch Question

CEO
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
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.
BembiCEO
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks I will give it a look.

Author

Commented:
My boss tells me of a setting "Force Terminate All Apps At Logoff" or something like that.  Do you know that one?
BembiCEO
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.