Windows 10: What is the proper way to close unresponsive processes?

Discus and support What is the proper way to close unresponsive processes? in Windows 10 Support to solve the problem; I used taskkill so far to kill unresponsive processes: Code: taskkill.exe /F /FI "status eq NOT RESPONDING" However I read this is not a safe way to... Discussion in 'Windows 10 Support' started by empleat, May 8, 2021.

  1. empleat Win User

    What is the proper way to close unresponsive processes?


    I used taskkill so far to kill unresponsive processes: Code: taskkill.exe /F /FI "status eq NOT RESPONDING" However I read this is not a safe way to close process! It could mess up registry, or Windows, or program data!!! There is also cmdlet: Stop-Process, it works similarly. But I have no idea, if this is any better. Still you need to force process to close, otherwise it won't close! Taskkill might be still better than hard restart tho! Games freeze a lot of times on alt-tab, or bug... This saved me from hardrestart many times!

    :)
     
    empleat, May 8, 2021
    #1
  2. hdmi Win User

    What is the proper way to close unresponsive processes?

    This is the proper way to do it:


    What is the proper way to close unresponsive processes? [​IMG]
     
    hdmi, May 8, 2021
    #2
  3. empleat Win User
    What is the proper way to close unresponsive processes?

    You mean WMIC? I need alternative of Code:
    When program is not responding, program name wouldn't work, since I can't see into the future *Biggrin

    I don't trust programs from sites like this. It has been known for pup, or possibly adware. What method it uses BTW? Why couldn't I run this from PS etc.

    Otherwise it is strange, there would be no safe way to kill processes on Windows 10. This crap happens all the time, if you alt tab from a game, or games freeze by themselves relatively a lot!
     
    empleat, May 8, 2021
    #3
  4. LMiller7 Win User

    What is the proper way to close unresponsive processes?

    What is the proper way to close unresponsive processes?

    There are essentially 2 ways to end a process:

    1. You can ask the process to close itself. This is the safe way. There are often things a process will do before it closes, and these are things only the developer knows. These include updating registry entries and flushing file buffers. Nothing outside the process can do these things. If the process is not responding this method is not possible because you can't ask it to do anything. All you can do is wait as the not responding state may be temporary. There is no way of knowing how long.

    2. You can forcefully terminate the process. taskkill /f does this. There is an element of risk in this. Microsoft talks about this in the developer documentation. The problem here is that the process is never aware that it about to be killed and has no opportunity to intervene in the process and can't do the normal shutdown procedure.

    Windows provides multiple ways of doing these methods but they all end up doing either #1, or #2.

    Usually the risks of doing #2 are minimal. But they do exist.
     
    LMiller7, May 8, 2021
    #4
Thema:

What is the proper way to close unresponsive processes?

Loading...
  1. What is the proper way to close unresponsive processes? - Similar Threads - proper close unresponsive

  2. What background processes are okay to close

    in Windows 10 Gaming
    What background processes are okay to close: I have over 100 background processes and 95% I have no idea what they are so I would like to know what settings to change or what tasks are okay to close. I found a solution which is a clean boot but I am suspicious because I am disabling every service that isn't Microsoft...
  3. What background processes are okay to close

    in Windows 10 Software and Apps
    What background processes are okay to close: I have over 100 background processes and 95% I have no idea what they are so I would like to know what settings to change or what tasks are okay to close. I found a solution which is a clean boot but I am suspicious because I am disabling every service that isn't Microsoft...
  4. How to prevent windows 10 from closing the unresponsive program/process?

    in Windows 10 Software and Apps
    How to prevent windows 10 from closing the unresponsive program/process?: Pretty much like the title said. Let's say in my case i'm running a game where at some point the game loads bunch of mods, map, assets, etc. And during the time game became unresponsive momentarily about a few seconds then proceed back to normal. Now the problem is during...
  5. How to prevent windows from closing the unresponsive program/process?

    in Windows 10 Gaming
    How to prevent windows from closing the unresponsive program/process?: Pretty much like the title said. Let's say in my case i'm running a game where at some point the game loads bunch of mods, map, assets, etc. And during the time game became unresponsive momentarily about a few seconds then proceed back to normal. Now the problem is during...
  6. How to prevent windows from closing the unresponsive program/process?

    in Windows 10 Software and Apps
    How to prevent windows from closing the unresponsive program/process?: Pretty much like the title said. Let's say in my case i'm running a game where at some point the game loads bunch of mods, map, assets, etc. And during the time game became unresponsive momentarily about a few seconds then proceed back to normal. Now the problem is during...
  7. Win 10 Programs are becoming unresponsive and wont close properly

    in Windows 10 BSOD Crashes and Debugging
    Win 10 Programs are becoming unresponsive and wont close properly: So the problem started today where in out of nowhere a random software.. like chrome, steam, photoshop etc will stop responding or just not working in some areas.. then if i close it or task manager it... It leaves a process running that will hog cpu... If i open the program...
  8. what is the proper way to mention a member?

    in Windows 10 Support
    what is the proper way to mention a member?: What is the proper way to mention a member? Do I copy/paste from the appropriate post, or simply type @<plus member name>, or other method? Thanks in advance for your replies. regards, 166422
  9. Best way to kill unresponsive process realiably?

    in Windows 10 Support
    Best way to kill unresponsive process realiably?: Hello, i had unresponsive process, which was repeatedly showing pop up window: End Process. When i clicked on it, nothing happened... Even task manager wouldn't show and i had checked always on top and i couldn't get to desktop, or open start menu! I waited like 5 minutes,...
  10. What's the Proper Way of Naming Files?

    in Windows 10 Support
    What's the Proper Way of Naming Files?: Over the years, I've come across dozens of ways to properly(?) name a file. For example, as in my movie, here are just a few: The_Secret_of_NIMH_1982 The-Secret-of-NIMH-1982 The.Secret.of.NIMH.1982 The Secret of NIMH_(1982) I think some of them may go back to the...