Useful in the event of having to log someone off remotely. (i.e. if a users AD account has been disabled and you want to prevent them from using the system urgently)
You must have local administrator access to complete this. This process will logoff the user instantly.
Run CMD (As Administrator)
Obtain the session ID:
quser /server:COMPUTERNAMEHERE
Logoff session ID:
logoff ID /server:COMPUTERNAMEHERE
Example