Make a directory for you shortcuts and icon like %HOMEPATH%\links
Create your shortcut in this directory and add a new icon.
The link will be stored in %USERPROFILE%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
If there is no “Pin to..” entries you will have to prefix the target with
C:\Windows\System32\cmd.exe in order to “persuade” Window to accept the link on startup and taskbar.
Start in: %HOMEDRIVE%%HOMEPATH%
Use PowerShell:
ls "$env:APPDATA\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar"Remove-Item "$env:APPDATA\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*" -Force
(Note: Windows 10 Forums suggests needing to restart explorer.exe for changes to take effect).<!–
Reset_Clear_Pinned_Apps_on_Taskbar.bat:
DEL /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*"
REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband /F
taskkill /f /im explorer.exe
start explorer.exe