Logoff users

  • Thread starter Thread starter Brett
  • Start date Start date
B

Brett

Can a user be logged off using a batch script. I would
prefer to log off the user instead of restarting the
computer.
 
There are two Microsoft "Logoff.exe" commands available.
(You can probably find others by searching software download
sites.)

Logoff.exe in %SystemRoot%\System32 is likely from Terminal
Server and only logs of terminal server users -- it's about 16 KB

Logoff from the Resource Kit (might be downloadable from MS
Win2000 downloads) does this for the current user. It's about 62 KB.

In both cases it is safe to request help by typing: Logoff /?

Likely there is a built in way by using RunDLL32 or something...we
can await another response from someone who knows....
 
Back
Top