Windows – Icons automatically pinned to taskbar after every reboot in Windows 10

pintaskbarwindows 10

I have a corporate laptop which is managed by my organization. Each time Windows starts, IE and Windows Explorer are automatically pinned to the taskbar.

This is kind of neat, but I am wondering how it is done (the few desktop IT guys I asked were not sure, as they didn't setup that part). On my personal devices, when an icon is pinned or unpinned, a reboot does not affect icons on the taskbar.

What methods are available to automatically pin icons to the taskbar when Windows starts?
(PowerShell scripts? registry settings? other configuration?)

enter image description here

Best Answer

From this documentation: https://docs.microsoft.com/en-us/windows/configuration/configure-windows-10-taskbar

In my case I find: C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.xml

here i have this line: CustomTaskbarLayoutCollection PinListPlacement="Replace"

-> the items in this PinList will be pinned to the taskbar on every logon (through explorer.exe as far I understand). Even if I remove the items and logon again with same profile the items will be pinned aside manually pinned items.

The part of the xml that defines the StartMenu will only apply on first logon.

Related Question