Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Open Folder Icon

Comment
 

Open Folder Icon

How to Change the Active Open Folder Icon in Vista
Published by Brink
07-31-2007

How to Change the Active Open Folder Icon in Vista
Information
  This will show you how to change the active open folder icon to use a icon of your choice to help tell what folder is open in all folder trees in the Vista. For example, in the Navigation Pane and Start menu All Programs. It makes it easier to navigate when the open folder icon is different than all the other folder icons.
RELATED LINKS:EXAMPLE: Folder Tree Open Icon Before and After
NOTE: Notice how the default yellow folder is changed to another icon now to help see which folder you have open currently.
Name:  Before.jpg
Views: 17027
Size:  13.5 KBName:  After.jpg
Views: 17010
Size:  13.0 KBstart_menu.jpg
BEFORE -------------------- AFTER --------------------- AFTER



METHOD ONE:
Through a Download
NOTE
  To use a icon of your own instead of the one in the example above, see step 7D in the Manual Way below.
1. To Change the Active Folder Icon -
A) Click on the download button below to download the Open Folder.reg file.
B) Go to step 3.


2. To Restore the Default Active Folder Icon -
A) Click on the download button below to download the Remove_Open_Icon.reg file.


3. Click on Save, and save the .reg file to the Desktop.

4. Right click the .reg (On Desktop) file and click on Merge.

5. Click on the Run button in the Security Warning pop-up.

6. Click on Continue (UAC), Yes, and then OK when prompted.

7. Log off and log on, or restart the computer to apply the changes.

8. When done, you can delete the .reg file (On Desktop).



METHOD TWO:
The Manual Way
1. Open Start Menu.

2. In white line (Start Search) area, type regedit and press Enter.

3. Click on Continue in the UAC prompt.

4. In regedit, go to: (See screenshot below)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer

5. In left pane, right click explorer and click on New and Key.
reg_explorer.jpg
6. Type Shell Icons and press Enter. (See screenshot below)
NOTE: If Shell Icons is already here, then you can skip steps 5 and 6.
reg_new_key.jpg
7. To Change the Active Folder Icon -
A) In the right pane of Shell Icons, right click on a empty area and click on New and String Value. (See screenshot below)
reg_shell_icons.jpg
B) Type 4 and press Enter. (See screenshot below)
new_string_value.jpg
C) In the right pane, right click on 4 and click on Modify. (See screenshot below.
string_value_4.jpg
D) Type C:\windows\system32\Shell32.dll,137 and click on OK. (See screenshot below)
NOTE: If you want to use a icon of your own, then type in the full path of where you saved the icon instead.
Name:  Modify.jpg
Views: 16820
Size:  14.2 KB
E) The registry will now look like this.
shell_icons_after.jpg
F) Go to step 9.
8. To Restore the Default Active Folder Icon -
A) In the right pane of Shell Icons, right click on 4 and click on Delete. (See screenshot above)

B) Click on Yes to confirm the deletion.
9. Close regedit.

10. Log off and log on, or restart the computer to apply the changes.
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,805
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 04-10-2008  
ryaske
Newbie


Join Date: Apr 2008
Vista Home Premium 32bit !
 
 

Re: Open Folder Icon

Hey!! Thanks for this solution .. but I think its a little miss-labeled.

This changes the ACTIVE folder icon, not the OPEN icon!

I.e. In windows XP, every branch of the registry in Regedit that is EXPANDED has an "open folder icon" .. not just the ONE branch you are currently focused on (currently selected and highlighted).

The OPEN BRANCH icon is the functionality I was looking to duplicate!

Your solution does come close (and I thank you.. I can now tell which branch I am in when doing searches in regedit!) .. but I would really ALSO like to know which branches are open by showing a folder that is more open than the default.


------
haha I will leave my silly reply above just for enterintament. But I take it ALL back! I just ran regedit on my XP machine and to my surprise it was not happening as I've described above!

Therefore your solution is perfect and exactly what I was looking for (lol) THANK YOU!


Last edited by ryaske; 04-10-2008 at 11:27 AM.. Reason: I WAS WRONG!!
My System SpecsSystem Spec
Old 04-10-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Open Folder Icon

LOL Ryaske, welcome to Vista Forums.

I do like Active better than Open.

