|
-
Nov 14th, 2005, 05:38 AM
#1
Thread Starter
Hyperactive Member
Auto reboot windows sever 2003 [resolved]
Hi I have a server on a domain, which runs a crummy application. Basically becuse of this application we have to maually reboot the server every night, and then log on again.
Is it possible to automate this, as the application we run isn't a service the server not only has to reboot itself but also automatically log itself on.
Is this possible?
Last edited by Oliver1; Nov 24th, 2005 at 09:32 AM.
-
Nov 14th, 2005, 06:08 AM
#2
Re: Auto reboot windows sever 2003
You can have the server autologon by following the instructions here.
As for the auto restart, you can set up a scheduled task to run at midnight every day which executes the following command:
"%windir%\System32\shutdown.exe -f -t 00"
Your third option could of course be to get rid of the "crummy" application and replace it with a better one
Last edited by visualAd; Nov 14th, 2005 at 06:18 AM.
-
Nov 14th, 2005, 11:46 AM
#3
Re: Auto reboot windows sever 2003
I've found that a scheduled restart doesn't work on the local machine, instead you can schedule it on another server and use shutdown's -m \\MachineName parameter to restart a remote machine.
TPM
Add yourself to the VBForums Frappr Map!!
-
Nov 14th, 2005, 12:35 PM
#4
Thread Starter
Hyperactive Member
Re: Auto reboot windows sever 2003
Cool looks good, is hometime now but will give it a go tommorow.
-
Nov 24th, 2005, 09:32 AM
#5
Thread Starter
Hyperactive Member
Re: Auto reboot windows sever 2003
Thanks finnaly got around to this and it works a treat.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|