delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/29/09:41:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 29 Apr 2005 15:40:45 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Shutdown 1.7-1 problem when w2k screen is locked
Message-ID: <20050429134045.GD2572@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <B744015F9200AA49B4E03549EED88B98022F9EAC AT SCHMLVEM01 DOT e2k DOT ad DOT ge DOT com>
Mime-Version: 1.0
In-Reply-To: <B744015F9200AA49B4E03549EED88B98022F9EAC@SCHMLVEM01.e2k.ad.ge.com>
User-Agent: Mutt/1.4.2i

On Apr 29 09:27, Wheeler, Frederick W (Research) wrote:
> 
> I have found that when I "Lock Computer" in Windows 2000 just after running "shutdown --exitex 10" then the computer does not shut down.  Nothing happens.  The command just exits.
> 
> When the computer is not locked, "shutdown --exitex 10" does a complete shutdown and power off.
> 
> If I lock the computer right after running "shutdown 10" (no --exitex) then the computer does shutdown, but does not power off.  I get the "It is now safe to turn off your computer" screen.  I get the same behavior from "shutdown 10" even if the computer is not locked.

If the Workstation is locked, you must add the -f (or --force) flag to
force the system to shut down.  At least that's documented for XP.  If
it doesn't work for 2K, I don't know how to workaround it.  There's no
such thing as an UnlockWorkstation function, AFAICS.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019