4 ms·
I was a little mystified when I read the following sentence, since the start menu (and taskbar) has in my experience always been part of explorer.exe, and not a
by userbinator 5y ago
I was a little mystified when I read the following sentence, since the start menu (and taskbar) has in my experience always been part of explorer.exe, and not a separate process (unless he was referring to explorer.exe itself, which I've killed and restarted a few times without issue, so that couldn't be it either):
And one of the programs that this utility decide was not worthy of keeping around was the Start menu, so it terminated it when your game started. And then when the game was over, it relaunched it.
...and then all became clear shortly after:
But the Start menu is a UWP program, so it is supposed to be launched a special way, with specific command line arguments, and it is supposed to be run in a low integrity app container.
Raymond is obviously going to be pro-MS, but I can't decide whether the ultimate blame here is the third-party utility, or MS for the design decision that somehow the start menu needs to be its own process, require commandline arguments and whatever starts it to do something special (unlike explorer.exe, which establishes its own environment appropriately) or indeed the whole shitshow that is UWP.
Related: https://news.ycombinator.com/item?id=28449607 https://news.ycombinator.com/item?id=28449607
It seems people have tried replacing the shell with one from an older version of Windows, but it's not a direct drop-in (e.g. https://www.youtube.com/watch?v=RUsbU73Idx4 https://www.youtube.com/watch?v=RUsbU73Idx4 , warning: audio is useless); with some additional work, I suppose it might be possible.
- Swisstone 5y agoThe fact the start menu lives in its own process is an implementation detail, no official documentation says the start menu is part of explorer.exe, so no one should expect start menu to be part of explorer.exe. Third party utilities should never kill random processes to begin with... that's a non-sense.
- _3u10 5y agoWhy shouldn’t they kill processes? If the OS didn’t want third party apps to be able to kill random processes it wouldn’t provide APIs for it to do so.
- userbinator 5y agono official documentation says the start menu is part of explorer.exe I'm pretty sure the older versions of Windows actually had that in the (much more detailed) documentation they came with.
- ComputerGuru 5y agoKilling and restarting explorer.exe on Windows 10 is not supported and causes UWP apps to fail to interop with the system afterwards (even apps launched after explorer.exe was terminated). Go ahead and do it, then try to open a link in the UWP mail app by clicking on it. It doesn’t work for me ever after until I reboot my PC.
- lostmsu 5y agoSeems to be working fine on my machine. I went to Task Manager, details tab; found explorer.exe (there was exactly 1) and killed it Hit File -> Run New Task; Entered "explorer"; hit Enter Switched to Mail and clicked a link in one of the emails - it worked.
- userbinator 5y agoThis further reinforces why I've fortunately never had to --- and don't ever want to --- use UWP apps. It seems like one horrible design decision after another. On the other hand, explorer.exe seemingly wants to crash or hang semi-regularly, especially when accessing network drives, and needs to be killed and restarted to regain control.
- RinTohsaka 5y agoCan someone explains why explorer crashes when dragging files (unintentionally) over an offline mapped network drive? I feel like this is a basic thing that should have come up in testing.
- userbinator 5y agoNetwork filesystems seem to be one of those things that's remarkably tricky to get right; my experience with that on Linux hasn't been much better, i.e. mounted drives that have become disconnected can cause anything from tens-of-minutes-long waits to forever hangs. I think it's a tension between giving up too easily (and thus you get errors in applications whenever the network is even slightly intermittent) and trying too hard to reconnect (permanent hangs, in the case of infinite retries.)