Logoff users

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.
 
H

Herb Martin

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....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top