How many shell32.dll's does Windows use?

dunfiddlin

Banned
On a number of occasions now I have edited my system32\shell32.dll resources, saved the new file, gone through a restart and seen absolutely no difference. I have checked that the file in place is the edited version (it is!) but still the old values are being used. So is the system using a phantom shell32 from elsewhere and, if so, how, why and all those other pertinent questions? How do I get Windows to take notice of what I'm doing?

Win 7 Professional, 32 bit.
 

My Computer

OS
Windows 7
On a number of occasions now I have edited my system32\shell32.dll resources, saved the new file, gone through a restart and seen absolutely no difference. I have checked that the file in place is the edited version (it is!) but still the old values are being used. So is the system using a phantom shell32 from elsewhere and, if so, how, why and all those other pertinent questions? How do I get Windows to take notice of what I'm doing?

Win 7 Professional, 32 bit.

You're not allowed to edit that file. Windows will replace it using a cache of unmodified system files. There are supported mechanisms for doing the things you want. Please tell us what it was you were trying to accomplish and we'll try to help you in a way that will not destroy your system.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Apple
OS
El Capitan / Windows 10
CPU
i7-4980HQ
Memory
16GB
Graphics Card(s)
Iris 5200
On a number of occasions now I have edited my system32\shell32.dll resources, saved the new file, gone through a restart and seen absolutely no difference. I have checked that the file in place is the edited version (it is!) but still the old values are being used. So is the system using a phantom shell32 from elsewhere and, if so, how, why and all those other pertinent questions? How do I get Windows to take notice of what I'm doing?

Win 7 Professional, 32 bit.

You're not allowed to edit that file. Windows will replace it using a cache of unmodified system files. There are supported mechanisms for doing the things you want. Please tell us what it was you were trying to accomplish and we'll try to help you in a way that will not destroy your system.

Ok ... now you've panicked everyone ... I most certainly can and may edit the resources of that file, having taken ownership and applied every possible permission to it and using recognised editors and replacement techniques. Many visual styles and themes depend on replacing the file with a customised version so this is hardly news.

As I already stated, it is not the case that the edited file is being replaced or deleted by the system (nor bringing Windows to its knees!) The edits are still in place after many reboots and start-ups. It is simply that the changes are having no obvious effect which suggests that it is being bypassed in some way or, despite appearances, is not actually the main file used by Windows 7 in the first place.
 

My Computer

OS
Windows 7
You might want to try to find some windows modder forums to ask this question.

If you plan on delving into the tricksey world of hacking at system dlls, you will need a LOT more help or be prepared to spend a tremendous amount of time figuring this all out yourself. In fact a lot of people into modding may not even give you much help as they frequently seem to regard those things as trade secrets themselves :D

But anyway, the question is probably far to specific and "out of bounds" for most or anyone in this specific forum. Windows is complex enough just in the realm of expected use which most of us reside in. Outside of that you end up in some pretty specialized areas.
 

My Computer

Computer Manufacturer/Model Number
Scratch built
OS
Windows 7 x64 Ultimate
CPU
i7 960
Motherboard
Asus P6X58D
Memory
12 Gig Corsair Dominator
Graphics Card(s)
Nvidia 480
Sound Card
Maudio Delta 44 + breakout box
Monitor(s) Displays
Dell UltraSharp U2410 24in and Samsung 21 dual monitors
Screen Resolution
1920x1200 and 1280x1024
Hard Drives
Primary: Intel X-25M G2 160G SSD
Secondary: Segate baracuda 1.0 TB
HDs in AHCI mode.
PSU
Corasair TX850
Case
Cooler Master HAF
Cooling
Corsair H50
Keyboard
Logitech G15 + N52 game pad
Mouse
Logitech MX518
Internet Speed
15kbs down 4.5kbps up
Other Info
WEI 7.6
CPU & RAM 7.6
Graphics 7.9
Hard disk 7.7
On a number of occasions now I have edited my system32\shell32.dll resources, saved the new file, gone through a restart and seen absolutely no difference. I have checked that the file in place is the edited version (it is!) but still the old values are being used. So is the system using a phantom shell32 from elsewhere and, if so, how, why and all those other pertinent questions? How do I get Windows to take notice of what I'm doing?

