- 0
layoutmodification.xml Remove Edge and Mail pinned icons from taskbar in Windows 10 1703 Not working.
Asked by
oosthupj
Asked by
oosthupj
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hi everyone,
if you ever struggled to get the Edge and Mail icons removed from the Taskbar via TS layoutmodification.xml in Windows 10 1703, try this:
Dont use "%APPDATA%" in your <taskbar:TaskbarPinList> section of your layoutmodification.xml !!
This will not work in your XML:
<CustomTaskbarLayoutCollection PinListPlacement="Replace">
<defaultlayout:TaskbarLayout>
<taskbar:TaskbarPinList>
<taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" />
<taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Internet Explorer.lnk"/>
</taskbar:TaskbarPinList>
</defaultlayout:TaskbarLayout>
</CustomTaskbarLayoutCollection>
This will:
<CustomTaskbarLayoutCollection PinListPlacement="Replace">
<defaultlayout:TaskbarLayout>
<taskbar:TaskbarPinList>
<taskbar:DesktopApp DesktopApplicationLinkPath="%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Internet Explorer.lnk"/>
</taskbar:TaskbarPinList>
</defaultlayout:TaskbarLayout>
</CustomTaskbarLayoutCollection>
PS: Manually copy "Internet Explorer.lnk" to C:\Programdata\Microsoft\Windows\Start Menu\Programs via the TS
Share this post
Link to post
Share on other sites