Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Make 'close window' button kill the process?


06 Oct 2010   #1

Windows 7 Home x64
 
 
Make 'close window' button kill the process?

One of the forever most annoying things about Windows, is that if a program stalls and you want to kill it, clicking the 'x' button for closing the window, actually does nothing.

Is there a way to make this button forcibly kill the process, without having the wait ages for the "This program appears to have stopped working" prompt? (or just make it immediately open up that prompt, if the program doesn't kill itself within a couple of seconds?)


My System SpecsSystem Spec
.

06 Oct 2010   #2

Windows 8.1 Pro (x64)
 
 

Tried clicking it multiple times?
My System SpecsSystem Spec
06 Jul 2011   #3

x86_64 GNU/Linux
 
 

bump

need this for when pretty much everything is being retarded on me and decides it _HAS_ to keep running for several hours or computer will explode.
My System SpecsSystem Spec
.


06 Jul 2011   #4
Microsoft MVP

Windows 7 Ultimate SP1 X64 (Windows 10, 8.1, Linux Mint, Windows XP and others in VM)
 
 

Alt+control+delete select task manager select the process select stop porcess.
My System SpecsSystem Spec
07 Jul 2011   #5

x86_64 GNU/Linux
 
 

thanks for the helpful post

sarcasm
My System SpecsSystem Spec
07 Jul 2011   #6

Windows 7 Ultimate x64/Windows 8 Consumer Preview x64/Ubuntu 11.04
 
 

I'm sorry echideret, but you won't got any helpful answers with that attitude. And I'm afraid that is the only way you can kill the process. Although a quicker way of opening task manager is by pressing Ctrl+Shift+Esc. Ot you can right click the taskbar and go from there.

EDIT: By the way, try not to bump old threads. If you have a problem, make a new post. Of course, it's too late now but keep that in mind for future reference.
My System SpecsSystem Spec
07 Jul 2011   #7

Windows 7 Ultimate (x64)
 
 

As far as I understand the window is a part of the process. If the process hangs or otherwise becomes unresponsive, then the window buttons stop working as well. Sometimes you can still move the window around and sometimes you can't. Sometimes clicking on any button will just make the window shaded (sort of) and either you wait until the problem resolves itself (if the problem is with memory or a plugin) or you kill the process. Sometimes clicking on the "close" button produces that prompt that the OP is talking about.

So, my understanding is that it is basically impossible to do what the OP wants, since for this the window and the app should be separate processes. In which case the only way to kill the process would be to use the Task Manager.
My System SpecsSystem Spec
07 Jul 2011   #8

Operating System : Windows 7 Home Premium Edition 6.01.7600 SP1 (x64)
 
 

hi all can i add when you kill the process choose end process tree
My System SpecsSystem Spec
07 Jul 2011   #9

Windows 8.1 Pro (x64)
 
 

As long as you have Windows Aero, if you repeatedly click on the closed button of an application Windows will prompt you if you want to forceably close (aka. Kill the process) the application, wait for it to respond, look for a solution in Microsoft's database. I know it works on most applications since the Window frame is managed by dwm.exe. Applcations with full custom UIs may not work completely in this regard.
My System SpecsSystem Spec
Reply

 Make 'close window' button kill the process?




Thread Tools



Similar help and support threads for2: Make 'close window' button kill the process?
Thread Forum
open explorer, starts new process, close it, process remains active General Discussion
Kill process with cmd Performance & Maintenance
Solved Make Close Window Button Larger Customization
Can't close window with X button General Discussion
help with close button Themes and Styles
Kill An Application But Not Process, From Batch File General Discussion
Waiting For Background Process(es) To Close General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:15 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33