Win 7 Professional, 32 bit.

You're not allowed to edit that file. Windows will replace it using a cache of unmodified system files. There are supported mechanisms for doing the things you want. Please tell us what it was you were trying to accomplish and we'll try to help you in a way that will not destroy your system.

Ok ... now you've panicked everyone ... I most certainly can and may edit the resources of that file, having taken ownership and applied every possible permission to it and using recognised editors and replacement techniques. Many visual styles and themes depend on replacing the file with a customised version so this is hardly news.

As I already stated, it is not the case that the edited file is being replaced or deleted by the system (nor bringing Windows to its knees!) The edits are still in place after many reboots and start-ups. It is simply that the changes are having no obvious effect which suggests that it is being bypassed in some way or, despite appearances, is not actually the main file used by Windows 7 in the first place.

A fair amount of panic is probably warranted when editing a file as important as shell32.dll. With native code, you often explicitly allocate memory for all loaded resources. Well written code will query for the sizeof the resource prior to allocating memory for it. Not all code is well written. Changing resources out it very risky for exactly this reason.

I suspect that you've changed out icon resources which are cached by Windows so it does not have to open every file to read the icons. See How to Rebuild the Icon Cache in Windows Vista and Windows 7 - The Winhelponline Blog
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Apple
OS
El Capitan / Windows 10
CPU
i7-4980HQ
Memory
16GB
Graphics Card(s)
Iris 5200
Yes, I'm well aware of the risk but this is only a variation on something where many have boldly gone before. Unfortunately it's not icons else I would have been prepared for possible caching problems. There is one minor change to a bitmap. Does Windows cache those too?
 

My Computer

OS
Windows 7
Yes, I'm well aware of the risk but this is only a variation on something where many have boldly gone before. Unfortunately it's not icons else I would have been prepared for possible caching problems. There is one minor change to a bitmap. Does Windows cache those too?

Bitmaps are frequently stored in many different bit depths and the proper one selected at runtime. Did you change each one? Bitmaps are not cached by the shell that I'm aware of.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Apple
OS
El Capitan / Windows 10
CPU
i7-4980HQ
Memory
16GB
Graphics Card(s)
Iris 5200
Yes, I'm well aware of the risk but this is only a variation on something where many have boldly gone before. Unfortunately it's not icons else I would have been prepared for possible caching problems. There is one minor change to a bitmap. Does Windows cache those too?

Bitmaps are frequently stored in many different bit depths and the proper one selected at runtime. Did you change each one? Bitmaps are not cached by the shell that I'm aware of.

No, I thought not too. Yes, all instances have been modified at the appropriate sizes. It's all very weird!
 

My Computer

OS
Windows 7
Any update to this? I'm curious to see if the TS solved the issue.
 

My Computer

OS
home: Windows 7 x64 • work: OS X 10.12
CPU
home: 3.0 GHz x4 • work: 2 GHz x2
Memory
home: 8 GB • work: 16 GB
Any update to this? I'm curious to see if the TS solved the issue.

Sorry. I'd forgotten all about this. I am now pretty convinced that there is only one shell32 in operation. It's been through a few changes and I've adopted different ways of making changes since so I can't be absolutely sure but I believe I was simply mistaken in the placement of the resources which actually affected my system set-up at the time.
 

My Computer

OS
Windows 7
I dont know how dunfiddlin replaces his modded shell32.dll files . Yes, I do agree that it is possible to edit dll files . I also edit those sometimes . But I have never edited shell32.dll. I edit imageres.dll off and on to change system icons . I can share my procedure in this regard, if it is needed, or if it is helpful .

First of all, it is to have a system image backup, if there might be a further trouble. Then edit the dll file, and save the result on desktop, with the original filename. Then go to the actual location, and rename the actual one as filename.old (as you have taken ownership, you are permitted to do it). Now pot the modded one in the actual location, and restart, either computer or explorer. If it is to change anything, the change will take effect.

I am saying that it is the procedure that I follow, and cannot claim that it is the only procedure, coz perhaps in devart there is a tiny program called windows 7 system files replacer, made by Kishan Bajaria.
 

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
Back
Top