X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; q=dns; s=default; b=WPonES+ x1ur+HfMaNBpF6TK+oNQeTPGywBG5HonlGQkH1b4ms3cDeDchnQ25lkwWaDEFlMJ 7+kGmoTVD4M3KHKeltWxeDRWsbdAyf9H/6/R5EVP4DcVtXZpggBUbpo/wAypovck b3NUwG/iyhInWtrVKp5rnu748R+YGmEoIcfQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; s=default; bh=ay2YOjRSa8b/g s4sQpt9a09OJlc=; b=jIkJO6O59Nxu4LVjA/R064je0maY/bKH6TXscv6RuWn5S 89aP9OqaM8IFEmiyhliC94D6aTxhVXZMZcAhb0uFieT0VYfuobzHLfrRJk23tsqK 2mgxSkekLZ7RzCd64YcsunUYarsjcYYmNu4vMN4u4hXvaFB7JVRsSaKdcaVCCE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=profiles, Hx-languages-length:2175, relies, H*c:alternative X-HELO: mout.gmx.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mail.com; s=dbd5af2cbaf7; t=1551720383; bh=NBdz/M1aobxGfNnC1Pr+Pw46QSX5hIGAvlSWLPUF5M0=; h=X-UI-Sender-Class:References:In-Reply-To:From:Date:Subject:To; b=RSNp6Uoow0ZIrsvqDncm/zQOQBrFyBBBog1GypIMRPuo2XAgiIBlje94cRkY8shds KGsAKTOgJRwyzrAcDmhsI/FElpm8opfQC0NThXtFd4Dlkk+MoIWdXCOU0A6fsy03x/ efnEmgeP2L4R8N2CiJGB1dwpaVI74qAqIAbRhMlI= X-UI-Sender-Class: 214d933f-fd2f-45c7-a636-f5d79ae31a79 MIME-Version: 1.0 References: <20190305002849 DOT fdb1c8db14f8f83e5210553f AT nifty DOT ne DOT jp> <20190304155705 DOT GG3785 AT calimero DOT vinschen DOT de> <20190304160630 DOT GH3785 AT calimero DOT vinschen DOT de> <20190304163857 DOT GI3785 AT calimero DOT vinschen DOT de> In-Reply-To: <20190304163857.GI3785@calimero.vinschen.de> From: Bill Stewart Date: Mon, 4 Mar 2019 10:25:54 -0700 Message-ID: Subject: Re: cygwin snapshots after 23, Feb. ocasionally destroys windows logon session To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes On Mon, Mar 4, 2019 at 9:39 AM Corinna Vinschen wrote: > I reverted the entire patchset and uploaded new developer snapshots > to https://cygwin.com/snapshots/. > > Incidentally, Microsoft's OpenSSH port calls LoadUserProfile, but it > never calls UnloadUserProfile. I guess they know why. > > It seemed like a good idea at the time... I remember back in the XP days there was a tool named "UPHClean" ( https://support.microsoft.com/en-us/help/837115/). According to that article: "UPHClean monitors the computer while you log off, and then UPHClean unloads and reconciles user profiles..." Also in that article: "Windows Vista and Windows Server 2008 include the functionality of the automatic detection and fix tool (UPHClean)..." So if I had to guess: * The core Windows "User Profile Service" (profsvc) automatically handles profile unloading * The Microsoft port of OpenSSH relies on this functionality instead of calling UnloadUserProfile on its own I could be wrong, of course (as I said, this is just guesswork on my part). Bill -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple