Shutdown.exe

G

Guest

I tru to use shutdown.exe to restart a computer. IS it possible to schedule
it through task scheduler or through a batch file to restart at a specific
time on a specfic day. I had to uninstall a program that requires a reboot
and don't want to have to come in early to restart it manually. Also is
there anyway to have an email message sent to me once the server comes up or
any notificatiojn that I can confirm that the server has indeed rebooted.
 
A

Ada Pan [MSFT]

Hello George,

From the post log, I understand you have the following two questions:

1. How to use Task Scheduler to schedule the computer to shut down and
restart at a specific time.
2. How to alert users when a computer restarts

If this is not correct, please let me know.

For the first question, based on my knowledge, I recommend you try the
following steps to achieve your goal:

1. Click Start, and then click Control Panel.
2. Click Performance and Maintenance, and then click Scheduled Tasks.
3. Double-click Add Scheduled Task. The Scheduled Task Wizard starts.
4. Click Next.
5. Under Click the program you want Windows to run, click Browse.
6. In the Select Program to Schedule dialog box, locate the
%SystemRoot%\System32 folder, locate and click the Shutdown.exe file, and
then click Open.
7. Under Perform this task, specify a name for the task and how frequently
you want this task to run, and then click Next.
8. Under Select the time and day you want this task to start, specify a
start time and date for the task, and then click Next.
9. Type the user name and password to run this task under, and then click
Next.
10. Click to select the Open advanced properties for this task when I click
Finish check box, and then click Finish.
11. Click the Task tab.
12. In the Run box, specify any additional parameters that you want to use
with Shutdown.exe.

For example, if you want to shut down and restart the computer, you can
enter the following command in the Run text box:
c:\WINDOWS\system32\shutdown.exe /r

13. Click OK.

Hope this helps.

For more information, please refer to the following articles:

How To Schedule a Server Process in Windows 2000
http://support.microsoft.com/kb/300160/EN-US/

How To Use the Remote Shutdown Tool to Shut Down and Restart a Computer in
Windows 2000
http://support.microsoft.com/?id=317371

310424 HOW TO: Work with Scheduled Tasks on Remote Computers in Windows XP
http://support.microsoft.com/?id=310424

264604 Scheduled Backup Jobs May Not Run As Expected
http://support.microsoft.com/?id=264604


As to the other question, I am afraid that there is no such a built-in in
Windows 2000 to achieve this goal. Based on my knowledge, I believe that
you may utilize Event Log Monitor software to accomplish this task. With
such software, you may also monitor any error or warning events. Below are
some websites where you may download such Event Log Monitor software:

Event Log Monitor:
http://www.lyonware.co.uk/ELM-Log-Manager.htm

Ascella Log Monitor for Windows? NT4/2000/2003/XP
http://www.file-monitor.com/almlight.html

Disclaimer: This response contains some references to third party World
Wide Web sites. Microsoft is providing this information as a convenience to
you. Microsoft does not control these sites and has not tested any software
or information found on these sites; therefore, Microsoft cannot make any
representations regarding the quality, safety, or suitability of any
software or information found there. There are inherent dangers in the use
of any software found on the Internet, and Microsoft cautions you to make
sure that you completely understand the risk before retrieving any software
from the Internet.


Actually, Microsoft MOM 2005 has an internal monitoring feature that
monitors servers that are running the MOM 2005 agent. You can take a look
at the following URL for more information:

883342 How to use the Microsoft Operations Manager 2005 Management Pack
Wizard
http://support.microsoft.com/?id=883342


Create a script or program is anther solution I think. However, you may
have to write your own custom script or program. If you need help to create
the script or program, please post you questions in the MSDN newsgroups as
where is best suited to help you with the development issues. The issues
include custom coding/programming, scripting, design/implementation type of
issues would best be addressed in the MSDN newsgroups. I have provided the
link below to access MSDN newsgroups. By posting here, you may get some
pointers from others who may have had similar experience that they can
share with you.

http://msdn.microsoft.com/newsgroups/default.asp

Hope the information above is useful! :)

Regards,

Ada Pan

Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
G

Guest

How can I configure it to restrat an exchange 2003 server running on server
2003. In server 2003 you have that message box pop up about the type of
restart you are performing when I restrat the server.
 
V

Vincent Xu [MSFT]

Hi George,

Thanks for your reply.

This is Vincent who is Ada's backup since she is out of office today.

My understanding of your current concern is: You worry about if you have to
choose the shutdown popup diaglog box manulay if you shutdown the server
within shutdown.exe.

Please rest assured that you will not access the dialog box if you use
shutdown.exe. Please refer to Ada's steps to achive your purpose. It is a
detailed solution. :) If you still have any questions, please feel free to
let us know. We are glad to provide assistance.

Have a good day!


Best regards,

Vincent Xu
Microsoft Online Partner Support

======================================================
Get Secure! - www.microsoft.com/security
======================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others
may learn and benefit from this issue.
======================================================
This posting is provided "AS IS" with no warranties,and confers no rights.
======================================================



--------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top