Question Locked

Reboot of Windows 2003 servers after patching

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I don't know if many have this problem as well, but we run into it every month after installing our windows patches. We manage an environment with over 200 windows 2003 SP2 servers, and we have the following challenges when rebooting. Certain servers need to be rebooted in a certain order, some can't be reboot, others need to be up before conitnuing with the reboots.

We tried to use a batch file with psshutdown but going through the list every month is tedious and for some reason psshutdown sometimes doesn't reboot some servers because either the server was rebuilt and psshutdown is no longer there or it just doesn't work don't know why. We also tried shutdown but the timing on it only goes up as far as 600 seconds and we go way beyond.

Could anyone suggest any other way to do it?

4 replies

by wizard-09

You can set anything on the shutdown command it's shutdown -t 20000000000 t switch being the time in seconds to shutdown the PC or server, you can turn off updates on the machine and do it manually out of hours some places like my last work place used this option. PSSshutdown might not work because your user name or password does not have the right to shut it down.

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by relmasri

Yeah that's what we do ... we do the patching at 2 am and the reboot at 4 am. I have a domain admin account but yeah its really weird that the psshutdown command doesn't even get sent on some server i.e. when i look under the event viewer there is no record whatsoever. Anyways i will try the shutdown for our next reboots and let you guys know. one other question i guess i can't use standard time such as 6 am in shutdown correct?

by relmasri

Alright well i tried this yesterday. As you mentioned the time does go above 600 which is great but there is something that you guys need to watch out for. If your using shutdown on a windows server DO NOT use "-" i.e. -r -f -t. I tried that yesterday and it just shut the servers down and never brought them back up ... so I had a fun friday morning. Make sure you use the "/" sign otherwise it will only shut the server down.

Thanks again for the great help.

This discussion is closed to new replies.