Discussion Locked

External Shutdown/Suspend

0 helpful
12 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We have a number of customers who use mobile Windows 95/98 client computers in their vehicles. Does Windows support an external shudown or suspend signal. The computers are running the vehicle battery dead when left on. Thanks.
Alex Sublette.

12 replies

by dcassat

By Mobile do you mean desktops or laptops running in vehicles? And by external command, what do you want? I assume you have setup the power mgmt functions of the computers? With a little more info. someone will know the answer!

by tech

Additional Information;
The computers are both Toshiba laptops and Motorola MW520 mobile computers. I'm looking for an equivalent to pressing the power off button and no confirmation required. I want to be able to provide a signal to the computer from a timer output that will shutdown the computer without violating the os shutdown requirements. Does that help clarify?

by achecito

HI Tech
What you could do is custimize it by pressing the power button and the PC will Hibernate. Do this you have to enable Hibernation. After enabled do this from Control Panel --> Power Management --> Advance Tab --> Power Buttons: When I pressthe power button on my computer --> Select from drop down menu Hibernate then Apply and OK. You don't get confirmation but the only trick to it is: you need enough space on the HD to save all application state when shutting down. When a user resumesfrom Hibernation all applications that they were running come back on. Also you can customize the power of the PC by creating a custom power state and define after how many minutes the computer should power down to save energy. Let me know if this help. Thanks

by tech

Your answer was somewhat helpful but check my updated comments for more info. Thanks.

by tech

More comments;
The users do not want to have to remember to shut down the computer by pressing any buttons. I am looking for an automatic solution. Can the computer Hibernate based on a timer? One of the applications draws about 4 amps active and 1amp in suspend. I need to shut the unit all the way off. If I can get the computer to shut down, I can have the main 12V disconnected by an external timer.

by fenaikh

hi
you have to use the task manager to run this
command to shutdown downdows first.
Rundll32 user,ExitWindows
The Rundll32.exe will execute the function ExitWindows from the library User.exe. When task manager execute this command, Windows will shut down.

hint
windows macro softwar to execute many command such as pressing The Alt-F4 to close many application then execute the above command.
Nedd more help pls send msg to:
fenaikh@hotmail.com

by fenaikh

hi tech
my sloution should work to shutdown windows
autmatically by doing these steps:

I) Create a batch file say shutdwn.bat which
has this command only on it
C:\WINDOWS\RUNDLL32.EXE USER.EXE,EXITWINDOWS

NOTE:
HAT YOU SHOULD REPLACE THE C:\WINDOWS
WITH YOUR DIRECOTY WHERE RUNDLL32.EXE SHOULD BE.

II) Run Task Schedule:
To run Task Schedule do one of these ways:

1)Locate And Run this C:\WINDOWS\MSTASK.EXE

NOTE:
HAT YOU SHOULD REPLACE THE C:\WINDOWS
WITH YOUR DIRECOTY WHERE MSTASK.EXE SHOULD BE.

2) Locate Task Schedule icon on the WINDOWSTASK BAR
THEN CLICK IT.
And
3) Locate Task Schedule icon on My Computer
THEN CLICK IT.
after you run Task Schedule click the ADD SCHEDULED TASK
ICON then you seethe SCHEDULED TASK wizard.Folow the instruction.

ver important note for power managment:
Use the advance option for power mangent operation
of SCHEDULED TASK.

need more help or a quistion pls send msg to
fenaikh@hotmail.com

by fenaikh

It work for me Iam using to shutdown my computer while Iam not there it should work for you please try it.
Seondly Task Schedule comes with win98 but not win95.
I meant by power managment that you can configure it to run Task Schedule even in situation where the computer is suspended ..ect.for the timer switch there available many and i belaeve that you have information for that.
I hope this is the solution. if not then please give more detail to what you want

This discussion is closed to new replies.