0

For a lack of a better description, look at this screenshot: enter image description here

Sometimes, after an out of memory semi-crash, cmd windows remain in this state. If I click on them, nothing happens. (some of them work and open, but others stay in this state) The program run from these windows are still running. It's like the "host" of the window crashed. Obviously if I close them, they close and kill their spawned programs. I wish there was a way to resume them.

Addendum: This happebned to me already a few times in the past. It's like some reference or "father" process is dead and the windows associated with it are unresponsive (as windows, but the processes running inside them are still alive) Also some wsl "bash" windows are affected but no other windows are affected.. so I think it must be some "shell host" or similar process associated with those windows. But I don't know more than that. From past experience I know that if I kill them one by one, every new window (command prompt or bash) work without problems.

I am curious if there is any way to regain control of those windows.

Another example: enter image description here

The two windows on the left are responsive, but the 3 on the right are not. They don't pop up when clicking on them or using alt+tab or task manager.

I am 99% positive that the problem relies in CONHOST.

9
  • 1
    the first thing I'd try is to kill the desktops explorer.exe process, and let it respawn. worth a try Commented yesterday
  • I would change how the child programs spawn. Using start "" program.exe you can effectively start the program, then immediately return focus back to the cmd window, and if this is done in a batch script, the cmd window just closes.
    – LPChip
    Commented yesterday
  • @FrankThomas I did that. this is a problem happened to me before... every new window works, but the old ones (before an out of memory half-crash) are unresponsive as windows but what is running inside them is still working.
    – Zibri
    Commented 22 hours ago
  • @LPChip I explained better the problem.
    – Zibri
    Commented 22 hours ago
  • do an sfc /scannow this might fix the issue
    – Maslie
    Commented 22 hours ago

0

You must log in to answer this question.

Browse other questions tagged .