overlay icons for drives
#1
Posted 16 February 2013 - 12:06 AM
Unfortunately, when i discovered that this was not a new feature, but just an accident, it was too late. I had already changed numerous settings.
I tryed for the last 3 hours to recreate this magic build, but it's just not happening.
Can anyone give me a hint, what files or registry setting to look for in the scripts?
#2
Posted 16 February 2013 - 06:06 PM
http://msdn.microsof...5(v=vs.85).aspx
http://www.codeproje...g-shell-objects
Wonko
#3
Posted 17 February 2013 - 02:39 PM
The dll and the mui file are present in Win7PESE and the registry keys are also all accounted for.
#4
Posted 17 February 2013 - 02:57 PM
Completely wrong building site!
But you gave me an idea.
I will look for the dll containing the missing icons and take it from there.
#5
Posted 18 February 2013 - 02:40 PM
But there are no references to it anywhere in the registry. Not in a PE nor in a full install.
Still not one step closer to solving this mystery.
#6
Posted 18 February 2013 - 03:17 PM
http://blogs.msdn.co...09/9934348.aspx
http://abdullin.com/...ortoisesvn.html
http://social.msdn.m...d-5a975aca3eac/
Wonko
#7
Posted 18 February 2013 - 07:03 PM
I just don't get it. When the icon is not configured in the registry, then it must be hardcoded in a file and should therefore work fine, as long as the icon library is present.
btw. I also checked the opposite idea. That the icons do work fine, but are getting overwritten with other ones.
Non of the named registry keys have any entries.
#8
Posted 18 February 2013 - 08:22 PM
Well, maybe they are NOT "overlay icons", they are "system overlay icons" .
check this:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
"31"="C:\\Windows\\system32\\imageres.dll,-55"
"32"="C:\\Windows\\system32\\imageres.dll,-54"
"3"="C:\\Windows\\system32\\imageres.dll,-3"
"4"="C:\\Windows\\system32\\imageres.dll,-4"
"5"="C:\\Windows\\system32\\imageres.dll,-29"
"6"="C:\\Windows\\system32\\imageres.dll,-28"
"8"="C:\\Windows\\system32\\imageres.dll,-32"
"107"="C:\\Windows\\system32\\imageres.dll,-36"
"9"="C:\\Windows\\system32\\imageres.dll,-33"
"10"="C:\\Windows\\system32\\imageres.dll,-31"
"11"="C:\\Windows\\system32\\imageres.dll,-30"
"59"="C:\\Windows\\system32\\imageres.dll,-37"
"7"="C:\\Windows\\system32\\imageres.dll,-43"
"12"="C:\\Windows\\system32\\imageres.dll,-34"
"29"="C:\\Windows\\system32\\imageres.dll,-163"
"34"="C:\\Windows\\system32\\imageres.dll,-110"
"51"="C:\\Windows\\system32\\imageres.dll,-143"
"15"="C:\\Windows\\system32\\imageres.dll,-109"
"40"="C:\\Windows\\system32\\imageres.dll,-85"
"0"="C:\\Windows\\system32\\imageres.dll,-2"
"1"="C:\\Windows\\system32\\shell32.dll,1"
"2"="C:\\Windows\\system32\\imageres.dll,-15"
and these:
http://www.codeproje...ing-shell-icons
http://www.virtualpl...ml/icn_reg.html
and this :
http://www.sevenforu...he-rebuild.html
Wonko
#9
Posted 18 February 2013 - 10:28 PM
Sometimes its use kicks in later. After a driver install for instance.
#10
Posted 18 February 2013 - 10:59 PM
- Supplying a prebuild iconcache, installing drivers from HostOS, not just from a folder with drivers.
- Killing explorer and restarting it, will trigger a dllhost process, shortly seen in Taskmanager.
Once this happens the icons will be available in Explorer.
If you're lucky, just installing drivers from HostOS will do the trick by itself.
#11
Posted 19 February 2013 - 06:34 PM
I am not sure to understand your report.
This given link:
http://www.sevenforu...he-rebuild.html
provides a small batch, that essentially:
- kills Exporer
- rebuilds IconCache by re-starting Explorer after having deleted previously existing IconCache
:: Created by: Shawn Brink :: http://www.sevenforums.com :: Tutorial: http://www.sevenforums.com/tutorials/49819-icon-cache-rebuild.html @echo off set iconcache=%localappdata%\IconCache.db echo The Explorer process must be killed to delete the Icon DB. echo. echo Please SAVE ALL OPEN WORK before continuing. echo. pause echo. If exist "%iconcache%" goto delID echo. echo Icon DB has already been deleted. echo. pause exit /B :delID echo Attempting to delete Icon DB... echo. taskkill /IM explorer.exe /F del "%iconcache%" /A echo. echo Icon DB has been successfully deleted. echo. start explorer.exe pause exit /B
Does simply running it "as is" restore those system overlay icons or a further step is needed?
Wonko
#12
Posted 19 February 2013 - 07:08 PM
The iconcache does not get (re)created upon start of explorer, but upon system shutdown.
I tryed it on Win7PESE and full Win7.
The strange thing though, on a full install a missing iconcache does not cause missing icons, it just causes a slower loading of them.
Without a cache, they're basicly being fetched on demand from their original locations.
#13
Posted 19 February 2013 - 07:58 PM
The iconcache does not get (re)created upon start of explorer, but upon system shutdown.
Maybe upon "next boot" or "re-start" (I doubt that a system that is OFF can rebuild anything ).
Now that we know that the issue revolves around "iconcache" this could be another thing to test:
http://xenomorph.net...-rebuild-icons/
the "trick" should lie in changing the colour bit depth of the adapter (cannot say if it works or if reschanger or the like may do to automate the process).
Or possibly "icon 29" :
http://www.sevenforu...014-post99.html
It seems like the restart is NOT needed on a 64 bit OS
http://www.sevenforu...75-post151.html
Wonko
#14
Posted 19 February 2013 - 10:33 PM
Maybe upon "next boot" or "re-start" (I doubt that a system that is OFF can rebuild anything ).Nope not on next reboot. On shutdown.
It seems the iconcache is kept/created in memory and only written to disk on shutdown of windows.
If you have a Win7 handy, you can test yourself.
Check for the iconcache on the offline system after deleting it and it will be there.
Delete it again and start Win7, there's no new iconcache found on the booted system.
The other things you've posted, i have to look over tomorrow.
#15
Posted 20 February 2013 - 05:22 PM
None of the linked tips work in a PE.
There must be some needed driver or service missing, cause without that magic "Dpinst: Driver from HostOS" the icons just won't show, no matter what.
#16
Posted 20 February 2013 - 06:40 PM
None of the linked tips work in a PE.
But do they (or one of them, and which one of them) actually work on a "normal" 7? (there is some controversial info in the given references )
If yes, maybe the behaviour can be "traced" in the "full" 7 and the "missing" *whatever* in the PE pinned down.
This other source (admittedly related to pre-Vista ) operating systems seems to link the rebuild to logoff (and not to shutdown) which makes to me some (very little) more sense:
http://smallvoid.com...icon-cache.html
So, if this is the case, and since you are already System in a PE, we must find a way to simulate a Logoff without shutdown and reboot. or find which particualr step in logoff is connected to the IconCache rebuild and find a way to replicate it without actually logging off.
This other source cites ie4uinit.exe -ClearIconCache (which I have not the faintest idea if exists on 7 or on a 7 based PE)
http://www.winhelpon...dows-7-quickly/
but here:
http://www.winhelpon...-type-in-vista/
there is possibly another way that seemingly involves the use of SHChangeNotify function:
http://msdn.microsof...118(VS.85).aspx
but seemingly overlay icons are not affected (but would they be talking of "overlay icons" or of "system overlay icons"?)
However there is a tool that you may want to try that does that:
http://www.sepago.de...rogrammatically
http://www.sepago.de.../desktoprefresh
Also seemingly assoc.exe would do the same:
http://www.autohotke...v1108/?p=536021
Wonko
#17
Posted 15 April 2013 - 10:51 PM
Since windows 2000 days, I have used the desktop ini file to set drive icons (to look like a drive with a large drive letter on it).
I keep a 'stash' of images for that - hmm, wonder if I should put them in a dll - think I will look into that. Anyway, this would not work for random drives or those of a host system. What are you looking to do regarding the icons?
#18
Posted 16 April 2013 - 08:37 AM
Since windows 2000 days, I have used the desktop ini file to set drive icons (to look like a drive with a large drive letter on it).I keep a 'stash' of images for that - hmm, wonder if I should put them in a dll - think I will look into that. Anyway, this would not work for random drives or those of a host system.
JFYI :
http://reboot.pro/to...aningful-icons/
Wonko
#19
Posted 16 April 2013 - 10:20 AM
What are you looking to do regarding the icons?In Win7 the SystemDrive gets a special icon, non-available removable drives get greyed out and optical media drives get a better decription than all just being called a CDROM.
#20
Posted 16 April 2013 - 11:14 PM
JFYI :http://reboot.pro/to...aningful-icons/
Wonko
Thanks wonko, old posts have many little gems.
In Win7 the SystemDrive gets a special icon, non-available removable drives get greyed out and optical media drives get a better decription than all just being called a CDROM.
Thanks MedEvil, simple explanation. (First real build/boot last night - didn't notice that.)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users