Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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: technet.microsoft.com/en-us/sysinternals/bb896682 pskill: http://technet.microsoft.com/en-us/sysinternals/bb896683

share|improve this answer

Your Answer

 
discard

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.