Hello - would it be possible to update the documentation for Set-PinnedApplication? I have tried it in the user’s context and as an admin. No luck either way. I’m trying to pin shortcuts to the taskbar that are already elsewhere in the Public start menu. This is on Windows 10. We have not upgraded to 11 yet.
Does it require elevation?
Does it require that it be run in the user’s context?
What are the restrictions on exe/lnk locations?
Funny to see this question here today, as a colleague and I were only discussing this yesterday!
Yes Microsoft did change the way this worked, We believe it still works on Windows 10 v1803 - but that’s no good as that version is End of Life
N.B. This appears to be the modern way to achieve it:
However, there is nothing in that article which specifically calls out that it doesn’t work on Windows 10, all the screen grabs are showing Windows 11 so it’s anyones guess if it works on Windows 10 (A bit vague IMHO)
Yes, Microsoft appears to have changed this as I understand some software vendors were abusing it’s use (Pinning apps directly), as a result of this change PSADT is broken as the earlier post stated:
I believe my link above provides a more modern way to acheive it
This feature has been dropped from PSADT v4 due to it no longer working.
The method described in Pin your app to the taskbar - Windows apps | Microsoft Learn is more designed for applications to issue a request to the user to pin to taskbar whilst the app is running. It’s not a suitable replacement for what was in PSADT previously.