Forum Discussion
Managing taskbar in Enterprices
Still waiting to some MS staff to comment this, is there any plans? At least, please remove the Mail icon from 1703 build.
- Wim van WierenOct 17, 2017Copper Contributor
Check this document Configure Windows 10 taskbar. It explains how to add links to the taskbar, as well as how to remove the initial icons.
I have done some here, it took me a while to figure out where things go wrong.
Be sure you add reference to the taskbar schema. It's not there if you edit add stuff to an Export-StartLayout output.
<LayoutModificationTemplate
xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
Version="1">
...It took me quiet a while to figure this out, Notepad doesn't help here, Visual Studio's editor does :-)
Then be sure you at PinLintPlacement="Replace" as follows
...
<CustomTaskbarLayoutCollection PinListPlacement="Replace">
<defaultlayout:TaskbarLayout>
<taskbar:TaskbarPinList>
<taskbar:UWA AppUserModelID="Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge" />
<taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\OneNote 2016.lnk" />
<taskbar:TaskbarPinList>
<defaultlayout:TaskbarLayout>
<CustomTaskbarLayoutCollection>
</LayoutModificationTemplate>So far it seems only "programs" can be added. If you link references like a script or cmd, it's not resolved and/or added to start menu and/or tasklist.
.lnk files are resolved from %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs or individuals location of the Start Menu.
Also found out that locatized version can show different paths (localized), but the US-US path also works eventhough you don't see it in explorer.
Hope this helps.
- yannaraOct 20, 2017Brass Contributor
Yep, I managed to do this previously, I found out that because of the task bar, the xml needs additional headings.