nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

windows 2003 start and shutdown

This is a discussion on windows 2003 start and shutdown within the Windows Xp/2000/2003 server administration forums, part of the The Lounge category; I have one win2k3 server. I want daily morning 8.00 am it should switched on and it should shutdown at ...


Go Back   nixCraft Linux Forum > The Lounge > Windows Xp/2000/2003 server administration

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-26-2008, 04:24 PM
Junior Member
User
 
Join Date: Jun 2008
My distro: Redhat
Posts: 6
Rep Power: 0
saroj is on a distinguished road
Default windows 2003 start and shutdown

I have one win2k3 server. I want daily morning 8.00 am it should switched on and it should shutdown at night 10.pm automatically. is it possible ? Is there any script available ? or any built in function is there? . I searched many websites but found only reboot at particular time . My requirement is some what different.

Help please
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-15-2008, 11:38 AM
Junior Member
User
 
Join Date: Jul 2008
My distro: mandriva
Posts: 2
Rep Power: 0
symantech is on a distinguished road
Talking windows 2003 start and shutdown

first off get psshutdown from following like:

PsShutdown

then do the following.

Store file on Windows server in folder. I use folder called C:\admutils. Next open windows command prompt (Start > Run > cmd) and use windows at command to schedule reboot:
c:> at 2:00am c:\admutils\psshutdown.exe -r -f -c -t 10
Above command will reboot system at 2am. If you want to shutdown system:
c:> at 1:00am c:\admutils\psshutdown.exe -s -f -c -t 10
Where,
  • -s: Shutdown windows server
  • -r: Reboot windows server
  • -f: Forces all running application to exit
  • -c: Allow the shutdown to by cancel by user
  • -t: Specifies the countdown in seconds until the shutdown
there is documentation on the above site as well.
Reply With Quote
  #3 (permalink)  
Old 07-15-2008, 04:15 PM
Junior Member
User
 
Join Date: Jun 2008
My distro: Redhat
Posts: 6
Rep Power: 0
saroj is on a distinguished road
Default

Thank u for reply.

Using psshutdown we can shutdowm the server. For shutdown the system it is ok. Once I shutdown the system at 10 pm using psshutdown, I want that system should switch on next day morning 8 am.
Like psshutdown, is there any other utility for switching on the system automatically? or any other idea?
Reply With Quote
  #4 (permalink)  
Old 07-15-2008, 04:25 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Any distro with shell
Posts: 917
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

I'm not sure about software but you can use hardware feature such as IMPI or WOL (wake up on LAN) feature to start server again.

WOL is an Ethernet computer networking standard that allows a computer to be turned on or woken up remotely by a network message. Most modern server. Most modern motherboards with an embedded Ethernet controller support WoL without the need for an external cable.

Hope this helps.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #5 (permalink)  
Old 07-15-2008, 04:38 PM
Junior Member
User
 
Join Date: Jul 2008
My distro: mandriva
Posts: 2
Rep Power: 0
symantech is on a distinguished road
Talking

1. Buy a plug in timer. Plug it into wall socket. Plug computer into timer.

2. Set APIC=on in bios

3. In bios set ac back to full on. DO NOT set power up timer in bios.

4. use psshutdown to shutdown computer at 12:00

5. Set plug in timer to shutdown at 12:05 (after computer is shut down).

6. Set timer to turn on at 5:00.

The computer should shut itself down The timer will cut power to the computer after the computer is already shut down. At 5:00 the timer will turn on the power to the computer. The computer will think that there has been a power outage and (since it is set to AC back full on power) it will boot.
Reply With Quote
  #6 (permalink)  
Old 07-15-2008, 05:28 PM
Junior Member
User
 
Join Date: Jun 2008
My distro: Redhat
Posts: 6
Rep Power: 0
saroj is on a distinguished road
Default

Thank you symantech for giving such a wonderful , great (?) answer .

Keep it up.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
what's the Diff. in Windows 2003 and Windows 2000 server kasimani Windows Xp/2000/2003 server administration 2 08-14-2007 11:05 AM
Automatically reboot my Windows 2003 Server jerry Windows Xp/2000/2003 server administration 7 10-10-2006 02:23 AM
How Many Domain Users Connected to Windows 2003 kasimani Windows Xp/2000/2003 server administration 1 09-15-2006 02:19 AM
dual boot windows 2003 server and linux goku Windows Xp/2000/2003 server administration 2 07-17-2006 07:05 PM
All Remote Desktop sessions are taken under windows 2003 jerry Windows Xp/2000/2003 server administration 3 04-11-2006 02:50 PM


All times are GMT +5.5. The time now is 04:34 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36