Windows 7 Icons Blacked Out

Cheemag

Extraordinary Member
Joined
Jul 22, 2010
Messages
228
Hello again,

My Windows 7 Pro machine started up with all the desktop icons (except three 'MS' ones) blacked out (black square where the icon should be).

"Rebuild Shell Icon Cache" on right-click menu on desktop does nothing; they're still black. Restarting Windows Explorer doesn't help either.

How to proceed?

Regards

Cheemag
 


Solution
Hi Cheemag,

have you installed anything new recently?

New anti virus application maybe?

Have you made any changes to Windows 7 itself (recently)?

Check on how corrupted your system is by running the system file checker:

Look in the start menu for command prompt, right click on it, choose properties followed by run as admin. Type:
sfc /scannow
Press enter and await results.
Thanks, I'll try that. At the moment I'm on the other machine ...

To recover my icons, I'm having to:

Rename the icon cache db file to .OLD;
Rebuild icon cache (from desktop) and
Restart Windows Explorer (from desktop).

Rather a hassle, unless I were to put all that in a batch file ...

I'll try that link later.

Thanks again,

Cheemag
 


The fixit tool didn't work I'm aftraid - it found nothing wrong and the Registry entries for the icons are as they should be.
Anything else I can try?

It happens on this other machine too to the extent that it boots with black icons but within a minute reverts to the normal ones.

I can't understand how, after having effectively deleted the icons db file, it then finds the icons and displays them. The icons must therefore be stored in their correct form and layout somewhere else other than in the icons db file. (?)

Regards

Cheemag
.
 


Did you remove all the icon cache db files, because are generally one per each icon size.
 


Hello again,

There's only the one in Users\Jim\AppData\Local, it's IconCache.db and renaming it effectively deletes it. Search-Everything found another IconCache.db.old in c:\Users\Jim\AppData\Local\VirtualStore which has an exclamation-mark on its Explorer icon/thumbnail and is identical to the one in ...AppData\Local\. Both of these are two days old which was probably when I renamed it. According to Search-Everything there are only these two on the machine.

I found another workaround by trawling the Net, It's a batch file which basically does what I was doing, wiping IconCach.db (the daft software on this forum won't let me upload it). However, it does not stick and has to be run after each boot. (Could put it in
startup I suppose). So I'm no better off really as this process doesn't retain the icons' positions on the Desktop..

The meat of the .bat file I downloaded is as follows:
delID
echo Attempting to delete Icon DB...
echo.
ie4uinit.exe -ClearIconCache
taskkill /IM explorer.exe /F
del "%iconcache%" /A
del "%localappdata%\Microsoft\Windows\Explorer\iconcache*" /A
echo.
echo Icon DB has been successfully deleted. Please "restart your PC" now to rebuild your icon cache.
echo.
start explorer.exe
pause
exit /B


%localappdata%\Microsoft\Windows\Explorer\iconcache doesn't exist.

Regards,

Jim
 


Are only shortcuts (.lnk) files black or are regular icons such as exes, image file types etc also black?
 


Hello again,

The only files not blanked out are the 'Microsoft' ones: Computer, Recycle Bin, Network, Control Panel and a non-MS one, Geek Uninstall. All the others are overlaid with a black square/rectangle - you can just see the edges of the real icons which lie beneath them.

The icons on the taksbar are unaffected.

Regards,

Cheemag
 


Ok, that isn't normally what they look like when the icon cache is corrupt. Can you post a screenshot?
 


i dont understand how come you did not show then show Hidden System Files the click on C:\Users\Username\AppData\Local folder
and delete the hidden IconCache.db Reboot. This action will purge and rebuild the icon cache. how come as you show on the top looks like its done in dos and whatever. this is one of the correct way
its called purge & rebuild the Icon Cache hope it helps you (good luck)
 


as i see its done correctly the way he run the bat file wrong location i can read thanks
i see a .bat when you run that command if there is something open in localappdata it wont work
 


Last edited:
i dont understand how come everytime i post something it allways gets chalenged what up with that geee lol i feel im in school again :noway::rofl:
 


I wouldn't feel bad, I tend not to read all the replies and repost things too :)
 


i dont understand how come you did not show then show Hidden System Files the click on C:\Users\Username\AppData\Local folder
and delete the hidden IconCache.db Reboot. This action will purge and rebuild the icon cache. how come as you show on the top looks like its done in dos and whatever. this is one of the correct way
its called purge & rebuild the Icon Cache hope it helps you (good luck)

That's exactly what the batch file part quoted above does.

Regards,

Cheemag
 


Ok, that isn't normally what they look like when the icon cache is corrupt. Can you post a screenshot?
Ok, that isn't normally what they look like when the icon cache is corrupt. Can you post a screenshot?

I'm trying to ... wouldn't let me last time ...

Contrary to what Is aid earlier, you can't see the icon behind the black square.

I noticed after running these rebuild iconcache utils, there's no IconCache.db file in the Local directory. So it seems it isn't actually being rebuilt. (?)

Regards,

Cheemag
 


Attachments

  • Desktop.webp
    Desktop.webp
    116.7 KB · Views: 296
Hi Cheemag,

have you installed anything new recently?

New anti virus application maybe?

Have you made any changes to Windows 7 itself (recently)?

Check on how corrupted your system is by running the system file checker:

Look in the start menu for command prompt, right click on it, choose properties followed by run as admin. Type:
sfc /scannow
Press enter and await results.
 


Solution
What application are you using to customize the date/time and your icons look different, are you using some kind of customization software and if so try uninstalling it.
 


Back
Top