ramensoftware / windhawk-mods

The official collection of Windhawk mods
218 stars 43 forks source link

[Windows 11 Start Menu Styler] doesn't load [Win11 Enterprise 10.0.22631.3737] #747

Closed thepsyborg closed 1 day ago

thepsyborg commented 1 week ago

No errors, no debug log output, it just never appears in "Loaded Mods", or has any effect. I have:

Happy to try anything else if it would help.

Edit: tagging mod author @m417z

m417z commented 1 week ago

Are you using the standard or the portable Windhawk version? Do other mods work?

We can try enabling all Windhawk logs and check for error messages. First, download and run DebugView. Then, in Windhawk, make sure the mod is enabled, go to settings, then "More advanced settings", then change both verbosity values to "Error" and save. Windhawk will be restarted. After Windhawk is restarted, copy the logs from DebugView and post them here.

thepsyborg commented 2 days ago

Are you using the standard or the portable Windhawk version? Do other mods work?

Standard version. Other mods work. (I mean, I dunno about every mod, but all the ones I'm using work (that being Taskbar Volume Control and Disable grouping on the taskbar).

We can try enabling all Windhawk logs and check for error messages. First, download and run DebugView. Then, in Windhawk, make sure the mod is enabled, go to settings, then "More advanced settings", then change both verbosity values to "Error" and save. Windhawk will be restarted. After Windhawk is restarted, copy the logs from DebugView and post them here.

[11964] [WH] ERR: 00000241
[13080] [WH] ERR: 00000241
[17696] [WH] ERR: 00000241
[13232] [WH] [LazyInitialize]: Initialization failed: status: Access is denied.: "C:\ProgramData\Windhawk\Engine"
[8892] [WH] ERR: 00000241
[34988] [WH] ERR: 00000241
[62416] [WH] ERR: 00000241
[60108] [WH] ERR: 00000241
[61636] [WH] ERR: 00000241
[63340] [WH] ERR: 00000241

Edit: Incidentally, I turned on "Require UAC Elevation for running Windhawk" and repeated the process, getting these logs (and notably not getting a UAC popup on restart).

[41196] [WH] ERR: 00000241
[62016] [WH] ERR: 00000241
[13080] [WH] ERR: 00000241
[11964] [WH] ERR: 00000241
[17696] [WH] ERR: 00000241
[13232] [WH] [LazyInitialize]: Initialization failed: status: Access is denied.: "C:\ProgramData\Windhawk\Engine"
[8892] [WH] ERR: 00000241
[34988] [WH] ERR: 00000241
[62416] [WH] ERR: 00000241
[60108] [WH] ERR: 00000241
[63340] [WH] ERR: 00000241
[61636] [WH] ERR: 00000241

I then left "Require UAC Elevation..." on, exited Windhawk (which did require UAC elevation), and reopened it (which again did require elevation).

[11964] [WH] ERR: 00000241
[13080] [WH] ERR: 00000241
[17696] [WH] ERR: 00000241
[13232] [WH] [LazyInitialize]: Initialization failed: status: Access is denied.: "C:\ProgramData\Windhawk\Engine"
[8892] [WH] ERR: 00000241
[34988] [WH] ERR: 00000241
[62416] [WH] ERR: 00000241
[60108] [WH] ERR: 00000241
[61636] [WH] ERR: 00000241
[63340] [WH] ERR: 00000241

So whatever the permissions issue is, it's not the immediately obvious one.

The permissions on C:\ProgramData\Windhawk\Engine are:

m417z commented 2 days ago

[13232] [WH] [LazyInitialize]: Initialization failed: status: Access is denied.: "C:\ProgramData\Windhawk\Engine"

I assume that 13232 is the process id of StartMenuExperienceHost.exe, right?

The permissions on C:\ProgramData\Windhawk\Engine are: [...]

That's the problem, the folder is missing access for application packages. The access should be added during setup. On the other hand, the library is loaded, so I assume that permissions were set correctly for C:\Program Files\Windhawk\Engine. Can you verify in properties?

In the list of things that you tried, you didn't list re-installing Windhawk? Can you try to reinstall is? The permissions should be set again by the installer.

thepsyborg commented 1 day ago

Huh. Strange. Wonder how that happened.

Yeah, uninstalled and reinstalled; works fine now. Sorry & thanks!