In this particular case, it turns out the ability has been there for quite a
while as an add-on to distributions  - but not immediately obvious, and,
most annoyingly, not accessible via the "Click START to shut down" choices.

Here are your choices for *forcing* shutdown:

(1) Win98/Me:

RUNDLL32 SHELL32.DLL,SHExitWindowsEx 6

will force an immediate reboot without prompt


(2) Daytona-class OS's (NT/2000 - XP has it built in FINALLY) - get any
command-line shutdown.  This is a key part of an admin's toolkit - my
philosophy for the last few years has been that I will bring my own
"special" tools to Windows and not expect Microsoft to implement functions I
want in what they designed as a local small-office server...



(3) If you have Kixtart (if not, you should) you can use
$RC = SHUTDOWN( "\\server", "", 0, 1, 1 )
It is free from
http://www.kixtart.org/

For some general shutdown tricks, I suggest visiting
http://www.robvanderwoude.com/shutdown.html

He has impeccable sources - he even quotes me on the shutdown methods... ;)

I'm taking a look at a method Rob mentions using the setupapi from the
command line; as I recall, although he does not document it, there are a
couple of codes you can issue as arguments to rundll32 setupapi which might
be usable to do a direct command-line forced reboot.


----- Original Message -----
From: "Mike Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, 2002-03-25 14:51
Subject: Re: TightVNC 1.2.3 released


> On Mon, 25 Mar 2002 [EMAIL PROTECTED] wrote:
>
> > Does tight VNC shut down before everything else like standard VNC? For
> > those of you who don't know when you reboot a server with vnc, the vnc
> > service is the first to die, and if something else hangs , you will
> > never know it.
> >
> > This is ok if the server is down the hall, but when it is across town or
> > the country it really sucks.
>
>
> Is there no way to force windows to reboot, automatically ignoring all
> hanging programs?  It would answer all "end task?" questions for the user
> with a 'yes.'  That would be ideal.  I guess it doesn't exist.  Microsoft
> isn't exactly a good listener, so I won't bother to recommend it!
>
> Mike
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to