Change The Default Windows XP Folder Icon!

This is the first and best tutorial on the net to change the default Windows XP Folder Icon!

Haven’t You Always Hated The Ugly Yellow Default Windows XP Folder Icon?

Well Now You Can Easily Change It, Without Any Applications Ruining Your PCs Performance!


Here We Go!:

1. First download Resource Hacker here, this is a small program used for editing .exe, dll and other Win32 resource files.

2. While it is downloading (it is pretty much an instantaneous, very small download, but oh well) we need to make a backup of one important system file called shell32.dll. It can be found in c:\windows\system32\shell32.dll. To see this file you may have to turn off ‘Hide protected operating system files’ and ‘Show hidden files and folders’ in the view tab of folder options (under tools in my computer). Just drag a copy of shell32.dll from system32 to your desktop.

3. Open resource hacker and select file - open. Open the copy of shell32.dll on your desktop.



4. Select 'Action' from the top menu and navigate to 'Replace Icon', click on it.

















5. Select either 4 or 5 in the list to the right, these are the folder icons. We will replace both of these. 4 is an open folder, 5 is a closed folder.


6. Highlight either 4 or 5 and select 'open file with new icon'. Navigate to the new icon (it should be close to the same size as the old one) and press open. Now click replace.

7. Do the same for the other icon (either 4 or 5), and click replace, making sure you use different 'closed' and 'open' folder icons.

8. Select file - save. Resource Hacker will also automatically create a backup on your desktop, you can just delete this. (The file we are editing is already a backup).

9. Now download the tiny and simple program called replacer from here. This is a program which makes it easy to replace system files, which you need to do to replace the original shell32.dll file with your edited one.

10. Now open Replacer, a DOS window will come up, follow the instructions on screen. You will have to drag the original system file and then the replacement system file (your backup shell32.dll file on the desktop which was edited). Once completed restart.



11. Download (if you don’t already have it) the simple Microsoft utility 'TweakUI' from here.

12. Run TweakUI, click repair in the left hand column. Select ‘Rebuild Icons’ from the drop-down list and then click repair now.



Congratulations! You now have an all new Default Windows XP Folder Icon!

Your desktop icon arrangement will be lost, you will have to sort that out again. Try making a new folder to test out your new icon!

17 comments:

ardianzzz said...

Wow thanks for infos...

Anonymous said...

Hello thanks for great work!

I wanna use windows 98 default toolbar icons instead of xp version
I followed your instruction and replace them with win98 toolbar icons in "browseui.dll" but after restart It shown bad and crapt...
Can you please help me ?

Anonymous said...

Although I Changed many icons with your manual such as hard disk, floppy, cdrom etc to win98 style but can't win with tool bar icons.
Thanks for advance
Nader

KaneBT said...

Hi!

@Ardianzzz: Thanks!:)

@Anonymous: Unfortunately this tutorial will not work to change the XP toolbar icons when editing browseui.dll. You can however use programs such as 'Styler' or 'YZ Toolbar' to change these icons:) Good Luck!

Thanks!

Unknown said...

When trying to open shell32.dll Resource Hacker pops an error saying, "unable to read resource section" Is anyone familiar with this?

Anonymous said...

I wanted to replace the default folder icon but i encounterd an error when trying to replace it:
"Out of System Resources" I really want to use this specific icon because it goes really well with my theme, please help

KaneBT said...

Hi!

@Nima: I have heard of this error being encountered very rarely in Resource Hacker. It usually means the .dll file is corrupt in some way. Try re-copying shell32.dll from system32 to your desktop:)

@Anonymous: This error means that the icon you are trying to replace the default one with is not the same dimensions as the current system file. For instance the icon may be 16x16 but it needs to be 32x32. Unfortunately this means you might not be able to use that icon. If you can find another version on the net in a different size you might be lucky:) OR you could open the .ico file in an image-editing program (like photoshop) and save it again as a 32x32 icon. You can download Paint.NET free and get a plugin which will let you open and edit .ico files. Good Luck!

Thanks,

Anonymous said...

Hey.
Thanks for the info but dos this change the folders in other users?

Anhkang said...

I tried but I got the "Out of system resources" error, so i gave up, but now my start bar isn't functioning properly, and the address bar in explorer isn't working either.

Anhkang said...

Nevermind, I just forgot to copy shell32.dll, my bad.

Ster said...

You don't need to do all that resource hacking.

Add or change the following registry entry:
---------contents-of-GenericFolder.reg ---------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
"3"="C:\\path\\to\\icons\\GenericFolder.ico"
------------------------------------------------

Change the data to use your correct path to your icon.

look into registry editing if you don't understand the above.

I haven't tried but maybe 1,2,4, etc can be changed too.

You may have to use "TweakUI" from the Powertoys for XP utility to rebuild icons also as in the above article.

Ster said...

icon numbers:
http://www.virtualplastic.net/html/icn_reg.html

Emil said...

This is a wonderful thing.
I have a question though. I get an error when using the "Replacer". It appears as a text saying "copying failed" when I have said yes I want to replace it.

Something works. When inside a program and choosing open and I get the chance to browse folder I see this new folder icon. Looking good. But everywhere else I see the old icon symbol. Can you help me with this?

Kind regards
Emil

Unknown said...

Worked excellently for me :) Thanks for the tutorial!

Jack Crawford said...

OMG Lol...
I did all of this by myself exactly until I got up to the part with Tweak UI, then I went looking, found this helpful page and the 1 step I must of missed. Lol Thanks.







.......................WAIT.... Tweak UI is only for Service pack 1.0 and not 3.0??? THATS STUFFED UP.

Jack Crawford said...

Oh wait... NVM
Soz, I downloaded the 64 bit version.......... Thanks!!!

Anonymous said...

So when I hit the "replace" button after choosing the icon I want, it comes up with "Invalid Window Handle". I've looked all over to try and figure out what the problem means, and how to fix it, but I can't find anything anywhere. It would be greatly appreciated it someone could assist me here.

Post a Comment

Comment Here!