DarkEnforcer icon indicating copy to clipboard operation
DarkEnforcer copied to clipboard

not working with mmc

Open meyyh opened this issue 1 year ago • 3 comments

when running mmc _OpenNcThemeData &&_RefreshImmersiveColorPolicyState && _ShouldAppsUseDarkMode && _AllowDarkModeForWindow && _SetPreferredAppMode && _IsDarkModeAllowedForWindow all return null. Is this an issue with it using a different ui framework than cleanmgr.exe or is it reated to the fact that I need to run the program with admin for it to be able to see mmc?

meyyh avatar Aug 15 '24 04:08 meyyh

Ah, yes, mmc.exe probably runs as admin by default, so you should run DarkEnforcer or DarkTitle instance as Administrator to have access.

ChGen avatar Aug 15 '24 05:08 ChGen

even with running it as admin I they are still returning null

meyyh avatar Aug 15 '24 18:08 meyyh

I think mmc.exe, its UI also could be protected with extra measures as important system app. Simplest test could be to make a copy of mmc.exe under another name and/or location and run again. It would work if mmc protected by external manifest file or by some special system list by path.

ChGen avatar Aug 15 '24 18:08 ChGen