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: How to "End Process Tree" instead of the soft alt f4

14 Aug 2013   #1
dolphin99

Windows 7 Ultimate x64
 
 
How to "End Process Tree" instead of the soft alt f4

Task I am wanting to do.

Pretty simple. I am looking for a way to setup my Windows 7 Ultimate x64 with a keyboard shortcut to "End process Tree" of the current application. There are some programs that can be installed to give this funcionality, however that seems like a terrible waste to have a program running and taking up resources to do such a simple thing.

Explanation of why I want this functionality.

Basically I find "alt f4" to be a waste as it rarely works on a program that is frozen and when it does it takes too long, also programs thast are not frozen sometimes seem to disable the ability to do it this way and require the use of their own menu's to exit the program or using task manager. If I "alt ctrl del" and "end process tree" it is quick ,efficient and works every time, except that getting to windows task manager then searching the list of processes negates that efficiency.


My System SpecsSystem Spec
.
14 Aug 2013   #2
LMiller7

Windows 7 Home Premium 32 bit
 
 

I don't see an easy way to do this without third party software. While the concept is simple there is often a wide gulf between concept and reality. This doesn't seem a good solution for your problem. It would be better to find why the software was freezing.
My System SpecsSystem Spec
14 Aug 2013   #3
dolphin99

Windows 7 Ultimate x64
 
 

Thanks for your response.

Programs freeze because my Windows 7 Ultimate x64 can't update no matter what I do. I have a legit copy but it has never once installed and been able to get past the first update, even with a new downloaded copy or a freinds copy. always using my serial ofcourse. I have tried getting a new video card and new ram and new harddrive. Nothing works possibly a new MB CPU. However I have been told Microsoft went with a one motherboard only policy.

Kinda beside the point though because as pointed out in first post, it is not just for program freezes, but also any program that doesn't allow alt f4 to exit.

There has to be a way even if it is a keyboard shortcut to a .bat file that "End Process Tree"'s multiple programs from a list, to cover the most used programs in one.
My System SpecsSystem Spec
.

14 Aug 2013   #4
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

Hi dolphin99, welcome to 7F!

You have bigger problems than wanting a keystroke workaround.

In your first post you mention "frozen programs", and in your next "Programs freeze because my Windows 7 Ultimate x64 can't update no matter what I do."

Here's what you should do, go to: Windows Updates & Activation - Windows 7 Help Forums
and start a thread there taking notice of the posting instructions at the very top of the page.

Note   Note
Attention: dolphin99

Before starting a new thread please read and follow the instuctions bellow.

For Windows genuine and activation problems - Windows Genuine and Activation Issue Posting Instructions

For Windows Update problems - Windows Update Posting Instructions
Give a short synopsis of your updating problems, you could even insert a link back to this thread for reference only.

Once you get your updating problems squared away, and you're still having problems with programs freezing, you may be asked to start a new thread here: BSOD Help and Support - Windows 7 Help Forums


Then we can see if you need more help finding that elusive keystroke.
My System SpecsSystem Spec
14 Aug 2013   #5
dolphin99

Windows 7 Ultimate x64
 
 

Thanks for that however control panel says Windows is activated. The dvd's I have used are my legit copy and my friends legit copy, and a copy downloaded from the site referred to on one of the official forums I found when trying to fix that problem.

I have already followed the update instructions on the forums. also the instructions that go with the error code I get when trying to update from the official forums. If I remember correctly I had to delete some cached update files from the system drive and try restarting the update process. Nothing works and thats ok I can live with it.

However if someone has a way to setup the "End Process Tree" style of application killing to a small batch file that I can link to a keyboard shortcut, or another method that gives the desired functionality without haveing to run a program in the background all the time just for that purpose. It would be greatly appreciated.
My System SpecsSystem Spec
14 Aug 2013   #6
Anak

Microsoft Community Contributor Award Recipient

Win 7 Home Premium 64bit Ver 6.1.7600 Build 7601 - SP1
 
 

