Tuesday, June 10, 2008

Restore Default Folders Icon in Vista


Scenario:

A) One day, you open your profile and find that your beautiful Vista icon for Documents, Pictures, Music, Downloads folder is gone. Everything just revert back to old times yellow folder....


Materials needed:
1) Icon package(get the 'desktop.ini' for most folder)


Steps:
1) Go to your user profile folder and select the folder(for me, it's Documents) that you wish to transform back to default Vista icon.


2) Double click to open the folder. Then go to 'Organize'->'Folder and Search Options'.


3) Check 'Show hidden files and folders' and click 'OK'.


4) Right now you should be able to see the file named 'desktop'. It's configurations types of file so it has .ini extension. (If you don't see any file by that name, don't panic. You can just copy and paste the desktop.ini from respective folders in the Icon package)


*you might want to backup a copy of this file first.
5) Open the 'desktop' file. Copy following code(for Documents only) and replace it into the file content and save.
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21770
IconResource=%SystemRoot%\system32\imageres.dll,-112
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-235

6) Log off windows and log in again to see the magic.


7) Follow step (4) to (6) for other folder that has lost its 'true colours'. Just make sure you replace the right 'desktop' code from few code listed below or from the 'Icon package'.

For Pictures folder,
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779
InfoTip=@%SystemRoot%\system32\shell32.dll,-12688
IconResource=%SystemRoot%\system32\imageres.dll,-113
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-236
[LocalizedFileNames]
Sample Pictures.lnk=@%SystemRoot%\system32\shell32.dll,-21805

For Music folder,
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21790
InfoTip=@%SystemRoot%\system32\shell32.dll,-12689
IconResource=%SystemRoot%\system32\imageres.dll,-108
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-237
[LocalizedFileNames]
Sample Music.lnk=@%SystemRoot%\system32\shell32.dll,-21806

For Downloads folder,
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21798
IconResource=%SystemRoot%\system32\imageres.dll,-184




4 comments:

Len Flier said...

Awesome dude! Thanks.

phukme said...

I am needing some help with "specify attributes in vista music folders".
I found =THIS PAGE= googling for an answer to my problem; namely, I have a separate partition for music and I want to be able to arrange all subfolders from the partition root folder, to show the following columns; in this order - track# - track name - artist - album - year. I don't want any genres or ratings and I want the rewuired columns to be dispalayed in the "DETAILS" view. I have migrated most of my music from an XP P.C. to a VISTA P.C. Hoping that someone can steer me in thr right direction.

Anonymous said...
This comment has been removed by a blog administrator.
Anonymous said...
This comment has been removed by a blog administrator.