Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "John Pollock" To: Subject: Re: Logging off NT while a bash window is open Date: Fri, 22 Dec 2000 12:31:21 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 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