Add Kill All Not Responding Tasks Context Menu in Windows 10  

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 68,840
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #10

    EddieB1106 said:
    That worked just fine, thanks
      My Computers


  2. Posts : 472
    Windows 10 Pro x64
       #11

    Is there any risks of killing non res tasks? Why is it not responding? Every time i start windows even if i wait 1 hour i get 1 non res task killed when i use it. It has different pid everytime, i wish to know what task it is.
      My Computer


  3. Posts : 68,840
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #12

    BlackVen0m said:
    Is there any risks of killing non res tasks? Why is it not responding? Every time i start windows even if i wait 1 hour i get 1 non res task killed when i use it. It has different pid everytime, i wish to know what task it is.
    Hello,

    There's no risks to killing unresponsive tasks. It will only kill them to stop them from causing freezing or sluggish system behavior.

    When this happens, you can check in Task Manager to see which processes are running, and look for one that may be using a high amount of resources that may be it.

    Since this happens at startup, you might check your startup apps list to see if one of those may be responsible.

    Add, Delete, Enable, or Disable Startup Items in Windows 10
      My Computers


  4. Posts : 91
    10 pro
       #13

    I think I've come up with a way to modify this to list the unresponsive tasks before deleting them, but I need an unresponsive task to test it with. Any suggestions?
    Last edited by SpacemanSam; 04 Aug 2022 at 18:31.
      My Computer


  5. Posts : 68,840
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #14

    SpacemanSam said:
    I think I've come up with a way to modify this to list the unresponsive tasks before4 deleting them, but I need an unresponsive task to test it with. Any suggestions?
    Hello mate,

    The command prompt from the context menu as is should list any not responding tasks that were killed.

    I'm not aware of a way to test a not responding task on demand though, but found this below that may help.

    c# - How do I make a console application appear "Not Responding"? - Stack Overflow
      My Computers


  6. Posts : 91
    10 pro
       #15

    I tried creating an infinite loop in cmd, powershell and vbscript, but none of them show up as "not responding". The link you gave suggested using Winforms, but that requires setting up Visual Studio first. I was hoping for something simpler. Besides, the article you suggested (and others I researched) implied that even that might not work.

    So, here's what I came up with to list unresponsive tasks before killing them. Replace the last line of the .reg file with:
    Code:
    @="CMD.exe /C (tasklist /fi \"status eq Not Responding\" | find /v \"No tasks\" && taskkill.exe /f /fi \"status eq Not Responding\" || echo No not-responding tasks found.) & ECHO; & <NUL: set /p junk=Press any key to close this window. & PAUSE >NUL:"
    How it works: Tasklist is called to list all unresponsive tasks. This list is piped to find which searches for any lines NOT containing "No tasks". If any are found, taskkill is called to kill them, else a failure message is displayed.
    In either case, <NUL: set /p prints the exit message without advancing to a new line and PAUSE >NUL: accepts a keystroke without prompting "Press any key to continue".

    I've tested this on 2 computers running Windows 10 Pro and it printed "No not-responding tasks found." On another computer it listed the non-responding tasks by name before deleting them.

    Update: this enabled BlackVen0m to find out what the non-responsive task is that he keeps seeing on startup.

    Shawn, could you please update your downloadable .reg file to include this improvement?
    Last edited by SpacemanSam; 06 Aug 2022 at 11:17.
      My Computer


  7. Posts : 32
    win 10 Pro / win 7 Ultimate
       #16

    Brink said:
    I'm happy to hear the context menu was able to help @SpacemanSam.

    The command in the context menu has now been updated as requested.
    Thanks for the reg file. This will come in handy and you made it simple. thanks
      My Computer


  8. Posts : 68,840
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #17

    rebelyell said:
    Thanks for the reg file. This will come in handy and you made it simple. thanks
      My Computers


  9. Posts : 91
    10 pro
       #18

    BlackVen0m said:
    Is there any risks of killing non res tasks? Why is it not responding? Every time i start windows even if i wait 1 hour i get 1 non res task killed when i use it. It has different pid everytime, i wish to know what task it is.
    Are you still having a problem with this? I posted an enhanced version yesterday which lists the non-responsive tasks that will be killed. Try it and let me know the results.
      My Computer


  10. Posts : 472
    Windows 10 Pro x64
       #19

    SpacemanSam said:
    Are you still having a problem with this? I posted an enhanced version yesterday which lists the non-responsive tasks that will be killed. Try it and let me know the results.
    Thanks!! It worked! I can now see what the task is. The problematic one i had is called jusched.exe. What is that?
      My Computer


 

Tutorial Categories

Add Kill All Not Responding Tasks Context Menu in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:04.
Find Us




Windows 10 Forums