• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

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
0
jdhackett
Asked:
jdhackett
1 Solution
 
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
 
Michael WorshamInfrastructure / Solutions 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

Tackle projects and never again get stuck behind a technical roadblock.
Join Now