Does Set-PinnedApplication still work?

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?

Thanks for your help!
Mike

I’m not sure but I think Microsoft changed the method that PSADT was using to pin shortcuts and broke it.

Regardless, I think the source shortcut needs to exist in the start menu before you try to pin it.

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)

1 Like

Set-PinnedApplication · PSAppDeployToolkit

This seems still not working neither in Windows 10 nor in windows 11

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

1 Like

I saw the MS article only they provide C#, will that code work from PowerShell as it is?
Does not look like a simple method or a cmdlet :smiley:

Would be nice if PSADT had this working/fixed

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.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.