|
Post by nonameneeded on Sept 15, 2024 11:27:50 GMT -8
I'm talking about these icons:
Now, the file these icons (it's actually a bitmap) are retrieved from is called comctl32.dll So I thought it should be easy to replace the bitmap using Windhawk's resource redirect. But it doesn't work.
But I didn't understand why.
Then I found out that not every application uses the comctl32.dll file that sits in C:\windows\system32 but that there are many files of the same name that reside in the WinSxS directory. But I can replace all the comctl32.dll I can find and it will still show the Vista/Win7 bitmap, which I don't understand...
|
|
ecp
New Member
👅
Posts: 20
OS: Windows 10 21H2
Theme: Win9x
CPU: R5-7535HS
RAM: 16GB
|
Post by ecp on Sept 15, 2024 12:00:10 GMT -8
You need to modify latest version both X64 and X86 versions of the comctl32.dll in WinSxS. Usually your current windows verison ones are used, for example;
C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.3636_none_60b6a03d71f818d5 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.3636_none_a863d714867441db
I used to do this but when i started using Windhawk modifying comctl32 files in WinSxS folder breaks UAC which means you won't be able to run anything as administrator. So if you go through with this modification please have a live linux usb or working recovery enviroment ready.
|
|
|
Post by nonameneeded on Sept 15, 2024 13:12:09 GMT -8
Ok thx but it doesn't seem to work. There are no files that really reflect the windows version number (22631.2861 - Windows 11) I only find ones that end in 2506 so I chose the biggest ones (assuming that they are the ones that actually contain the bitmaps) and replaced them but it didn't change anything, even after restarting explorer.exe Why would I need a live linux usb drive if the uac stuff breaks? I could still disable the mod within Windows, couldn't I? But if it breaks something it might not be a great solution anyway, but in my case it doesn't seem to work. BTW: There is a way to include all directories that might include a file of that name, so you could use something like... C:\Windows\WinSxS\*\*\comctl32.dll ... for all comctl files that sit in a subfolder of a subfolder of the WinSxS folder (which two of them do) and ...
C:\Windows\WinSxS\*\comctl32.dll
... to apply the redirection to all files that reside in a subfolder of the WinSxS folder.
But as I said, it doesn't seem to work.
|
|
ecp
New Member
👅
Posts: 20
OS: Windows 10 21H2
Theme: Win9x
CPU: R5-7535HS
RAM: 16GB
|
Post by ecp on Sept 15, 2024 13:46:35 GMT -8
Oh I should've been more clear. Windhawk mod resource redirect doesn't work for this scenario. I used to manually modify comctl32.dll files but that was before I started using Windhawk around two years ago. When I tried to modify comctl32.dll with Windhawk enabled, UAC breaks for some reason. Linux or WinRE is needed because without administrator rights I couldn't put back original comctl files.
|
|
|
Post by nonameneeded on Sept 15, 2024 13:52:41 GMT -8
Oh ok. Now I get it.
But I wonder why it doesn't work with resource redirect because according to the description it should work. Because the resource redirect mod can definitely retrieve bmp resources from redirected files so why it doesn't work is unclear to me.
|
|