Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: I change an icon but they don't survive

01 Nov 2013   #1
blockie

 
I change an icon but they don't survive

I have changed the icon on two drive shortcuts and one folder to icons that I made with an icon builder. I went through the normal routine of customization in all cases, even clicking the APPLY button before the OK button. Sometimes they do not survive a reboot or an on/off.
Anything else I can do to make them permanent?
Bill


My System SpecsSystem Spec
.
01 Nov 2013   #2
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 

Hello "Blockie"

Icons for external drives are stored in a hidden INF file on the external device (thumb drives, discs)
Not all devices will have an INF file, but you can create one.

I assume your icons are ICO files.
The folder that is not retaining your custom icon, check if it has a hidden "desktop.ini" file
To view hidden files and folders ... see the early text in HOW TO ASSIGN AN ICON TO A DATA STORAGE DEVICE in this thread.

Contents of the "desktop.ini" should look something like
Code:
[.ShellClassInfo]
IconResource=C:\windows\system32\SHELL32.dll,27
[ViewState]
Mode=
Vid=
FolderType=Generic
... the "IconResource" string should be the full-name to your ICO file.

HOW TO ASSIGN AN ICON TO A DATA STORAGE DEVICE:-
Windows Explorer > Tools > Folder options ... (or Start > Settings > Control Panel > Folder Options)
View (tab)
(•) Show Hidden Files, folders and drives <<< SELECTED
[ ]Hide protected operating system files (Recommended) <<< UNCHECK
Apply (btn)
OK (btn)

Windows Explorer
create a new folder anywhere (it will be deleted when this entire process is finished)
right click the new/temp folder > Properties > Customize > Change icon > Browse to the icon of your choosing.
Apply (btn)
OK (btn)

New/temp folder:-
- in the new/temp folder there will be a hidden folder (greyed out) "desktop.ini"
- open the INI file
- copy the string after "IconResource=" to clipboard
eg C:\windows\system32\SHELL32.dll,27
- close the INI file

Note   Note
If the external device does not have an INF file ...
  • Open Notepad:
  • Type this text into the Notepad orphan -- except for the <icon path here>
Code:
[autorun]
ICON=<icon path here>
  • Save the Notepad doc as "autorun.inf"
  • FileType option in Notepad must be "AllFiles (*.*)
    otherwise the file will be saved as "autorun.inf.txt" a TXT file not an INF file
  • Save the new file in the external device eg, "F:\MyData"

Insert the path copied from the "desktop.ini. after "ICON=" in the "autorun.inf" file
to replace the <icon path here> text
eg, C:\windows\system32\SHELL32.dll,27
- obviously if there is an existing autorun.INF file, replace the old name-path with the new name-path
-----
Right click the "autorun.inf" file ... the new INF must be hidden
Properties > Attributes
[x] Hidden <<< CHECKED ... (this will hide the INF file after this process is finished)
Apply (btn)
OK (btn)
-----
External data storage device:-
- safely remove the external device
- count to 5 and reinsert the drive
Device should appear with the new icon

Housekeeping:
Windows Explorer > Tools > Folder options ... (or Start > Settings > Control Panel > Folder Options)
View (tab)
(•) Don't show hidden files, folders or drives <<< SELECTED
[x] Hide protected operating system files (Recommended) <<< CHECKED
Apply (btn)
OK (btn)

Delete the temporary folder created at the beginning of this process

Note   Note
For memory Win7 MS Security updates disabled "AutoRun"
This might be reason your icons don't hold.
Thread Autoplay Registry key value is well worth a read, and includes some very recent contributions.


I have created custom icons and used them in portable drives too.
If you need any help, call back here.


Hope this helps, regards
Russell
My System SpecsSystem Spec
02 Nov 2013   #3
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 

My apologies Blockie, I did a new post instead of a reply
My System SpecsSystem Spec
.

08 Nov 2013   #4
blockie

 

Russell,
I haven't forgotten, just real busy these past few days. Will get to your post and follow your suggestions soon, I hope.
Thanks for the info.
Bill
My System SpecsSystem Spec
Reply

 I change an icon but they don't survive




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
File Extension Icon - Change Default Icon
How to Change the Default Icon of a File Extension in Windows 7 This will show you how to change the default icon of any file extension to have a custom icon of your choice instead for it in Windows 7.By default, known file extension types are set to be hidden in Windows 7. You will need to...
Tutorials
Desktop icon placement does not survive a desktop refresh or a reboot
Recently my desktop icon placement has not been able to stay put if I do a desktop refresh or a computer reboot. I have looked at many internet hits on this same topic and no solution suggested has worked. I've tried them all til I'm blue in the face! I have done the IconCache.db thing where...
General Discussion
Libraries Icon - Change Default Icon
How to Change the Default "Libraries" Folder Icon in Windows 7 This will show you how to change the main default Libraries icon to any custom icon that you want instead in Windows 7. You can only do this while logged into an administrator account. This will affect all user account's...
Tutorials
how to survive my drivers ?
my laptop was never formatted .. since i bought it if i wished to format it ... how can i keep my drivers aside ? because i don't want to face problems after formatting ... why in the desktop systems a CD is provided that contains drivers . and in LAPTOPs there is not ?
Drivers
HomeGroup Icon - Change Default Icon
How to Change the Default "HomeGroup" Icon in Windows 7 This will show you how to change the default HomeGroup icon to any custom icon that you want instead in Windows 7. You can only do this while logged into an administrator account. This will affect all user account's HomeGroup icon...
Tutorials
New Library Icon - Change Default Icon
How to Change the Default "New Library" Icon in Windows 7 This will show you how to change the default New Library icon to any custom icon that you want instead in Windows 7. You can only do this while logged into an administrator account. This will affect all user account's New Library...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App