namazso / SecureUxTheme

🎨 A secure boot compatible in-memory UxTheme patcher
Other
2.28k stars 200 forks source link

What is secureuxtheme_uninstall() returned 00000000 #189

Open InnerSanctuary opened 4 months ago

InnerSanctuary commented 4 months ago

When clicking the uninstall button i get:

1717629575150 > Uninstall started... 1717629575152 > secureuxtheme_uninstall() returned 00000000

Anyone know what this means? Was it uninstalled?

RaXorX commented 4 months ago

I had to try this because I was having issues with some themes. Clicking on Uninstall and then rebooting, I couldn't apply any themes anymore. Switching to dark/night or day type themes just changed Windows theme to dark and light respectively and the wallpapers/mouse pointers from that theme but not the theme style itself.

So clearly seemed to have uninstalled perhaps. But the weird thing is that after I reinstalled, it's still the same. Reinstalled, rebooted and doesn't work anymore.

Running Windows 11 IoT LTSC 26100.712

But the themes worked when I had done an in-upgrade from Windows 11 Enterprise where secureux was working fine. After the upgrade it was still working fine as well.

Okay, I may have to test on IoT LTSC 24H2 without an in-upgrade but turns out SecureUX isn't working. It's loaded, but not working. Process Hacker shows dll is loaded in winlogon.exe as well.

And it's not just the uninstall, applying the themes as well returns a similar () returned 00000000 at the end of it.

QuiteAFancyEmerald commented 2 months ago

I have the same issue on Windows 11 IoT LTSC

QuiteAFancyEmerald commented 1 month ago

I have found a solution to the problem; essentially run/install SecureUXTheme but use Winaero Theme Switcher to apply the actual theme. Why does this work?

Essentially it directly changes the registry to allow themes.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\ThemeSwitcher.exe]
"VerifierDlls"="SecureUxTheme.dll"
"GlobalFlag"=dword:00000100

https://winaero.com/winaero-theme-switcher/

furquim87 commented 4 days ago

I have found a solution to the problem; essentially run/install SecureUXTheme but use Winaero Theme Switcher to apply the actual theme. Why does this work?

Essentially it directly changes the registry to allow themes.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\ThemeSwitcher.exe]
"VerifierDlls"="SecureUxTheme.dll"
"GlobalFlag"=dword:00000100

https://winaero.com/winaero-theme-switcher/

This doesn't seem to be fully working for me. While it does apply the theme to some UI elements, it won't apply to the system explorer. Unfortunately I'm having to use UltraUXThemePatcher until I can find a fix for this issue, or the developer updates this project.