Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a session that is blocked by app, but i can´t log off using logoff command or taskgr. Do you know how force to log off?

Thx in advance,

share|improve this question
up vote 0 down vote accepted

On Server 2008, the command should be:

shutdown /l /f

This should force all apps to close and logoff the current user.

share|improve this answer

Edit: just realized about the 'windows server tagg'.

On command (administrative) line try shutdown /r /f

And it will reboot the system.

share|improve this answer

If you have a hanging application, you can also use pslist/pskill to try and kill the offending app to allow logout (can't post more than one hyperlink yet, you get the idea):

pslist: http: pskill:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.