<p dir="auto">Continuing from this discussion: <a href="https://discuss.atom.io/t/double-icon-when-pinned/17320/24" rel="nofollow">https://discuss.atom.io/t/double-icon-when-pinned/17320/24</a></p>
<p dir="auto">I've got Atom installed on Windows 10. I open the application, then right click the icon in the taskbar, then click Pin to Taskbar. This creates a duplicate (second) icon on the taskbar. The first icon is the actual instance of the app running, and it goes away when the app is closed. The second icon stays permanently. If I click the second icon while Atom is closed, it adds the first icon back to my taskbar.</p>
<p dir="auto">Any ideas as to what I can do to fix this?</p>
<ul dir="auto">
<li>run latest Windows 10</li>
<li>pin either electron or atom to the taskbar</li>
<li>click it to open the app</li>
</ul>
<p dir="auto">=&gt; you end up having 2 icons<br>
=&gt; somehow the app when started does not get associated to the pinned entry in the taskbar<br>
=&gt; it does not reproduce on Windows 8.x</p>
<p dir="auto">I wonder if your change in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/electron/electron/commit/fb6c80d12ecbb99a481e1018a0d1d56c3fc4dce3/hovercard" href="https://github.com/electron/electron/commit/fb6c80d12ecbb99a481e1018a0d1d56c3fc4dce3"><tt>fb6c80d</tt></a> could have an impact here. Imho it is used to find out if an application belongs to the same process group or not: <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd378422(v=vs.85).aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/windows/desktop/dd378422(v=vs.85).aspx</a></p>