SecureUxTheme icon indicating copy to clipboard operation
SecureUxTheme copied to clipboard

Patch and Apply buttons greyed out

Open jojoharry16 opened this issue 3 years ago • 16 comments

To the best of my knowledge I followed all the steps, however the buttons are still greyed out.

I installed all the hooks, but the buttons remained the same and this is the log displayed:

1602078259563 > Running on 10.0.19041 flavor F
1602078259564 > MainDialog: is_elevated 1
1602078259565 > Session user: myself Process user: myself
1602078259573 > UpdatePatcherState: file_has_content 1 file_is_same 1 file_error 0 is_loaded 1
1602078266430 > SelectTheme: pTheme->GetVisualStyle failed with 80070002
1602078267328 > SelectTheme: pTheme->GetVisualStyle failed with 80070002

There is also a (!) next to the text "Hook explorer"

Any and all help appreciated

jojoharry16 avatar Oct 07 '20 13:10 jojoharry16

Update: while I was writing this issue the Apply button became available, but the Patch button is still greyed out and the log "GetVisualStyle failed" only shows up with some custom themes I installed

jojoharry16 avatar Oct 07 '20 13:10 jojoharry16

are you sure your problem isn't this: https://github.com/namazso/SecureUxTheme#q-selecttheme-ptheme-getvisualstyle-failed-with-80070002

namazso avatar Oct 07 '20 16:10 namazso

Thanks for the reply, but I'm sure I moved them to the correct folder. I'm happy to get more logs or details, just let me know where and how to get them :)

jojoharry16 avatar Oct 08 '20 10:10 jojoharry16

Could you just post your entire Themes folder? There isn't much more to logs, and your windows version is one of the tested ones. It seems like Windows can't figure out the style path from the theme.

namazso avatar Oct 08 '20 14:10 namazso

https://1drv.ms/u/s!AqLIlR_sYGQU4EIGLIKBKzJ-KXkg?e=MuxIOC

jojoharry16 avatar Oct 08 '20 15:10 jojoharry16

weird, all themes in your folder work perfectly on my VM of the same feature update, even after applying latest updates. I'd say it's permission issue but you're running it as admin so it shouldn't be, unless you did something very wrong to the permissions which i doubt.

My only remaining guess is that maybe you're running some sort of antivirus / sandboxing solution?

namazso avatar Oct 13 '20 13:10 namazso

I have the same error except only the patch button is greyed out. and the themes wont work properly without being patched

Kdizzle8d8 avatar Oct 24 '20 02:10 Kdizzle8d8

@Kdizzle8d8 that condition should only be possible if the theme is already patched. Are you sure that's not the case?

namazso avatar Oct 24 '20 02:10 namazso

Can also report this - apply was not present for a few attempts, now only patch is greyed out. I have to patch the same themes on my desktop, but on my laptop it's not possible. Applying these themes changes only the color scheme.

stashymane avatar Dec 27 '20 15:12 stashymane

Figured it out - in my case, I just placed the themes in Windows/Resources, not Windows/Resources/Themes.

stashymane avatar Dec 27 '20 15:12 stashymane

@jetrosut could you post the logs from the lower right part?

namazso avatar Jan 19 '21 06:01 namazso

my patch and apply buttons are also greyed out and all my themes are in the right place please help :(

hqrmful avatar Jan 19 '21 07:01 hqrmful

here is the logs 1611041763087 > Version v2.1.2 1611041763087 > Running on 10.0.19042 flavor F 1611041763088 > MainDialog: is_elevated 1 1611041763088 > Session user: Moki Process user: Moki 1611041763105 > UpdatePatcherState: file_has_content 1 file_is_same 1 file_error 0 is_loaded 1

hqrmful avatar Jan 19 '21 07:01 hqrmful

ha! nvm i didnt move the folders that came with the theme files. my bad!

hqrmful avatar Jan 19 '21 07:01 hqrmful

I have the same problem too... I already arranged my files (INCLUDING BOTH .MSSTYLE AND .THEME) shown in screenshot below according to my limited knowledge as well: https://ibb.co/WPg1C67

Here's what I get for the error message below along with greyed out patch and apply buttons: 43 flavor F 1654779697946 > MainDialog: is_elevated 1 1654779697946 > Session user: User Process user: User 1654779697964 > UpdatePatcherState: file_has_content 1 file_is_same 1 file_error 0 is_loaded 1 1654779699821 > SelectTheme: pTheme->GetVisualStyle failed with 80070002

CraftingTable629 avatar Jun 09 '22 13:06 CraftingTable629

@CraftingTable629 you did it wrong. You simply copy this all into C:\Windows\Resources\Themes:

image

and keep the file structure as-is.

namazso avatar Jun 09 '22 16:06 namazso