Changing Icons with Imageres.dll, Major Problems...

jrodefeld

New member
Local time
7:07 PM
Messages
4
Hello everyone,

I have been having some major problems customizing the icons for Windows 7 (Ultimate x64).

I edited imageres.dll with Resource Hacker and changed a number of the icons, then I saved the file.

I looked through the process of replacing the default imageres.dll file in System32 folder on multiple threads and several websites.

However, it seems that no matter what I do, I somehow mess up my whole system and I have to restore from a system image.

I am able to replace the file just fine. I take ownership of imageres.dll in system32 and rename it, and then copy the modified file and make sure it says "imageres.dll".

The copy process works out fine.

However, when I reboot, I cannot log into Windows. It goes to the screen where you would normally select the user and type the password to get into windows.

However, there are no user accounts to choose from. I can only reboot or shutdown at that stage. No user accounts are accessable. I see the login screen wallpaper and the buttons at the bottom, but no user images or accounts that I can log in with.

This happens if I try to boot into safe mode as well.


What is causing this? I haven't heard this described in any threads I have read. In fact, there was one time that I was able to replace the imageres.dll file and have it work and update some icons, but I cannot remember exactly which method I used. Shortly after that, I screwed something up (unrelated to that problem) and had to restore from a system image, which was created before I modified the imageres file.


Can someone here please help me? I spent a long time modifying icons in imageres.dll and I really want to use them. It is really getting tedious to have to do a full system restore from an image every time I try to modify this file.

I really need some help.
 

My Computer My Computer

OS
Windows 7 Ultimate x64
I just found something out.

If I try and open up the modified imageres.dll file in Resource Hacker, when I go to look at the icons in "Icon Group", I see this error message,

"This file has a non-standard resource layout... it has probably been compressed with an "EXE compressor"."

What does this mean? Is that why my computer "breaks" every time I try to copy this file to the system32 folder?

Can I repair the imageres.dll file somehow? I am pretty sure I changed all the icons correctly in the Resource Hacker program.

I could open the file while I was working with it. Then I copied the file to another drive, restored windows from an image, and now I cannot look at the icons in Resource Hacker anymore.

Can someone please offer some advice and help for this?

I just want to see the modified icons I took so long to put together in the dll file.

Thanks.
 

My Computer My Computer

OS
Windows 7 Ultimate x64
hello.

the error message in resource hacker is for the absence of all icon resolutions, and nothing serious.

at work now. returning, i will have another look, if i can help you somehow
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Assembled
OS
Microsoft Windows 10 Pro Insider Preview 64-bit
CPU
Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. B85M-D3H
Memory
Corsair Vengence 4GB x2 (8.00GB Dual-Channel DDR3 @ 798MHz)
Graphics Card(s)
2047MB GeForce GTS 450 (ZOTAC International)
Sound Card
Onboard (Realtek High Definition Audio)
Monitor(s) Displays
LG Flatron E2040T
Screen Resolution
1600x900
Hard Drives
Western Digital 1 TB
Seagate 500 GB
PSU
Corsair VS550
Case
Cooler Master K380
Cooling
Cooler Master Seidon 120V Plus
Keyboard
Logitech MK260r
Mouse
Logitech MK260r
Internet Speed
PMPL Broadband
Antivirus
Windows Defender + MBAM
Browser
Firefox
Other Info
Dell Studio 15" Laptop
If you put you imageres file in a zip folder and upload it I will have a look for you whilst we wait for archie to get back.
Also at this point I would run this - http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html just to put all the origional files back in place so we have somewhere to start from.

Danny

Edit - One other thing I see you are using 64bit windows, did you also modify the SystemWOW64 imageres.dll aswell, as there are 2 files to alter in a 64bit system.
 

My Computer My Computer

Computer Manufacturer/Model Number
acer aspire 5935g
OS
Windows 7 Home Premium x64 SP1
CPU
intel(R)core(TM)2 duo CPU T6600 @ 2.20GHz
Motherboard
intel gm45/gm47 revision 07
Memory
3 gb ddr3
Graphics Card(s)
ati radeon hd4570/512mb
Monitor(s) Displays
lop156wh2-tle1 15.3 flat
Screen Resolution
1366x768
Hard Drives
OCZ-Agility3 60gig ssd
320gig external hdd
500gig external hdd
Mouse
Optical
Internet Speed
30Mbps Down/30Mbps Up
If you put you imageres file in a zip folder and upload it I will have a look for you whilst we wait for archie to get back.
Also at this point I would run this - http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html just to put all the origional files back in place so we have somewhere to start from.

