2

Is there any way to kill or force closed a particular hanging window or hanging application by selecting it with some hotkey? Similar to Ctrl+Alt+Esc and select window in Ubuntu?

(I may be misremembering the exact key shortcut used in Ubuntu; I just remember some key combination does that.)

migrated from stackoverflow.com Nov 5 '09 at 14:28

This question came from our site for professional and enthusiast programmers.

9

Ctrl+Shift+ESC to show Task Manager, on the Processes tab, right-click the offending process and choose "End Process"

Personally I replace Task Manager with Process Explorer (from sysinternals), better list navigation and you can use the Del key to kill a process.

  • Task Manager accepts the Del key too. – grawity Nov 5 '09 at 15:33
  • I think downvote for 'Task Manager', it sucks but upvote for Process Explorer; it's full of win. So, you just get this comment. :-). – briealeida Nov 6 '09 at 10:41
  • How do I know which of those process is my window? – Colonel Panic Apr 2 '13 at 15:01
3

Alt-F4 or click the close button. If the app doesn't respond within a few seconds, Windows XP (and probably everything after that) will show a dialog where you can kill it.

3

You can also use tskill.exe from run menu or command prompt.

TSKILL processid | processname [/SERVER:servername] [/ID:sessionid | /A] [/V]

  processid           Process ID for the process to be terminated.
  processname         Process name to be terminated.
  /SERVER:servername  Server containing processID (default is current).
                         /ID or /A must be specified when using processname
                         and /SERVER
  /ID:sessionid       End process running under the specified session.
  /A                  End process running under ALL sessions.
  /V                  Display information about actions being performed.
  • This answer is more to the point. :-). – briealeida Nov 6 '09 at 10:40
3

Found this utility xkill and modified one here. It might help some people who needs it like me:)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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