best way to reboot Terminal Server nightly

I have three Terminal Servers that I would like to reboot on a nightly basis. Using Server 2003
What would be the best wat of doing this?
Thanks
LVL 1
jdhackettAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PlaceboC6Commented:
You could probably create a scheduled task to run "shutdown /r".

This will restart the server.
0
lamaslanyCommented:
I'd make one modification - use the /f switch to force open apps to close.

shutdown /r /f /c "Nightly forced reboot"

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michael WorshamStaff Infrastructure ArchitectCommented:
Is there a logical reason why you are needing to reboot the TS server nightly?

Do you have user sessions that need to be shutdown if they incorrectly disconnect, etc or applications that need to be stopped?
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

PlaceboC6Commented:
It is common practice to periodically reboot terminal servers or Citrix servers.

I used to have a third party app that did it for me nightly when I ran a Citrix farm.
0
jdhackettAuthor Commented:
There may be user sessions open, so I'll try the force option.
What does the  { /c "Nightly forced reboot" } do?
0
PlaceboC6Commented:
Throws in a comment describing why it is rebooting.
0
jdhackettAuthor Commented:
That worked, thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.