Kicking An Account, Logging Into Windows Server

Yesterday I had to get logged into a Windows Server, however the connections were all consumed already. I had to kick somebody. I’d never done this via the command line, so I pinged a coworker who laid out how to lay low the over-connected users. With two simple commands I was logged in and running!

To see who is logged into a server…

qwinsta -server theServerNameHere
…and then to kick the users by their ID as shown by the query command above…

rwinsta -server theServerNameHere ID#
…and you can now access the server via Remote Desktop Connection. Have fun with your new found connection powers!