Remotly killing a RDP Session
Server full, or a session handing .. you know it’s a pain. But how to remotly get you a free session?
First check the sessions
qwinsta /server:<servername>
SITZUNGSNAME BENUTZERNAME KENNUNG STATUS TYP GERÄT
console 0 Verbunden wdcon
rdp-tcp 65536 Bereit rdpwd
rdp-tcp#5 xxchr95 2 Aktiv rdpwd
rdp-tcp#13 xxkla19 1 Aktiv rdpwd
Then, kick a sesson
rwinsta 2 /server:<servername>
Where 2 is the Session Id from the qwinsta command
Or, if you happen to be admin on the target machine take over the console RDP session
mstsc /console /v:<server>