DLL Hacking - Modifying your shell32.dll

This may have been posted already, but instead of going through safemode/cmd prompt you could always use Replacer. I use this all the time to swap out explorer.exe after modding it with rezhack.

Cheers :)
 
hmmm. So i have some problems! lol. I modified msgina.dll so that my default Win XP Pro bitmaps are overrided with custom bitmaps with my company logo on them. this works great. however there is one i cant find i searched msgina.dll and shell32.dll for the last win xp pro logo to replace and i felt relieved after i found a win xp pro logo in shell32. so i followed the steps provided in the tutorial to change this and everything was sucessfully modified however i still get the win xp pro logo. I cant find where its at to replace it!

Any advice
Thanks!
-yegs
 
I want to edit the Shell32.dll in XP so that it can show the "file transfer speed" just like in Vista. Is this possible? And how?
 
PLEASE HELP!
:nervous::nervous:

I recently followed these steps to change a theme on my laptop:

1. Login as a user with Administrative privileges -or- have Administrative credentials ready (check under the keyboard for a slip of paper).
2. Navigate to %systemroot%\System32
3. Right-click uxtheme.dll and click properties.
4. Take ownership of the file and close dialogs.
5. Repeat steps 3 and 4 for themeui.dll and shsvcs.dll
6. Right-click uxtheme.dll and click properties.
7. Give yourself (or group) Full Control permissions and close dialogs.
8. Repeat steps 6 and 7 for themeui.dll and shsvcs.dll.
9. Rename uxtheme.dll to uxtheme.old.
10. Rename themeui.dll to themeui.old.
11. Rename shsvcs.dll to shsvcs.old.
12. Copy patched files into %systemroot%\System32
13. Reboot (yes, this is really required)
14. Enjoy!


...Only I accidently ignored step 12! :dead:
Resultantly after rebooting i logged in to see:

"This application failed to start because UxTheme.dll was not be found. Re-installing this application may fix this problem"

This popped up for several things, explorer.exe, dwm.exe, then my computer rather frantically told me that my calendar, desktop window manager and explorer had stopped working. The screen subsequently went black.

Is it possible to rename these changed .dll files back?

Pleasee help! :cry:

COMPUTERIDIOT
 
Images and Links FIXED!
Modifying your shell32.dll

Introduction

Modifying your shell32.dll has become THE way for complete system customisation. What is your shell32.dll? It is the dll that contains most of Window's XP's icons. You could say it is the 'core' of Windows XP's icons. With this tutorial you will learn to modify your shell32.dll. This tutorial was made so that even 'newbies' can follow and understand, and the focus will be on changing icons. Also, if you already do not know, the operating system used here is Windows XP.

We are going to use Resource Hacker to modify your shell32.dll. So you are probably thinking to yourself, I could just do this in a more easy and quick way with a third party program such as Microangelo or Axialis IconWorkshop. But the truth is, most people cannot afford such software, and you learn a lot more this way. Plus this was the way I first customised icons my pc, and still do.

Some benefits of modifying your shell32.dll, using Resource Hacker:

* You do not need to invest in expensive software, in order to change icons on your pc.
* This is especially useful becaue, after you have made to changes to a particular dll file, you can save it for future use, so that you will not have to hack that particular dll file again. For example, on my computer I have several different dll files that are 'themed' with certain icon sets, such as MMX Mercury , Snow.E 2 , Crystal, or G.A.N.T. So when I feel like I want to use Crystal, all I have to do is just replace the current shell32.dll I am using, with my hacked one. Ten minutes later, if I want to use Snow.E 2, all I have to do is replace the Crystal dll with my Snow.E 2 dll.

Some disadvantages:

* The task may be a bit daunting for un-experienced users.
* There is ALWAYS a possibility that your pc will not function properly if you carry out this tutorial. Although this is highly unlikely, back up your data before attempting any dll modification.
* The process can consume a lot of your time, but the the advantages greatly outweigh this.

So let me say this again: BACKUP YOUR DATA. I, or ntfs.org cannot be held liable to any data loss that might occur. So lets begin.You can click on any of the screenshots in this tutorial to view a larger version.

Part 1 - Getting ready

You will need the following to start:

* Download Resource Hacker. This is an excellent freeware program that lets you view, modify, rename, add, and delete resources from win32 executables and resource files. In simple terms: this the the program you will use to modify your dll files.
* You also need an extracting utility like WinRAR. Since most icons come in packs, they are often compressed into formats such as .zip or .rar.
* Download some icons. Some good places are deviantart.com, deskmod.org, or visit any other site that you know of.
* You may want to get this that I have, so you can view all the icons within the most common dll file that is hacked, the shell32.dll. Use it as a reference as most dll's contain hundreds of icons.
* Print this tutorial out, as you might want the instructions for the part where you reboot in Safe-Mode with Command Prompt.
* Like I said before, backup your data.

