Even if you hide a program, its icon will still appear in the taskbar when you run it. You can prevent this by stopping the taskbar itself from appearing. Open Settings, then click Personalization followed by Taskbar on the left. Next, click the slider under ‘Automatically hide the taskbar in desktop mode’.
Another solution is to keep the taskbar but stop icons being pinned to it. However, this works only for non-Microsoft programs you’ve installed, and you’ll need to use Group Policy Editor, which is available only in Windows 10 Pro, not Home.
If you have Pro, press Windows key+R, type gpedit.msc, press Enter. Next, click the User Configuration dropdown arrow followed by the Administrative Templates arrow. Click the ‘Start Menu and Taskbar’ folder - 1 in our screenshot -…