I'm trying to update the icons on the taskbar in Windows 10 by just deleting and copying shortcut files (
*.lnk) to the QuickLaunch folder:
%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
We have an important application that has frequent updates through the year. Each update changes part of the folder path slightly (6.1 becomes 6.2 becomes 6.3, etc). Part of what our users expect is a Taskbar icon for this program. I can push the software update out easily through SCCM, but the taskbar icon is not part of the installer, so I have an additional script I use to also delete the old shortcut file from the taskbar folder and copy a new shortcut file I prepared in place from a shared folder.
This worked great for the Windows 7 version of this folder, but Windows 10 seems to use the folder in combination with some kind of database. The result of running the script is the database is not updated. The icon remains on the taskbar, but it looks for the old shortcut file.
Where is this database located, and how I can update it or cause it to refresh from a simple powershell or (preferrably) batch script?
In case it matters, our Windows 10 deployment does have the recent Anniversary update (1607).