Pin program to start menu with always elevated privileges windows 10

I want to pin a program to the windows 10 start menu, and I want them to always run with elevated privileges. This is so I don't always have to remember to press "run as administrator". This is easy to accomplish if you "pin to taskbar", but I have found no way to do it on the start menu.

Is this possible with the default windows 10 menu?


Solution 1:

This is what worked for me:

  1. Press windows key and enter "powershell", among the results select a link to powershell, rightclick and select "Open file location". You'll get to the folder where the shortcuts to the powershell are.
  2. Copy the shortcut to powershell to that same folder. The key point is to name it in such way that it would appear first among shortcuts in that folder when sorting by name ascending (that's really critical :). I gave it a name "PS Elevated".
  3. Go to properties of that new shortcut, "Shortcut" tab -> Advanced -> set "Run as administrator" checkbox and apply.
  4. Rightclick new shortcut and select "Pin to Start"

Done.

However, it would always ask your permission to start as administrator anyways. And that new shortcut would be default match when searching for powershell.