Windows: How do I log out of a remote desktop that only gives a disconnect option?
(Log off a disconnected user remotely)
remotely logoff vdi connection
Remotely logoff a user by username in one command:
logoff /server:"servername" | qwinsta /server:"servername" "username"