Alcatel
Freshman Member
Posts: 89
OS: Windows 10 Enterprise LTSC IoT 2021
Theme: Windows 7 Aero
CPU: i9-8950HK
RAM: 32GB DDR4
GPU: Nvidia Quadro P3200
|
Post by Alcatel on Apr 20, 2024 21:00:23 GMT -8
The Universal Windows Platform (UWP), in the spirit of being unoptimized, keep all of their many processes operating all of the time: at the logon of the user, RuntimeBroker automatically restarting, and even when UWP apps are closed. This mod makes ApplicationFrameHost and RuntimeBroker automatically terminate unless Settings or Windows Security are open. You can add to the list of apps to keep the programs open if you so choose. uwp-cleaner.cpp (2.62 KB)
|
|
|
Post by anixx on Apr 21, 2024 1:02:01 GMT -8
This is great! How does it work? It seems it does not hook anything? Is it possible to make it to detect any UWP apps running by default?
Possibly, this can be improved in the following ways:
* Detect all UWP apps (they should be located in the WindowsApps folder). So, do not clean up if something from that folder is running.
* Instead of infinite loop, hook the window close event. This way you clean up only when a window is closed (possibly, a more specific to UWP apps function or event can be hooked).
|
|