Your Ad Here

Monday, November 28, 2011

How to change default icons of the system folders by using REGEDIT

A simple trick to change the icons of systemfolders is written in article of my previous blog
http://online-tricks.blogspot.in/2009/08/how-to-change-icon-of-recyclebin-of.html. Accroding to this article we have given the path from our local disk, but if we want to use icons provided in the operating systems than how to use these icons.

First question that comes in our mind is where are these icons in the systems so that we can use these. These icons are available in the binaries of system folders, if you are using Windows XP than these icons are available in "C:\windows\System32\shell32.dll" file and if you are using Windows7 then these icons are in "C:\Windows\System32\imageres.dll" file.



Now to change icons of the system folder navigate to registry key
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{CLSID_OF_FOLDER}\DefaultIcon".
Now in right hand pane set the value of (Default) key to the path of Icon.
Sample value of (Default) key is shown below for Both Win XP and Win 7

Win XP: "c:\windows\system32\shell32.dll,54"
Win 7: "c:\Windows\System32\imageres.dll,-100"


CLSIDs of various system folders are as followed:
System Folder CLSID
My Computer {20D04FE0-3AEA-1069-A2D8-08002B30309D}
Recycle Bin {645FF040-5081-101B-9F08-00AA002F954E}
My Document {450D8FBA-AD25-11D0-98A8-0800361B1103}
Control Panel {21EC2O2O-3AEA-1O69-A2DD-08002B30309D}
History {FF393560-C2A7-11CF-BFF4-444553540000}