I can't help you with a "batch file".
My System SpecsSystem Spec
15 Aug 2013   #7
dolphin99

Windows 7 Ultimate x64
 
 

ok thanks anyways.

If anyone else can help would be awesome either with a batch file or any other method that doesn't require installing new software to run in the background.
My System SpecsSystem Spec
15 Aug 2013   #8
x BlueRobot

 

Code:
@echo off
taskkill /pid <Process ID> /f /t
To find the Process ID of a currently running process, then run Task Manager, and then change View > Select Columns > Show PID

-process.jpg

The /f switch will forcibly terminate a process, and the /t switch will terminate all child processes along with the parent process, since you said you wanted to end the process tree.


My System SpecsSystem Spec
15 Aug 2013   #9
dolphin99

Windows 7 Ultimate x64
 
 

thankyou BlueRobot

While not the ideal solution as the process id for the current program can't be found without going to the same effort as the original method of using task manager to end the process tree. It did make me look into setting up a keyboard shortcut for a desktop shortcut so I can use your method using imagename instead.

It is still not ideal to close every program on a list, however it is preferable to accessing the task manager every time. Hopefully I can find a way now to get the current process name or id so it can be applied to any program and only if it has focus.
My System SpecsSystem Spec
16 Aug 2013   #10
ICIT2LOL

Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
 
 

Quote   Quote: Originally Posted by dolphin99 View Post
Thanks for that however control panel says Windows is activated. The dvd's I have used are my legit copy and my friends legit copy, and a copy downloaded from the site referred to on one of the official forums I found when trying to fix that problem.

I have already followed the update instructions on the forums. also the instructions that go with the error code I get when trying to update from the official forums. If I remember correctly I had to delete some cached update files from the system drive and try restarting the update process. Nothing works and thats ok I can live with it.

However if someone has a way to setup the "End Process Tree" style of application killing to a small batch file that I can link to a keyboard shortcut, or another method that gives the desired functionality without haveing to run a program in the background all the time just for that purpose. It would be greatly appreciated.
Just purely out of curiosity why did you use two copies of the OS? Plus if you did did you wipe the drive before using the second DVD??
My System SpecsSystem Spec
Reply

 How to "End Process Tree" instead of the soft alt f4




Thread Tools




Similar help and support threads
Thread Forum
W7 Network map tree with "?" between laptop and wireless router
While flying through my computer. I found this instance that has me confused. I was looking at my network. Decided to go to the map and saw the basic map. (image 1). When I clicked on "see full map" link it showed the network map, only between my computer and my wireless router there is a...
Network & Sharing
"Error opening process" message in Process Explorer
Hi Everyone I recently did a System Restore on a Windows 7 Pro 64 bit system to correct a strange problem I was having with IE. It seems to have solved the problem, but now Process Explorer is displaying the messages in the screen shot below, and I'm not sure why. The computer is functioning...
Software
Can't install "easy soft", ISScript.msi issue.
I am trying to install "Easy Soft 6 Pro" on my laptop and I get this message attached below. I checked the required version for the InstallScript engine and it is 10.50.0.125 to install this software so I downloaded the isScript 1050 and it was successfully installed but I still have the same...
Installation & Setup
chromium "memory tree goes green" ??
Just wondering if anyone knows what "memory tree goes green" means in Chromium change logs? I see it every so often. But I don't have a clue what they are talking about! :geek:
Browsers & Mail
"Soft" Bad sectors
Hi, I am not able to understand the concept of "Soft" bad sectors. can software be the cause of bad sectors? Please explain. Thanks Anirudh
Performance & Maintenance
any way to keep "Save as" folder tree open?
I'm running 7 home premium. When I open Windows Explorer or the Save As window, the Documents library or the C: drive or the external drive I JUST had open, is now closed. It would save me a lot of time and clicking if there were a way to keep it open to the last state it was in. Possible?
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 04:14.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App