Remote User Logoff: Archived Admin Notes

Remote user logoff in the archive. An old Windows admin note on dealing with disconnected or idle sessions.

If you like every other sysadmin have users that simply forget to log-off, throw the following in a batch script. This script will need to run with admin rights.     echo off cls echo What is the machine name? set /p server= quser /server:%server% set /p session= logoff %session% /server:%server% quser /server:%server%

Related reading: Citrix Printing: Archived Reliability Notes.