nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Automatically reboot my Windows 2003 Server

This is a discussion on Automatically reboot my Windows 2003 Server within the Windows Xp/2000/2003 server administration forums, part of the The Lounge category; Hai, Under Linux I can reboot my server automatically using cron or at command. But i am not able to ...


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-21-2006, 04:41 PM
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
Default Automatically reboot my Windows 2003 Server

Hai,

Under Linux I can reboot my server automatically using cron or at command. But i am not able to use same stuff under Windows 2003 server.

My question is how do i Automatically reboot my Windows 2003 Server?

Any idea or hint would be a help for me

thanks in advnace.

--JO
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-21-2006, 04:47 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 557
Rep Power: 6
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

Use PsShutdown tool / utility from sysinternals, see my tutorial for more info:
http://www.cyberciti.biz/nixcraft/vi...-reboot-or.php
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
  #3 (permalink)  
Old 06-26-2006, 10:01 AM
Junior Member
User
 
Join Date: Jun 2006
Location: New Zealand
Posts: 21
Rep Power: 0
Beresford
Default

Have a look at the "shutdown.exe" command. Also does reboots, etc.
Reply With Quote
  #4 (permalink)  
Old 06-26-2006, 06:42 PM
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
Default

tom thanks.

Beresford, i am not able to find out shutdown.exe any hint????
Reply With Quote
  #5 (permalink)  
Old 06-27-2006, 06:49 AM
Junior Member
User
 
Join Date: Jun 2006
Location: New Zealand
Posts: 21
Rep Power: 0
Beresford
Default

I normally just open up a command prompt and type: shutdown /?
It's in the system32 folder.
Windows 2000 has a similar tool: tsshutdn.exe
Reply With Quote
  #6 (permalink)  
Old 06-27-2006, 07:35 AM
Member
User
 
Join Date: Jun 2005
Posts: 78
Rep Power: 0
jerry
Default

Err .. i was looking at wrong place.

thanks
Reply With Quote
  #7 (permalink)  
Old 10-07-2006, 12:38 AM
Member
User
 
Join Date: Jul 2006
Posts: 72
Rep Power: 0
kasimani
Send a message via Yahoo to kasimani
Default Great Idea for easy task

just create a batch file and put the following command

Shutdown -r -f -t 0 (This is for local computer)

for network computer

Shutdown -r -f -t 0 -m \\<ipaddress>

-r = restart
-s = shutdown
-f = forcily
-t = time in seconds
-m = remote computer
Reply With Quote
  #8 (permalink)  
Old 10-10-2006, 02:23 AM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
My distro: Suse, RHEL, Vista
Posts: 151
Rep Power: 4
sweta will become famous soon enough
Default

I think this only works under Windows XP / 2000 / 2003 server. It will not work under old version of windows like win95
__________________
Friends - v-nessa - missyAdmin
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
Track last reboot / shutdown time on linux server sweta Linux software 1 07-16-2007 06:20 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 05:07 AM.


Powered by vBulletin® Version 3.7.2 - 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