Solved

How do you time a 2000 server to reboot.

Posted on 2003-10-30
6
146 Views
Last Modified: 2010-04-14
How do you get a 2000 server to reboot all on its own.

Once a week will do!

thanks

andy
0
Comment
Question by:novender
6 Comments
 
LVL 9

Expert Comment

by:svenkarlsen
ID: 9654351
You could use the shutdown.exe from the Microsoft Windows 2000 Resource Kit:

http://support.microsoft.com/default.aspx?scid=kb;en-us;317371

You will need to buy the tool-set though, as the shutdown.exe is not among the free samples for download.


Or, if you are into scripting:

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/scrguide/sas_cpm_jleo.asp



0
 

Accepted Solution

by:
bjessup earned 125 total points
ID: 9655808
From svenkarlsen's link, you can browse to this page: http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/scrguide/sas_cpm_jleo.asp which has a script sample that will restart your computer.  You can copy that text into notepad, and save it as something.vbs .  Then using the AT command, you can schedule the task as often as you'd like.  What follows in brackets is an example of how to use the AT command: [AT 1:37 /every:F "c:\winnt\system32\cscript.exe"  "c:\reboot.vbs"]  This will set the script to run every Friday at 1:37AM.  Note that you can't execute the script directly, you have to use the "cscript.exe" program (the Windows Script Host) to run the script.
0
 
LVL 15

Expert Comment

by:Rob Stone
ID: 9656207
Or you can use psshutdown from www.sysinternals.com (pstools) and schedule the shutdown with task schedular.
0
 
LVL 2

Expert Comment

by:Bigjohn-s
ID: 9657343
Really depends on what you're trying to accomplish.  Do you need to re-boot the hardware, or just restart services.  You can write a simple batch file and schedule it with the AT scheduler... something with 2 lines - net stop server /y ; net start server /y
0
 
LVL 15

Expert Comment

by:Rob Stone
ID: 9856843
Split the points 25% each?
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
What is Backup? Backup software creates one or more copies of the data on your digital devices in case your original data is lost or damaged. Different backup solutions protect different kinds of data and different combinations of devices. For e…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now