Note: If you have already downloaded your shell32.dll, at this point you can proceed to "Part 3- Save, Replace, Enjoy".

Part 2 - Modify it!

1.) First of all, extract your icons. Go to your My Documents folder, and make a folder called 'My Icons'. Now, extract your icons into that folder. If you are having trouble using winzip, or winrar, look at this screenshot. Your icons are now ready to be used for dll hacking.

2.) Lets get Resource Hacker ready. The file comes in .zip format. If you are having trouble with this, look at this screenshot. After you have extracted resource hacker, double-click on 'ResHacker.exe'. This will start Resource Hacker.

2.jpg

http://ofg.osnn.net/images/dllhacking/2.jpg

3.) With Resource Hacker open, press Ctrl+O. This will bring up a dialog box. Where it says 'File Name' type in "x:\windows\system32\shell32". Replace the x with the drive name where windows xp is installed on your pc.

4.jpg

http://ofg.osnn.net/images/dllhacking/4.jpg

4.) Now press, enter. This will open up the shell32.dll. Your screen should look something like this:

5.jpg

http://ofg.osnn.net/images/dllhacking/5.jpg

Since we are replacing the icons in the shell32.dll, click on the '+' by by the 'Icon Group' folder. Remember, the 'Icon Group' folder, not the 'Icon' folder.

6.jpg

http://ofg.osnn.net/images/dllhacking/6.jpg

5.) Here is where the list of the icons in the shell32.dll I have comes in. If you did not download the list earlier, you can get it here. First think about what icon you want to replace. Then, using Find in notepad, locate its number. For example, if I wanted to replace the Network Drive icon, then I would go to Edit -> Find... and then I would search for 'Network Drive'.

Now I know that the icon number for Network Drive is 10.

7.jpg

http://ofg.osnn.net/images/dllhacking/7.jpg

Go back to Resource Hacker, and go to the icon number. In my case, it was the number 10.

8.jpg

http://ofg.osnn.net/images/dllhacking/8.jpg

Now that you have located the icon that you want to change, lets go on to the next step. Now, with the '1033' selected, go to

Action > Replace Icon ...

9.jpg

http://ofg.osnn.net/images/dllhacking/9.jpg

And you should get something like:


10.jpg

http://ofg.osnn.net/images/dllhacking/10.jpg

6.) This is when we replace the icon. Click on the 'Open File with new icon...', this will bring up an Open dialogbox. We now want to go to where you extracted those icons. Find an appropriate icon to replace the icon you want to replace.

This will what your screen might look like:

11.jpg

http://ofg.osnn.net/images/dllhacking/11.jpg

Click on 'Replace'. Make sure you have the right icon selected though. If you see a little hand instead of the icon you wanted do not worry. Do the same procedure for every icon that you want to replace. The icon in place of the old one might look like a a hand, but don't worry about that.

12.jpg

http://ofg.osnn.net/images/dllhacking/12.jpg

Part 3- Save, Replace, Enjoy.

1.) Go to File -> Save As ..., and save your modified shell32.dll with the name 'shell32_modified.dll', in the following directory: x:\windows\system32\shell32. Replace the x with the drive name where windows xp is installed on your pc.

Because windows is always using the shell32.dll(even as your reading this), you will need to replace your current shell32.dll outside of windows. The easiest way to do this is to:

* Reboot
* Press F8 as windows boots up (Right before the windows xp boot screen).
* Choose 'Safe Mode with Command Prompt' as your option.
* Once you login, type in 'cd..' and then type that in again.
* Type in 'cd windows/system32
* Type in 'ren shell32.dll shell32_original.dll'
* Then type in 'ren shell32_modified.dl shell32.dll'
* Reboot

Now, login to Windows and enjoy your new, modified shell32.dll!

Conclusion

Using this technique, you can replace various AVIs, bitmaps, and cursors too. You can also use this same technique to modify other dlls.

Comments? Suggestions? Questions?

I notice this is dated 2003.
My os is vista but the problem is I think is similar.
I cant open my xp office xls files by clicking on the saved file.
I cant add my xp office excel to "open with" list by a right click.
They have been ok for years, now the xls files have somehow been changed but still show as .xls in the file name
I can open a new excel programme workbook sheet, then in it open
a folder then the saved worksheet I need, but then when I re-save the worksheet as an .xls it still wont re-open directly from clicking on the file.
Do you think its the Shell32.dll ?
Regards
Scognamiglio
 
Have a look in the "default programs" tool and make sure Excel has all its defaults.
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back