Discussion Locked

Shutdown script

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am running a home network with 1 ME machine and 2 98SE machines. I am using NetOP remote software on the ME machine and would like to transfer a script to host machines to shut them down at a specific time at night. I need specific instructions and/or information to accomplish this.

4 replies

by fenaikh

Hi
you need to create a batch file then set task scheduler to run it in the 2 machine no need to run it from remote. i used it it is graete to shut down my computer when i leave it runing some times.
pls read this by MS.
good luck

MohamedHow to Exit Windows 98/Me Automatically Using a Batch File

http://support.microsoft.com/support/kb/articles/Q234/2/16.ASP

by fenaikh

Hi
this is a replay to your e-mail msg i put it here so other may benifit from it.

How to do it:
1- use notepad to create say a batch file called shtdn.bat which it has this then put it in say the c:\ (make sure when you save it that it has the name "shtdn.bat" only no quates or other extsion such as txt.

echo off
rem shtdn.bat which shutdown windows.
rundll32.exe shell32.dll,SHExitWindowsEx 1

2- create a task to run by task scheduler.
How:

You will find the the task scheduler in the task bard the last line of your screen which
is a rectabguler with a red and wite colock on it.click it then click add schedule task.then click next then click browse.then locate the file shtdn.bat. then click open then mark daily then click next. then set the start time and frequent evey day then the start date.then click next. if you want advance setting the mark it then click finish.

i hope this will help you

good luck

Mohamed

by kmerrillt

This is the line I was looking for. Thanks for the help Mohamed. Sometimes simply viewing MS site doesn't help completely.

This discussion is closed to new replies.