Danny

Edit - One other thing I see you are using 64bit windows, did you also modify the SystemWOW64 imageres.dll aswell, as there are 2 files to alter in a 64bit system.


Initially I didn't modify the SystemWOW64 file as well. I did try that and the same thing happened.

However, are the imageres.dll files entirely different in System32 vs SystemWOW64?

I heavily modified the dll I found in the System32 folder. Can I simply copy that file to SystemWOW64 as well as System32 or do I have to start from scratch and modify the WOW64 file separately?

Here is the imageres file:

imageres.zip


Thanks for the help.
 

My Computer My Computer

OS
Windows 7 Ultimate x64
If you put you imageres file in a zip folder and upload it I will have a look for you whilst we wait for archie to get back.
Also at this point I would run this - http://www.sevenforums.com/tutorials/1538-sfc-scannow-command-system-file-checker.html just to put all the origional files back in place so we have somewhere to start from.

Danny

Edit - One other thing I see you are using 64bit windows, did you also modify the SystemWOW64 imageres.dll aswell, as there are 2 files to alter in a 64bit system.


Initially I didn't modify the SystemWOW64 file as well. I did try that and the same thing happened.

However, are the imageres.dll files entirely different in System32 vs SystemWOW64?

I heavily modified the dll I found in the System32 folder. Can I simply copy that file to SystemWOW64 as well as System32 or do I have to start from scratch and modify the WOW64 file separately?

Here is the imageres file:

imageres.zip


Thanks for the help.

Hate to be the bearer of bad news here but

DO NOT JUST COPY THE FILES OVER.

Although the files are very similar you cannot just copy them over. You must follow the same procedure on the SystemWOW64 imageres as you did with the System32 one, also some also appear in the Shell32.dll aswell depending on the ones you are changing, I will have a look at your file now. Hang Tight

Danny
 

My Computer My Computer

Computer Manufacturer/Model Number
acer aspire 5935g
OS
Windows 7 Home Premium x64 SP1
CPU
intel(R)core(TM)2 duo CPU T6600 @ 2.20GHz
Motherboard
intel gm45/gm47 revision 07
Memory
3 gb ddr3
Graphics Card(s)
ati radeon hd4570/512mb
Monitor(s) Displays
lop156wh2-tle1 15.3 flat
Screen Resolution
1366x768
Hard Drives
OCZ-Agility3 60gig ssd
320gig external hdd
500gig external hdd
Mouse
Optical
Internet Speed
30Mbps Down/30Mbps Up
I get the same error as you when opening with resource hacker and also icon viewer says there are no icons at all in the file :confused: Your file is also about 9-10meg bigger than normal, have you added any new ones or just replaced some originals.

What was your exact process for replacing the icons and also a sample of the icons used would be helpful at this point.

I've not come across that error before and Archie is the expert in this but I would say the file is no good (sorry) Either the icons you used or the process to replace them is not right.

I can't even extract any icons with IcoFx.:(

Capture.PNG
 

My Computer My Computer

Computer Manufacturer/Model Number
acer aspire 5935g
OS
Windows 7 Home Premium x64 SP1
CPU
intel(R)core(TM)2 duo CPU T6600 @ 2.20GHz
Motherboard
intel gm45/gm47 revision 07
Memory
3 gb ddr3
Graphics Card(s)
ati radeon hd4570/512mb
Monitor(s) Displays
lop156wh2-tle1 15.3 flat
Screen Resolution
1366x768
Hard Drives
OCZ-Agility3 60gig ssd
320gig external hdd
500gig external hdd
Mouse
Optical
Internet Speed
30Mbps Down/30Mbps Up
Hello jrodefeld .

