thoughts on programming and computer related stuff RSS 2.0
# Tuesday, December 09, 2008
Often I have had problems logging in to remote desktops because the two user sessions Microsoft allows you to have are occupied. This is very annoying and until Windows Server 2008, you got no choice to log of the other users. There is however a smart little command line tool to do this.

To see logged in users, type: qwinsta /server:SERVERNAME
To log out an existing session, type: rwinsta /server:SERVERNAME SESSIONNAME

Here is an example from my machine:
C:\Users\gm>qwinsta /server:kraftwerk
 SESSIONNAME       USERNAME                 ID  STATE   TYPE        DEVICE
 services                                    0  Disc
 console                                     1  Conn
 rdp-tcp#0         gm                        2  Active  rdpwd
 rdp-tcp                                 65536  Listen
C:\Users\gm>rwinsta /server:kraftwerk rdp-tcp#0

Tuesday, December 09, 2008 5:35:12 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
Windows Server
Navigation
Archive
<July 2010>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Gaute Magnussen
Sign In
Statistics
Total Posts: 17
This Year: 0
This Month: 0
This Week: 0
Comments: 1
Themes
Pick a theme:
All Content © 2010, Gaute Magnussen
DasBlog theme 'Business' created by Christoph De Baene (delarou)