After installing both Visual Studio and Visual Studio Preview I ran into the issue that when I pinned both to the taskbar, I didn’t know which was which. If I hovered over the icon, the tooltip indicated that the one on the right is Visual Studio 2019 Preview but I wanted a quicker way to differentiate between them. Luckily Windows provides an easy way to change the icon that appears in the taskbar. In this post I’ll run through how to change the icon.
Start by right-clicking on the icon in the taskbar and then right-clicking on the name of the application. From the secondary context menu, click Properties.
Alternatively, if you hold Shift and right-click the icon on the taskbar, you get the standard Windows Explorer context menu, instead of the application jump list. Again, click Properties.
From the Properties dialog, go to the Shortcut tab and click the Change Icon button.
Select a new icon file by clicking Browse. Alternatively if the application has multiple icons associated with it (which Visual Studio does), you can simply select an icon from the list.
After clicking OK and then either Apply or OK to close the Properties dialog, you might be wondering why the icon hasn’t changed. In order for the icon to be updated you may need to restart the Windows Explorer process. Open Task Manager by pressing Ctrl+Shift+Esc, or right-clicking the taskbar and selecting Task Manager. Right-click the Windows Explorer app (if it’s not in the list, simply start Windows Explorer from Start menu, or pressing Win+E) and select Restart.
The updated icon should now appear in the taskbar.