Logging off NT while a bash window is open

John Pollock jpollock@curl.com
Fri Dec 22 09:31:00 GMT 2000


At 12:10 PM 12/22/2000, Weiqi Gao wrote:
>Hi,
>
>I have noticed that my bash window (a CMD.EXE window
>running bash) sometimes won't close when I log off my
>NT 4.0 SP6 workstation, causing a dialog to show up
>for me to do a hard kill on the process.

FWIW, there's a registry key of use here:

HKEY_USERS\.Default\Control Panel\Desktop\AutoEndTasks

if this value is set to "1", then processes get hard killed during a logoff.
In other words, the "Wait, End Task, Cancel" box should never show up once
this value is set.

If you want this to work for an existing user, change
HKEY_CURRENT_USER\Control Panel\etc etc instead of HKEY_USERS\Control
Panel\etc etc

Cheers,
John


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list