Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Force a program to close manually

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 21-05-2009
Member
 
Join Date: May 2009
Posts: 1,948
Force a program to close manually
  

I am windows user. I need some tip from any of you to force windows to close the non responsive or frozen program.Sometimes when i use the windows task manager it just wont terminate the process. Many times it happens while shutting down to Pc, a dialog box appears saying “This Program has stopped responding” and i have End Task or wait to allow more time Windows to terminate the program or task. So is there any way i can force windows to close the programs ?

Reply With Quote
  #2  
Old 21-05-2009
Member
 
Join Date: Apr 2008
Posts: 395
Re: Force a program to close manually

You can use taskkill.exe with the /F parameter. "TASKKILL /F /IM notepad.exe" would kill notepad -- you can kill by application name, PID, or window title.Or set the value of “AutoEndTasks” to 1 if you want force exit or force close any unresponsive programs automatically. to do so, go through this steps:-
  • Open the command prompt and type regedit and press Enter.
  • In the Registry Editor, navigate to the following folder:

    Quote:
    HKEY_USERS\Default\Control Panel\Desktop
  • Now search for “AutoEndTasks” registry key on the right panel and double click on the key and modify the Value data to 1.
  • Click on OK.
  • Restart the Windows to effect the changes.
Reply With Quote
  #3  
Old 21-05-2009
Member
 
Join Date: Feb 2009
Posts: 269
Re: Force a program to close manually

You can even kill the program from Konsole window but you need to do is find the Process ID for doing this. To do so, try this steps:-

Type ps -e | grep NameOfProgramYouWantToKill in the konsole window.

Sometimes the name of the program not obvious or not what you expect it to be. So type ps -e and scroll through the list to find it. Once you find it, you'll notice a number beside it, on the left.

Now type the Kill + number of the process and enter. Thats it !!
Reply With Quote
  #4  
Old 21-05-2009
Member
 
Join Date: Feb 2009
Posts: 240
Re: Force a program to close manually

Thanks for sharing tis useful info guys. I was also facing this problem sometime, but i got rid of it. If you've ever wondered why pressing the power button on a modern PC makes it shutdown a lot quicker than going to start and choosing shutdown, its because the former forces the applications to close NOW.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Force a program to close manually"
Thread Thread Starter Forum Replies Last Post
Even after force close steam application reopens itself in HTC Wildfire Maryland Portable Devices 3 26-03-2012 11:30 PM
How to force safari toolbar to close an application in macosx Esmel Technology & Internet 5 15-11-2010 10:51 PM
Force recheck does not find manually added files in uTorrent version 2.0 Nereus Windows Software 6 29-06-2010 10:34 AM
How to make odbc connection force to close Rixwel Software Development 3 13-08-2009 10:39 AM
How to open close ports manually? Darsheet Networking & Security 6 22-05-2009 09:19 AM


All times are GMT +5.5. The time now is 04:17 AM.