nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Windows Xp/2000/2003 server administration Discuss all about the Microsoft Windows operating systems. You are free to talk about any issues related to Windows administration, networking, services, and other stuff, ask your questions, or share your tips with community.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-06-2008, 04:24 PM
Junior Member
User
 
Join Date: Jun 2008
OS: Redhat
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #2 (permalink)  
Old 15-07-2008, 11:38 AM
Junior Member
User
 
Join Date: Jul 2008
OS: mandriva
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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 15-07-2008, 04:15 PM
Junior Member
User
 
Join Date: Jun 2008
OS: Redhat
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
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 15-07-2008, 04:25 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,709
Thanks: 11
Thanked 244 Times in 183 Posts
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 Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #5 (permalink)  
Old 15-07-2008, 04:38 PM
Junior Member
User
 
Join Date: Jul 2008
OS: mandriva
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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 15-07-2008, 05:28 PM
Junior Member
User
 
Join Date: Jun 2008
OS: Redhat
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
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


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 Off


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 3 05-08-2009 11:46 PM
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 15-09-2006 02:19 AM
dual boot windows 2003 server and linux goku Windows Xp/2000/2003 server administration 2 17-07-2006 07:05 PM
All Remote Desktop sessions are taken under windows 2003 jerry Windows Xp/2000/2003 server administration 3 11-04-2006 02:50 PM


All times are GMT +5.5. The time now is 12:17 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

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 37 38