Some, but not all, icons for UWP apps are not displaying in search or settings. They do, however, display on the start menu when not searching. Icons for all non UWP apps display correctly, every time. UWP app icons are always present on the taskbar.
UPDATE: Many locally stored image thumbnails fail to appear in start menu search results either, no matter what image format.
The reason I have posted this as a separate question from this thread, is for the following differentiating reasons:
I have tried:
Changing performance settings to save thumbnails
Changing default app for PNGs
Screenshots:
Search failing to display icon
Some icons failing to display in settings
For years, I've had the exact same issues with app thumbnails. Particularly for Metro-style apps (RT/UWP), I often see a blank or default icon, primarily in search results and settings. I've been troubleshooting it for years, with no success until now. I'm documenting this here because I know I'm going to encounter it again. When I search for a solution, I'll hopefully find this page.
In Windows 10, UWP apps are shipped as AppX packages. This includes many of the new built-in apps (stored in %SystemRoot%SystemApps
) as well as apps downloaded via Windows Store (stored in %ProgramFiles%WindowsApps
). PowerShell offers several cmdlets that are useful for managing AppX packages. Throughout my troubleshooting, I found Get-AppxPackage, Add-AppxPackage, and Remove-AppxPackage particularly useful, especially since %ProgramFiles%WindowsApps
is inaccessible to normal users, even administrators.
Before attempting these fixes, you should be comfortable editing the registry, working with the command prompt and PowerShell, and making backups. You should be prepared to wipe everything and reinstall Windows should something go wrong.
Some third-party apps like to install custom thumbnail generators. Some of these apps do so in a way that breaks things. In my case, Google's was the culprit. Keep in mind that this is different from having a default program for a file; Windows Photos remained the default for me. To solve the issue:
regedt32.exe
HKEY_CLASSES_ROOT.png
ShellEx
key with at least one subkey. If you see any subkeys, you've probably found the culprit.Here's a screenshot of what you should be deleting. Note that the actual key might not be named {E357FCCD-A995-4576-B01F-234630154E96}
; it'll depend on the application responsible for the issue.
This may seem like an obscure fix, but the issue stems from the fact that AppX package logos are typically stored as PNG files. When this issue arises, you may also notice that PNG files are lacking proper thumbnails (you won't see previews while browsing folders in File Explorer). If the app causing the problem has installed similar handlers for other image file types, you can perform the same steps as above to the affected file extensions to restore the thumbnails. Keep in mind that this may affect the functionality of the app, so you may have to make a trade-off.
System
.Related settings
pane on the right, click the System info
link.Advanced system settings
link in the pane on the left.Advanced
tab should already be selected in the resulting dialog.Settings...
in the Performance
group.Show thumbnails instead of icons
is checked.View
ribbon tab, click the Options
button on the right.View
tab in the resulting dialog.Advanced settings
group, ensure Always show icons, never thumbnails
is unchecked.Apply
, unchecking it again, and clicking OK
. Otherwise, just uncheck it and click OK
.Get-AppxPackage -AllUsers | ForEach-Object {if ($_.InstallLocation) {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml" -Verbose}}
I've heard that Windows Settings Sync has caused issues with icons for some people. I haven't been able to reproduce this, but you can check whether it's the issue by disabling it temporarily. It's likely that there's either some underlying setting that's the true culprit; it may be resulting in bad icons being uploaded. Reportedly, this primarily affects search results in Cortana and the Start menu.
Accounts
.Sync your settings
.Sync settings
.Remove
button.Clear activity
.Sync your settings
.Thumbnails
. Uncheck everything else. If this works, you can stop.OK
.ie4uinit -show
(prior to Windows 10: ie4uinit -ClearIconCache
). If this works, you can stop.File Explorer
: taskkill /im explorer.exe /f
del /f /q "%LocalAppData%IconCache.db"
del /f /q "%LocalAppData%MicrosoftWindowsExplorericoncache_*.db"
del /f /q "%LocalAppData%MicrosoftWindowsExplorer humbcache_*.db"
explorer
Unsurprisingly, if your drive is almost full, File Explorer will have issues saving thumbnails and will be rather unhappy about it. The solution here is to clear some space. Simple enough.
Anytime someone mentions this problem on Microsoft Answers, a Microsoft rep always recommends the same solution. I've never heard of it working for anyone, but it can't hurt to try. (Besides, if you contact Microsoft, they're going to tell you to do it anyway.) It could theoretically fix certain obscure issues.
sfc /scannow
. Look for any violations that could be related to the issue at hand.dism /online /cleanup-image /restorehealth
For years I have faced this issue myself since the early days of Windows 10. Actually, after doing a lot of research, I figured out the main culprit of this issue and it was Google Drive File Stream which I have been using since it has been launched.
While doing my research the only solution to this issue I saw was Uninstalling Google Drive File Stream (GDFS). But as I heavily use that program on a daily basis, I simply couldn't uninstall it. So, I looked for a solution where I can use GDFS and can also fix this broken icon issue. Finally, I saw and once I applied it, all the problem got resolved. So, today in this answer I will show you how you can fix the broken UWP icon on Windows Search issue while keeping GDFS installed.
regedt32.exe
HKEY_CLASSES_ROOT.png
ShellEx
key with at least one subkey. If you see any subkeys, you've probably found the culprit.shellex
and click on permissions
(Screenshots are given below)Groups or user names
scroll down and select Administrators
Deny
for both Full Control
and Read
. Then click Apply and Ok.change resolution
and the select the change resolution settings. It will take you to the appropriate settings page.Scale and layout
change your scale from 100%
(or whatever is recommended on your system) to 125%
(or higher/lower value than your recommended one).100%
and again increase it to 125%
. Do it a couple of times as in some cases, it takes more than one try to make it happen. Every time you change the scale, go to search and check if the issue has been resolved or not. As soon as you see the issue is resolved, change the scale back to 100%
or whatever was your recommended scale.Though the above solution will fix the broken UWP icon issue while keeping Google Drive File Stream (GDFS) installed, but it will also bring a minor annoying issue. After this fix, you might see your computer is getting refreshed (as if you are pressing F5) randomly. Though this will not create any issue where you can't do your work or something. But if you minimize everything in your desktop and keep looking at the screen with icons, you will definitely notice it.
Again, this is not going to slow down your system or hamper your work, but as I have seen it, I thought it is best to give this disclaimer. Currently, there is no way to fix this automatic refreshing issue or at least I am not aware of it. If anyone who is reading this answer come up with a solution to fix the refreshing issue, do let me know, I will update the answer.
I've also sent feedback to Google regarding this issue, but I guess many other people have also done it and as they haven't fixed the problem yet, I'm not sure if they will ever do. But the best fix for this issue is something only Google can push.