Comment changer the icon for for an application on taskbar in Windows 11 PRO 24H2?

I want that my Vivaldi Browser has another Icon on the Taskbar.
What I did and what worked on Windows 10 and on another Computer with Windows 11 24H2:

Create Shortcut to Vivaldi and change icon on shortcut:

Pin this shortcut to Taskbar (Restart Windows Explorer) and start Vivaldi Browser:

On my current win11 24H2 Machine it does NOT work and Vivaldi gets opened as an additional taskbar icon with the default image:

When I right click on the Icon of the running Vivaldi Browser Instance and go to Properties it looks like this:

On another Windows 11 24H2 machine (The same image was used to install both machines)
it works and also the right click properties on the running instance look different:
If you look closely to the computer where it works it does not open a second taskbar icon but instead open the Browser in the taskbar icon that was pinned with the custom icon.
Also in Properties you can see the “Shortcuts” Tab that is missing in Picture 2. > 2.

Can someone help me?

For me it looks like that on the working PC Windows opens the Pinned Shortcut as a “Shortcut”
and on the not working PC it opens it as the “Vivaldi.exe” itself.

You cannot change the icon like this for the .exe file.

You can change the icon for a shortcut. The second screenshot shows a shortcut, while the first screenshot shows the exefile itself.

Do note that when you open the shortcut, windows will replace the icon back with the vivaldi icon as that is what the .exe file uses.

When you close vivaldi, the first icon should come back.

If you create a shortcut to the command cmd /c "c:\program files\vivaldi\vivaldi.exe" (change the path to wherever you have vivaldi installed, you can set this icon there, pin it to the taskbar, and if you then launch vivaldi, it will always open vivaldi in a new window, but that icon always remains on your taskbar.

If you really want the icon to change, download a resource editor, edit vivaldi.exe and change the icon there. Do note, if you update vivaldi, your icon is gone and you have to do it all over again.