Friday, 11 May 2007

Terminal Services / Remote Desktop commands

I was looking for a way to see who is logged on before I bounce a Windows server. There are some useful commands for managing sessions:
  • mstsc: start new session
  • shadow: join a session
  • qwinsta: query window station e.g. show sessions
  • tskill: kill a session
  • tsdisconn: disconnect current session.b

0 comments: