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 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
 
LinkBack Tutorial Tools Display Modes
<!-- google_ad_section_start -->Open Folder Icon<!-- google_ad_section_end -->
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 change all the currently open (active) folder icons to a different icon when you open the folder in a folder tree. 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: 11790
Size:  13.5 KBName:  After.jpg
Views: 11779
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 Merge.
5. Click on the Run button for Security Warning pop-up.
6. Click on Continue (UAC), Yes, and then OK when prompted.
7. Logoff and logon, 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 Continue for 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 New and click Key.

reg_explorer.jpg

6. Type Shell Icons and press Enter. (See screenshot below)

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 New and click 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 Modify. (See screenshot below.
string_value_4.jpg
D) Type C:\windows\system32\Shell32.dll,137 and click 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: 11621
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 left pane, right click on Shell Icons and click Delete. (See screenshot above)
B) Click Yes to confirm the deletion.
9. Close regedit.
10. Logoff and logon, 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: 23,763
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
Show Printable Version Show Printable Version
Email this Page Email this Page

Applies to
All Vista Versions
64 Bit & 32 Bit

Page copy protected against web site content infringement by Copyscape

Old 04-10-2008  
ryaske
Newbie


Join Date: Apr 2008
Vista Home Premium 32bit !
 
Rep Power: 9
ryaske is on a distinguished road
  ryaske is offline

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 10:27 AM.. Reason: I WAS WRONG!!
My System SpecsSystem Spec
Old 04-10-2008  
Brink's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

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
 
Rep Power: 8
hc03 is on a distinguished road
  hc03 is offline

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's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

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-24-2008  
noturchick
Newbie


Join Date: Jul 2008
Vista Home Premium 32bit
 
Rep Power: 7
noturchick is on a distinguished road
  noturchick is offline

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's Avatar
Brink
Administrator



Join Date: Apr 2007
Vista x64 Ultimate SP2
Texas, USA
 
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
  Brink is offline

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's Avatar
OldBloke
Senior Member


Join Date: Aug 2008
Vista Home Premium x64 SP1
Australia
 
Rep Power: 14
OldBloke has a spectacular aura aboutOldBloke has a spectacular aura aboutOldBloke has a spectacular aura about
  OldBloke is offline

Re: Open Folder Icon

Quote:
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

Tags
file & folder settings, folder, icon, open

Tutorial Tools
Display Modes


Similar Threads
Tutorial Tutorial Starter Category Comments Last Post
Right click to open folder in a new window Customize indi folder o Christina Vista file management 1 09-10-2007 03:40 PM
changing open folder icon in vista Mark Vista General 3 07-30-2007 09:53 PM
How to change folder icon in documents folder John Thomson Vista General 15 07-26-2007 08:06 AM
Explorer crashes when trying to open a folder on a shared folder on a Win 2003 server TheMackenzie Vista networking & sharing 3 05-17-2007 06:39 AM
Folder Icon in User Folder not appearing correctly Synapse Syndrome Vista General 11 02-03-2007 12:46 PM


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