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

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

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

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

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

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

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

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

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x86 Service Pack 1 - Linux Mint Mate 14 x64
 
 

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

How to &quot;End Process Tree&quot; instead of the soft alt f4-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

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

Desk1 8 Pro / Desk2 7 Home Prem / Laptop 8.1 Pro all 64bit
 
 

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 for2: How to "End Process Tree" instead of the soft alt f4
Thread Forum
Solved Can't install "easy soft", ISScript.msi issue. Installation & Setup
W7 Network map tree with "?" between laptop and wireless router Network & Sharing
chromium "memory tree goes green" ?? Browsers & Mail
"Soft" Bad sectors Performance & Maintenance
Problem launching game - "Unable to terminate process" may be related Gaming
any way to keep "Save as" folder tree open? General Discussion
Eject hardware showing "Windows host process" Customization

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:59 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