Kill window or application just like linux do

17,101

Solution 1

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

Solution 2

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.

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

Solution 4

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.
Share:
17,101

Related videos on Youtube

ukanth
Author by

ukanth

Updated on September 17, 2022

Comments

  • ukanth
    ukanth over 1 year

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

  • user1686
    user1686 over 14 years
    Task Manager accepts the Del key too.
  • briealeida
    briealeida over 14 years
    This answer is more to the point. :-).
  • briealeida
    briealeida over 14 years
    I think downvote for 'Task Manager', it sucks but upvote for Process Explorer; it's full of win. So, you just get this comment. :-).