A common problem with Windows servers is remoting. Unless you pay a large amount of money, you can only have two terminal services connections per server for administration purposes. Sometimes people leave the office and accidentally stay connected, which ties up a connection and means no one else can connect.
Since most of our development and live servers are accessed remotely, this quickly becomes a big problem. Luckily, I found an article that can help in this situation. I know any Windows sysadmins out there have probably known about this for a long time, but I haven’t. Since I am in charge of a few development servers, I need to know these tricks.
tsshutdn <wait_time> /server:<server_name> /reboot /delay:<log_off_time> /v
This will disconnect everyone remotely connected and then reboot terminal services.
0 Responses to “Restarting Terminal Services”