Logout Console User using N-able System Shell
Attempting logon to server but it is locked. Can't reboot because it's a server and can't be taken down like that. There are active users on the server with open files. Use N-able System Shell to logoff active console session user.
Just running the command "logoff" at the System Shell window s not enough.
Click System Shell at the top of the take control viewer window, then run the command query session. That will display the current logged on sessions. Take note of the ID number of the user you want to logoff that's a console session.
Then run the command logoff and the ID number you retrieved.
query session
logoff {ID#}
That will logoff the disconnected or connected session and you'll now be able to login to the to the console. This process has worked every time. The logoff option also works through RDP and also permits logging off RDP connected desktop sessions as well.
For RDS servers, the same command that queries connection to the server could be used. You will find the list of users logged in will be longer with a busy remote desktop services server.
We are all used to remotely accessing into systems and servers on the local network using RDP (Remote Desktop Connection) for example. RDP is the default tool for most admins internally. Online access is typically the same and is just a matter of having the user enter a code for security and then there's a connection for screen sharing.