Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I infrequently work on about 20 Windows servers via remote desktop. There are times when it'd be really convenient to know if and where I have disconnected sessions open.

Is there a powershell script or query or something I can use to make this process simpler than logging into each machine and checking Task Manager's users tab?

share|improve this question
Note: I already use mRemote--it's not connecting that's a hassle--it just seems like there ought to be a way I can script this – Michael Haren Aug 10 '10 at 14:37

Terminal manager lets you connect from one window to multiple servers and show the various sessions and their status (and processes running, etc.) as well as connect to them to resume sessions.

share|improve this answer
Can it tell me which machines might have disconnected sessions? – Michael Haren Aug 10 '10 at 14:37
Terminal manager does list the state as active or disconnected. – Bart Silverstrim Aug 10 '10 at 14:44
Do you have a link? – Michael Haren Aug 10 '10 at 14:47
Should be with Windows Server systems. Are you only running home/pro versions of Windows? – Bart Silverstrim Aug 11 '10 at 10:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.