Wie können wir helfen?
How Remotely Logoff Users via Command Line
First of all, use the command line QUser, short for Query Users, to get a list of login sessions on the remote computer.

Replace the ComputerName with the actual remote computer name.

To remotely log off any users on the list, use the command line Logoff with the remote session ID you collected from QUser command.
