How to use the show desktop button without metro engine?
Apr 16, 2024 16:31:26 GMT -8
Post by Alcatel on Apr 16, 2024 16:31:26 GMT -8
I have a little something that I've been trying to solve off and on for a couple years now. Yes, years! But without luck. And that is, how to be able to use the show desktop button without metro?
Let me give some context:
-In Windows 10, the file windows.immersiveshell.serviceprovider.dll is responsible for loading metro/UWP components into Explorer. (It is also used by all UWP components like settings)
-Without it, the "show desktop" button stops functioning.
Now, I KNOW that it is possible to have a working "show desktop" button in Explorer without this DLL file or any other immersive components. Many people have done it on customized Windows PEs. (And yes, ones that use the real, full, unmodified Explorer, not WinXShell etc). But I just can't figure out how. I've tried merging registry entries, checking for other files etc, and nothing works.
This may seem like a trivial thing, but to a hardcore modder, it can be significant: metro UI loading into explorer can delay its launch by a few seconds or more, even on a good PC. It can also make a small difference in the memory footprint of Explorer, and allows Explorer to reach Windows 7-like levels of memory. The truth is, Windows 10 Explorer is not much heavier than Windows 7's at all if it is tweaked correctly. Now that we have the network flyout back, fully demetrofying is much more realistic.
Sihost.exe has to finish loading metro components after an Explorer restart before lets you use and shows the full taskbar. Sihost.exe is required by the aforementioned DLL file. If the DLL is loaded into Explorer and sihost.exe is not running, Explorer just crashes.
If there is anyone more experienced than me who would like to help with this, it would be amazing. Maybe it is possible to find out exactly what's going on behind the scenes when the show desktop button is clicked?
Let me give some context:
-In Windows 10, the file windows.immersiveshell.serviceprovider.dll is responsible for loading metro/UWP components into Explorer. (It is also used by all UWP components like settings)
-Without it, the "show desktop" button stops functioning.
Now, I KNOW that it is possible to have a working "show desktop" button in Explorer without this DLL file or any other immersive components. Many people have done it on customized Windows PEs. (And yes, ones that use the real, full, unmodified Explorer, not WinXShell etc). But I just can't figure out how. I've tried merging registry entries, checking for other files etc, and nothing works.
This may seem like a trivial thing, but to a hardcore modder, it can be significant: metro UI loading into explorer can delay its launch by a few seconds or more, even on a good PC. It can also make a small difference in the memory footprint of Explorer, and allows Explorer to reach Windows 7-like levels of memory. The truth is, Windows 10 Explorer is not much heavier than Windows 7's at all if it is tweaked correctly. Now that we have the network flyout back, fully demetrofying is much more realistic.
Sihost.exe has to finish loading metro components after an Explorer restart before lets you use and shows the full taskbar. Sihost.exe is required by the aforementioned DLL file. If the DLL is loaded into Explorer and sihost.exe is not running, Explorer just crashes.
If there is anyone more experienced than me who would like to help with this, it would be amazing. Maybe it is possible to find out exactly what's going on behind the scenes when the show desktop button is clicked?