?
Solved

How do you time a 2000 server to reboot.

Posted on 2003-10-30
6
Medium Priority
?
159 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 375 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Whoever said that “a picture is worth one thousand words” observed a fact that can dramatically affect your marketing success. Most people tend to learn visually, so many publishers commonly acknowledge the effectiveness of visual learning by using…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

719 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