MScholtes / VirtualDesktop

C# command line tool to manage virtual desktops in Windows 10
MIT License
606 stars 60 forks source link

Restart virtualdesktop if it's crashed? #89

Closed wkearney99 closed 2 months ago

wkearney99 commented 2 months ago

I've had an periodic problem with the virtual desktop subsystem seeming to crash now and then. This is not an issue with this package, but I'd wonder, short of doing a reboot, is there a way to 'restart' the virtual desktop subsystem? I ask this because when I happens I often have long-running tasks orphaned in one of the other virtual desktops that I'd like to reconnect. They're "still running" but their window is inaccessible.

Any clues/suggestions?

wkearney99 commented 2 months ago

Update, sort of fixed it by killing the ShellExperienceHost.exe process.

MScholtes commented 2 months ago

Hello @wkearney99, You will understand that I can only provide support for my tool. Apart from that, I have no idea (how do you make Virtual Desktops crash?)

Greetings Markus

wkearney99 commented 2 months ago

If you have a lot of windows and tabs open in chrome and you start pushing the limits of RAM things can get 'strange'. It doesn't happen often but when it goes it's a hassle, as you're stuck on "one" of the virtual desktops but can't get "over" to the others. Which means when you force a reboot you're faced with all those windows/tabs coming back to the wrong virtual desktops.

Yes, it would be "better" to not have 100+ windows open. My brain doesn't work that way, Lord knows I've tried...