Thank you,
Shawn
My System SpecsSystem Spec
Old 06-30-2008  
hc03
Newbie


Join Date: Jun 2008
vista ultimate x64
 
 

Re: Open Folder Icon

is there a way to change the default folder icon? because all this does is it makes the folder the icon you want when its open =/
My System SpecsSystem Spec
Old 06-30-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Open Folder Icon

Hi hc03,

Welcome to Vista Forums.

Yes. In step 7D in the Manual method, substitute with the full path of the icon you want to use instead.

Hope this helps,
Shawn
My System SpecsSystem Spec
Old 07-25-2008  
noturchick
Newbie


Join Date: Jul 2008
Vista Home Premium 32bit
 
 

Re: Open Folder Icon

Hi Brink,

I followed your instructions, but it didnt change the folder icons... I did it through the manual version using my own icons..

on 7D is pasted this C:\Users\Home\Documents\Icons\Folder2.ico

Help! Not sure if im doing something wrong
My System SpecsSystem Spec
Old 07-25-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Open Folder Icon

Hi Noturchick, and welcome to Vista Forums.

Attach the icon file to a post so I can try to get it to work for me. If I can, I'll post back a reg file for you to use to do it with.

You might check for any typo's and to also try this path: %USERPROFILE%\Documents\Icons\Folder2.ico to see if it will work.

Hope this helps,
Shawn
My System SpecsSystem Spec
Old 08-30-2008  
OldBloke
Senior Member


Join Date: Aug 2008
Vista Home Premium x64 SP1
 
 

Re: Open Folder Icon

Quote  Quote: Originally Posted by ryaske View Post
Hey!! Thanks for this solution .. but I think its a little miss-labeled.

This changes the ACTIVE folder icon, not the OPEN icon!

I.e. In windows XP, every branch of the registry in Regedit that is EXPANDED has an "open folder icon" .. not just the ONE branch you are currently focused on (currently selected and highlighted).
Unfortunately we can't define separate icons for (a) the currently Active folder (the one in the tree whose files are being shown in the file pane) and (b) any folder containing subfolders which is currently expanded. Windows uses the same icon called SI_FOLDER_OPEN for both those situations.

You can use other values in the Shell Icons key, to define other icons, for example 3 is the icon for a closed folder and 29 is the Shortcut overlay arrow (set it to a blank transparent icon to have no arrow on shortcuts): "c:\folder\myblank.ico",0

Here's a list I have collected from a few web pages. I think they work in both XP and Vista, but I haven't tested them all.

0 to 13 are drive and application icons:
0 - Unknown application
2 - Default application
3 - Closed folder
4 - Open folder
5 - 5 1/4" Floppy
6 - 3 1/2" Floppy
7 - Removable disk
8 - Hard drive
9 - Network drive online
10 - Network drive offline
11 - CD drive
12 - Ramdrive
13 - Entire network
14 ?
15 - My Computer
16 - Printer manager
17 - Network neighborhood
18 - Network workgroup

19 to 27 Are the start menu icons:
19 - Programs icon
20 - Documents icon
21 - Settings icon
22 - Find icon
23 - Help icon
24 - Run icon
27 - Shutdown icon

Other icons
28 - Sharing overlay (hand)
29 - Shortcut overlay (small arrow)
30 - Default printer overlay (small tick)
31 - Recycle bin empty
32 - Recycle bin full
33 - Dial Up Networking folder
34 - Desktop
35 - Control Panel
37 - Printer folder
40 - Audio CD
41 ?
42 ?
43 - Favorites icon
44 - Logoff icon
45 ?
46 ?
47 - Lock
48 - Hibernate

To set one of them to an icon inside a .dll or .exe file, use the index number counting from 0, for example for the 4th icon in this.dll you would type:
"c:\windows\system32\this.dll",3

To set one of them to an .ico file, the string should end in ",0" because it's the first and only icon in that file. For example:
"c:\folder\subfolder\myicon.ico",0

Note, you need "quotes" around the path if it contains a space, but not around the comma and index number.
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
Folder Icon - Change Vista Default Folder Icon Tutorials
How to change folder icon that can preview images in the folder? Vista General
Icon for Indication of Open Registry Key Folder not working or mis Vista performance & maintenance
changing open folder icon in vista Vista General
Folder Icon in User Folder not appearing correctly Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46