List and logoff remote RDS sessions

Some tooltips on remote sessions query and logoff:

QWINSTA

qwinsta /?

Command line tool to query current sessions

(alternative command line tool: query user or quser)

OR:

Download PStools from sysinternals and use the utility psloggedon.exe

 

——————-

LOGOFF

Several options… one is

take note of session ID in question by using qwinsta, then
rwinsta SessionID /server:”servsername” /V(erbose)

OR;

logoff /?

To logoff a remote session, take a note of ID and use it like:

logoff /server:myserver 15 /v

More articles

AI agents

OpenClaw: The AI Agent That Lives on My Machine What is OpenClaw? Think of it as a personal assistant that doesn’t

Read More »