ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] Auto Reboot of Win98 and ECS 4.2.xx
Bill Walters
Fri, 14 Jan 2000 12:45:19 -0600

Ahhh, ya gotta love the web!

Found my own answer at www.deja.com; searched for reboot Windows 98 and
found:

http://support.microsoft.com/support/kb/articles/q234/2/16.asp

use the following in an item, set to Execute/NW

rundll32.exe shell32.dll,SHExitWindowsEx n

where n =
0 - LOGOGG
1 - SHUTDOWN
2 - REBOOT
4 - FORCE
8 - POWEROFF

above items can be combined into one value to achieve different results.
For example, to restart Windows forcefully, without querying any running
programs, use the following command line:

rundll32.exe shell32.dll,SHExitWindowsEx 6


The KB article has full details........

Now why didn't we all know all of this, right off the top of our
heads??...........Riiiiiggggghhhhhttttt!

Bill

----- Original Message -----
From: Bill Walters <wtwalters@home.com>
To: <ecs-list@netbloc.com>
Sent: Friday, January 14, 2000 12:32 PM
Subject: Re: [ECS] Auto Reboot of Win98 and ECS 4.2.xx


> David,
>
> Well, that certainly shuts down windows; any chance of finding some way to
> just make it reboot?
>
> I looked in C:\windows\system\user.exe and searched...  I did find the key
> "ExitWindows" but nothing that looked promising to Restart (such as
> RstrtWindows or anything close)...
>
>
>
> Bill
>
> ----- Original Message -----
> From: David Kindred <david_kindred@iname.com>
> To: <ecs-list@netbloc.com>
> Sent: Friday, January 14, 2000 11:49 AM
> Subject: RE: [ECS] Auto Reboot of Win98 and ECS 4.2.xx
>
>
> > Okay, if you make it:
> >
> > c:\windows\rundll32 user.exe,ExitWindows
> >
> > and set it to Execute/NW, you're in business. Sorry about the last
couple
> of
> > notes. My only excuse is that I'm stupid.  :-)
> >
> > --David
> >
> > -----Original Message-----
> > From: David Kindred [mailto:david_kindred@iname.com]
> > Sent: Friday, January 14, 2000 12:41 PM
> > To: ecs-list@netbloc.com
> > Subject: RE: [ECS] Auto Reboot of Win98 and ECS 4.2.xx
> >
> >
> > No, wait, that didn't seem to work from within ECS. Worked fine from the
> > command line. I've got to figure this one out. Rats.
> >
> > --David
> >
> > -----Original Message-----
> > From: David Kindred [mailto:david_kindred@iname.com]
> > Sent: Friday, January 14, 2000 12:32 PM
> > To: ecs-list@netbloc.com
> > Subject: RE: [ECS] Auto Reboot of Win98 and ECS 4.2.xx
> >
> >
> > I looked on Dejanews and found the answer, I think. If you make a text
> item
> > with the following in it, it should reboot the system if you set it to
> > execute:
> >
> > rundll user.exe,ExitWindows
> >
> > --David
> >
> > -----Original Message-----
> > From: Bill Walters [mailto:wtwalters@home.com]
> > Sent: Friday, January 14, 2000 12:05 PM
> > To: ecs-list@netbloc.com
> > Subject: Re: [ECS] Auto Reboot of Win98 and ECS 4.2.xx
> >
> >
> > I did find a refernce to using RUNDLL but it didn't work for me.  Used a
> > search engine and forget where it referenced me to (think it was PC-MAG
> > archives or ZDTV archives?)
> >
> > Bill
> >
> > ----- Original Message -----
> > From: David Kindred <david_kindred@iname.com>
> > To: <ecs-list@netbloc.com>
> > Sent: Thursday, January 13, 2000 10:33 PM
> > Subject: RE: [ECS] Auto Reboot of Win98 and ECS 4.2.xx
> >
> >
> > > Bill,
> > >
> > > I don't have the note any longer, but about 1.5 to 2 years ago,
someone
> on
> > > the HomeVision list had a way of rebooting the machine by shelling out
> to
> > > RUNDLL. Maybe someone has the notes going back that far?
> > >
> > > --David
> > >
> > > -----Original Message-----
> > > From: Bill Walters [mailto:wtwalters@home.com]
> > > Sent: Thursday, January 13, 2000 10:54 PM
> > > To: ecs-list@netbloc.com
> > > Subject: Re: [ECS] Auto Reboot of Win98 and ECS 4.2.xx
> > >
> > >
> > > Don,
> > >
> > > Yea, I've got Ace-WS but it won't successfully close out ECS and
reboot
> my
> > > system.
> > >
> > > Maybe I should be asking Mark how we should do this??
> > >
> > > Bill
> > >
> > > ----- Original Message -----
> > > From: Don Stephens <donstephens@101freeway.com>
> > > To: <ecs-list@netbloc.com>
> > > Sent: Thursday, January 13, 2000 7:47 PM
> > > Subject: Re: [ECS] Auto Reboot of Win98 and ECS 4.2.xx
> > >
> > >
> > > > Hey Capt!
> > > >
> > > > try this URL
> > > >
> > > > http://www.infinet.com/~dhoehnen/software/ace.htm
> > > >
> > > > There should be a program called ACE-WS. It sometimes works for me.
> > > >
> > > > Don
> > > > ----- Original Message -----
> > > > From: "Bill Walters" <wtwalters@home.com>
> > > > To: <ecs-list@netbloc.com>
> > > > Sent: Thursday, January 13, 2000 5:35 PM
> > > > Subject: [ECS] Auto Reboot of Win98 and ECS 4.2.xx
> > > >
> > > >
> > > > > Anyone found a way to automatically reboot your ECS 4.2.xx / Win98
> > > system
> > > > > without errors?
> > > > >
> > > > > Bill Walters
> > > > >
> > > > >
> > > >
> > >
> >
>


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.