Windows 10: Stuck terminating Power shell threads

Discus and support Stuck terminating Power shell threads in Windows 10 Software and Apps to solve the problem; Hi, we have a Windows 2016 Server that is not happy at all, over a few days the CPU usage gets higher and higher to the point where it needs a reboot... Discussion in 'Windows 10 Software and Apps' started by Mark Dagley, Apr 8, 2024.

  1. Stuck terminating Power shell threads


    Hi, we have a Windows 2016 Server that is not happy at all, over a few days the CPU usage gets higher and higher to the point where it needs a reboot to fix the issue. the issue seems to be a set of PowerShell threads that are started by the system that are stuck in a terminating state and use around 20 % of the CPU each. I can not work out what is creating can anyone offer a way to find out what is causing them?

    :)
     
    Mark Dagley, Apr 8, 2024
    #1

  2. Shell (terminal) options

    Hello. I just want to understand a precise distinction between 3 shell systems:

    1) CommandPrompt,

    2) Power Shell,

    3) Windows Terminal

    Could you please explain it to me, and what is functional purpose of each shell system.

    And in addition could you advice which one is the most appropriate to use to run commands for Intergated Developing Environment (for programming)?
     
    Ruslan Kazmiryk, Apr 8, 2024
    #2
  3. Shell (terminal) options

    Hello. I don't know why the robots reply respond if the robots do not know the answer. Yes I apologize for the robot generic answers pointing to another website.

    The Proper answer is:

    CommandPrompt = is shell.

    conhost = CommandPrompt with scroll back

    Power Shell = loop back to CommandPrompt

    Windows Terminal = CommandPrompt/Powershell GUI loopback

    Thank you

    From me a Human
     
    Cattery_Developer_Brian, Apr 8, 2024
    #3
  4. Stuck terminating Power shell threads

    windows shell experience host terminated

    I have perhaps a clue that may help you (or Microsoft). I first started seeing windows shell experience host closed from time to time when my PC started from sleep (event id 1002, closed because it stopped interacting
    with Windows). But as I traced the events further, this was ALWAYS preceded by windows shell experience host closed upon PC going to sleep (event id 2484. terminated because it took too long to suspend).

    Further examination and experiments point to this as a solution:

    From Power Shell Admin:

    Get-appxpackage -all *shellexperience* -packagetype bundle |% {add-appxpackage -register -disabledevelopmentmode ($_.installlocation + “\appxmetadata\appxbundlemanif

    The problem returned after a improper shutdown (electrical outage), and the above command resolved it again.

    My problem does not appear to be related to the OS version/patch, corruption, drivers, etc. Microsoft can weigh in, but I suggest trying this command in power shell before any time consuming or other risky updates. One last note, I rebooted after issuing
    the power shell command, which may or may not be necessary.
     
    0xBAADBEEF, Apr 8, 2024
    #4
Thema:

Stuck terminating Power shell threads

Loading...
  1. Stuck terminating Power shell threads - Similar Threads - Stuck terminating Power

  2. Slow in response of terminal, command prompt,Power Shell

    in Windows 10 Gaming
    Slow in response of terminal, command prompt,Power Shell: When I execute any command in the terminal,PowerShell,command Prompt the response is slow.And this same happens in the vs code also.My laptop is hp pavilion plusWith processor i7But slow why...
  3. Slow in response of terminal, command prompt,Power Shell

    in Windows 10 Software and Apps
    Slow in response of terminal, command prompt,Power Shell: When I execute any command in the terminal,PowerShell,command Prompt the response is slow.And this same happens in the vs code also.My laptop is hp pavilion plusWith processor i7But slow why...
  4. Stuck terminating Power shell threads

    in Windows 10 Gaming
    Stuck terminating Power shell threads: Hi, we have a Windows 2016 Server that is not happy at all, over a few days the CPU usage gets higher and higher to the point where it needs a reboot to fix the issue. the issue seems to be a set of PowerShell threads that are started by the system that are stuck in a...
  5. the essence of shells and terminals in Windows

    in Windows 10 Gaming
    the essence of shells and terminals in Windows: I want to ask about some terminology related to shells/terminals in Windows.1 «conhost = CommandPrompt with scroll back» - what is «conhost» and what does it mean «shell with scroll back»?2 «Power Shell is loop back to CommandPrompt» - what does it mean?3 what does it mean «...
  6. the essence of shells and terminals in Windows

    in Windows 10 BSOD Crashes and Debugging
    the essence of shells and terminals in Windows: I want to ask about some terminology related to shells/terminals in Windows.1 «conhost = CommandPrompt with scroll back» - what is «conhost» and what does it mean «shell with scroll back»?2 «Power Shell is loop back to CommandPrompt» - what does it mean?3 what does it mean «...
  7. Shell terminal options

    in Windows 10 Gaming
    Shell terminal options: Hello. I just want to understand a precise distinction between 3 shell systems:1 CommandPrompt,2 Power Shell,3 Windows TerminalCould you please explain it to me, and what is functional purpose of each shell system.And in addition could you advice which one is the most...
  8. Shell terminal options

    in Windows 10 Software and Apps
    Shell terminal options: Hello. I just want to understand a precise distinction between 3 shell systems:1 CommandPrompt,2 Power Shell,3 Windows TerminalCould you please explain it to me, and what is functional purpose of each shell system.And in addition could you advice which one is the most...
  9. Shell terminal options

    in Windows 10 BSOD Crashes and Debugging
    Shell terminal options: Hello. I just want to understand a precise distinction between 3 shell systems:1 CommandPrompt,2 Power Shell,3 Windows TerminalCould you please explain it to me, and what is functional purpose of each shell system.And in addition could you advice which one is the most...
  10. power shell terminal pop-up at windows 10 startup

    in Windows 10 BSOD Crashes and Debugging
    power shell terminal pop-up at windows 10 startup: Hello, I have a Dell 15.6 inch touch screen, 2 in 1 laptop with a seventh generation core i7 processor. It runs windows 10 home 21H1. Recently at startup, the terminal window of power shell started to pop-up C:\windows\system32\windows power shell\V1.0\powershell.exe. Nothing...