SecureUxTheme icon indicating copy to clipboard operation
SecureUxTheme copied to clipboard

What is secureuxtheme_uninstall() returned 00000000

Open InnerSanctuary opened this issue 1 year ago • 3 comments

When clicking the uninstall button i get:

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

Anyone know what this means? Was it uninstalled?

InnerSanctuary avatar Jun 05 '24 23:06 InnerSanctuary

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.

RaXorX avatar Jun 07 '24 07:06 RaXorX

I have the same issue on Windows 11 IoT LTSC

QuiteAFancyEmerald avatar Jul 27 '24 16:07 QuiteAFancyEmerald

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/

QuiteAFancyEmerald avatar Aug 22 '24 03:08 QuiteAFancyEmerald

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.

furquim87 avatar Oct 01 '24 20:10 furquim87

0 means success, this works as intended

namazso avatar Oct 12 '24 10:10 namazso