Windows Forms Application Icon suddenly shows as default icon or does not update color after KB5051989 update

Emmanuel Guballa 25 Reputation points
2025-03-06T08:36:12.63+00:00

Hi,

Our C# Windows Forms Application icon (in the taskbar) suddenly shows as default icon or sometimes doesn't update its color (based on the customization) after installing the KB5051989 update. This has been working for 15 years, and the issue just appeared after the said update. Removing the update will make it work as usual. We have a VM that only have the KB5051979 update and there, the problem doesn't show up. The issue was also experienced by our clients, and we can also see this internally. Even after clearing the icon cache and rebuilding it, the problem still occurs.

There were a few cases, wherein I locked my machine while the application is running. And when I came back and logged in after a few minutes, the icon is displayed properly and with the correct color customization.

Here is a sample screenshot of the issue.

Image

And here is the working one, without the update.

Image

Here is the case where the taskbar icon did not update the color in the taskbar, but it is correctly shown in the Task Manager and in the live preview:

2025-03-06 16_31_07-

Is there something with K8SOS1989 update that may have affected taskbar icons of windows forms applications?

Any other advice that we can try to make it work as before?

Regards,

Emman G

Developer technologies | Windows Forms

6 answers

Sort by: Oldest
  1. Ossowski, Marek 0 Reputation points
    2026-09-04T17:13:44.1233333+00:00

    For me it helped to execute Application.DoEvents() a few times.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.