There is a simple command to remotely view users logged into a Windows workstation or server. You can then log them off if you have permissions on the remote machine! To start open a command line in Windows. Its easy, click… [message type=”simple” bg_color=”#EEEEEE” color=”#333333″]Start > Run > type cmd.exe > and press Enter.[/message]
Next you’ll use a command called “qwinsta” with the /server switch to see who is remotely logged on to the specified workstation or server.
Remotely view logged on users
[message type=”info”]C:\Windows\System32>qwinsta /server:servername[/message]Type the command and press Enter. You’ll see a list of logged on users.
Now to log someone off type the following command and press Enter. Specify the ID of the session you want to log off by typing it’s number after servername.
Remotely log off user
[message type=”info”]C:\Windows\System32>logoff /server:servername 1 /v[/message]Below is a screenshot of both commands in use. Now you can log off users remotely. 🙂
About Lambros Computer Solutions
Lambros Computer Solution is a full service computer solution provider, headquartered in Lehigh Acres, FL. Specializing in small business and home users their services offered include Fort Myers computer repair, PC repair, laptop repair, laptop screen replacements, data recovery, starter websites, website design, website hosting, hosted exchange, wireless setup, servers and networking. Lambros Computer Solutions operates with integrity, fairness, and a passion for helping people.
For more information, call 239-303-4343.
I have used the command qwinsta, it worked. Thanks for posting this article