If you upload the icons in a zip for us, any of us may try to do it for you. And what Danny told is right, you are to modify both the files in a 64 bit system. Files are identical, but locations are different :)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self Assembled
OS
Microsoft Windows 10 Pro Insider Preview 64-bit
CPU
Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz
Motherboard
Gigabyte Technology Co., Ltd. B85M-D3H
Memory
Corsair Vengence 4GB x2 (8.00GB Dual-Channel DDR3 @ 798MHz)
Graphics Card(s)
2047MB GeForce GTS 450 (ZOTAC International)
Sound Card
Onboard (Realtek High Definition Audio)
Monitor(s) Displays
LG Flatron E2040T
Screen Resolution
1600x900
Hard Drives
Western Digital 1 TB
Seagate 500 GB
PSU
Corsair VS550
Case
Cooler Master K380
Cooling
Cooler Master Seidon 120V Plus
Keyboard
Logitech MK260r
Mouse
Logitech MK260r
Internet Speed
PMPL Broadband
Antivirus
Windows Defender + MBAM
Browser
Firefox
Other Info
Dell Studio 15" Laptop
I am getting an error when trying to look at or extract the icons with Restorator 2007 also must be some bad images or something.

Just as a side note all the icons in the imagere.dll in both C:\Windows\System32 and C:\Windows\SysWOW64 are the same (even the same number) that is one reason why I use Restorator 2007 after editing the first .dll then you can click and drag and drop the whole icon folder to your desktop then you can load up the second .dll and click and drag and drop the whole folder back in the second one.
As Archie said above give us the icons and someone will do it for you.
Jerry
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Sager NP9170
OS
Win 7 Pro x64 / Win 10 Pro
CPU
Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
Motherboard
CLEVO P170EM
Memory
12 GB
Graphics Card(s)
(1) Intel(R) HD Graphics 4000 (2) NVIDIA GeForce GTX 675M
Sound Card
(1) Realtek High Definition Audio (2) Intel(R) Display Aud
Monitor(s) Displays
17.3
Screen Resolution
1920x1080
Hard Drives
(1) Samsung 860 EVO 500GB(OS) (1) Samsung 860 EVO 500GB(Data)
Keyboard
Backlite
Antivirus
MSE, Malwarebytes Pro
Browser
Firefox
Other Info
DESKTOP: Custom-built.
OS: Win 10 Pro x64.
CASE: Rosewill R5.
CPU: Intel I5 4670K CPU @ 3.40GHz.
CPU COOLER: Cool Master Hyper 212 EVO.
MOTHERBOARD: Asus Z87-A.
MEMORY: Kingston HyperX 2x4 GB.
GPU: Nvidia Geforce 650 TI.
PSU: Corsair TX750.
DRIVES: (1) Samsung 840 120 GB SSD (2) Western Digital blue 500 GB 7200 RPM.
Thanks for all the help.

I figured the file was corrupt, so I went ahead and redit both the system32 imageres.dll file and the syswow64 file.

Now they are working when I replace the files.



However, I do have one problem. I changed the default folder icon, but some of my folders are not changing. The vast majority have changed, but (under C:) not "Users", "Intel", "Media Server" and a handful of others throughout my system.

I am nearly positive that I changed every folder icon in imageres.dll.

I did clear the icon cache. I even also changed the default folder through the registry as well.


What do you think could be the problem?


Also, is there any reason to modify the shell32.dll file as well? Maybe I need to change the folder icons in that file?

Thanks for the help.
 

My Computer My Computer

OS
Windows 7 Ultimate x64
Glad you are getting there jrodefeld,

Did you change all 5 parts of the folder icon in the imageres.dll 3,4,5,6,162 in both System32 and SystemWOW64. It does sometimes take a while for them all to take, Rebuild the icon cache again and also delete thumbnails see if you can force them to take.

There are some folder icons in Shell32 as well but you shouldn't have to change them for this to work (I do but that's my OCD) but you could try that also.

Danny
 

My Computer My Computer

Computer Manufacturer/Model Number
acer aspire 5935g
OS
Windows 7 Home Premium x64 SP1
CPU
intel(R)core(TM)2 duo CPU T6600 @ 2.20GHz
Motherboard
intel gm45/gm47 revision 07
Memory
3 gb ddr3
Graphics Card(s)
ati radeon hd4570/512mb
Monitor(s) Displays
lop156wh2-tle1 15.3 flat
Screen Resolution
1366x768
Hard Drives
OCZ-Agility3 60gig ssd
320gig external hdd
500gig external hdd
Mouse
Optical
Internet Speed
30Mbps Down/30Mbps Up
  • Like
Reactions: Arc
Back
Top