Logoff disconnected RDP Sessions

This post is for my reference 🙂 

Tired of using mouse right+click & logoff “session ID” command at run.

Finally I got a solution to logoff  many disconnected RDP sessions at once.
It  is simple 😉

From Tsadmin console Start>run>tsadmin.msc>Choose a server >console right hand side click on users tab>select disconnected RDP users > right+click then Logoff 

I agree there are many scripts available to use to do this activity, but risk involved in using of scripts in production environment 🙂 I feel GUI is simple and easy way to accomplish this task.

To query user sessions: run commands qwinsta or query session 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: