Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QUSER /SERVER:DC1
- LOGOFF 1 /SERVER:DC1
- http://aboutwinserver.com/general/get-log-off-users-rdp-using-cmd-tols/
- LOGOFF [sessionname | sessionid] [/SERVER:servername] [/V] [/VM]
- sessionname The name of the session.
- sessionid The ID of the session.
- /SERVER:servername Specifies the Remote Desktop server containing the user
- session to log off (default is current).
- /V Displays information about the actions performed.
- /VM Logs off a session on server or within virtual machine. The unique ID of the session needs to be specified.
- QUERY USER [username | sessionname | sessionid] [/SERVER:servername]
- username Identifies the username.
- sessionname Identifies the session named sessionname.
- sessionid Identifies the session with ID sessionid.
- /SERVER:servername The server to be queried (default is current).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement