Trick to Pin Programs and Applications to Taskbar and Start Menu using Powershell

Recently at work, I am trying to automate my image creation for new computers to streamline the process and make everyone’s computer more consistent. Not to mention that my workload has increased dramatically over the past 2 to 3 months. With that, part of my major issue has always been pinning apps and programs to the task bar and the start menu. This is simply for the user to have multiple options of accessing the most common programs that they use, such as email or VPN.

Searching through Google there was a lot of methods available, but 95% of them were inefficient and only worked for the current user who was running the shell. This was not acceptable to me. Not to mention it took about 5 lines of code to do it. Well I started looking at how and where the apps that get pinned are pinned. I stumbled upon the correct directory that they use for pinning items. It could not be that simple, I mean every post I looked at used weird registry hacks or something, maybe I am missing something I do not know. However, the solution for me was a simple Copy-Item command and bam. I have the icons I want pinned, pinned and working. So there you have it. The folder used to pin programs and applications to the task bar and start menu is located at : C:\Users\UserName\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned “StartMenu” and “TaskBar” are the sub folders name. Simply paste any shortcut you want pinned there and you are on your way.

No Comments

Leave us a comment

No comment posted yet.

Leave a Comment

↑ BACK TO THE TOP ↑