IrfanView replaced my Settings' and Your Phone's icon

Solution 1:

Back in April 2020 I had this same problem and after trying many proposed solutions in the the end including all those suggested by the OP I eventualy found that changing the Display Scaling in Settings from the recommended 150% to 125% and then back to 150% fixed it for me. The inspiration for this came from this answer to a similar question Icons not showing in windows 10 search.

However, fast forward to October 2021 and the problem re-occurred and the earlier Display Scaling switching did not fix the problem this time! After some reading I found this solution to a Some Windows 10 UWP icons not displaying on search, or in settings problem and it seems possibly that my new problem was potentially caused by an upgrade from Google Backup and Sync to Google Drive File Stream. In this solution the Display Scaling switching, deletion of all keys under HKEY_CLASSES_ROOT\.png\ShellEx was required as well beforehand (and presumably to prevent new keys being added, the permissions for the ShellEx key are removed for Administrators).

In the suggested solution I skipped one step, and so this is what I actually did:

  1. Start Registry Editor.
  2. Navigate to HKEY_CLASSES_ROOT\.png.
  3. Look for a ShellEx key with at least one subkey. If you see any subkeys, you've probably found the culprit.
  4. Delete the subkeys.
  5. Right click on the ShellEx key and click on permissions.
  6. Under Groups or user names select Administrators and under the permissions tick Deny for both Full Control and Read, and then and choose OK.
  7. Skipped: Restart your PC and if you have more than one monitor attached to your system, turn off the power to them. Only keep one monitor active.
  8. In Windows Search type Change the size of text, apps and other items and then select the matching item. It will take you to the appropriate Settings Display page.
  9. On the Display Settings page under Scale and layout change your scale from 100% (or whatever is the scale currently set on on your system) to a different scale.
  10. Once you change the scale first wait at least 10 seconds and then search again for any UWP apps whose icons were broken before. You should see that these icons are back to their normal state. If you don't see that, again change the scale back to the original and then again to a different one. 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 first wait at least 10 seconds and then search again to check if the issue has been resolved. As soon as you see the issue is resolved, change the display scale back to your original scale.

I.e. I didn't need to reboot or logout for the fix to take effect (and I only have one monitor and so didn't need to power any additional monitors down). I did have to wait about 5-10 seconds after performing a Display Scaling switch as the problem was not fixed when I initially performed a Windows start menu search immediately after the Display Scale switch. Presumably it takes some time taken for the search icons to be regenerated in the background after a Display Scaling switch has been made.