How to create a Run As Administrator shortcut using Powershell
This answer is a PowerShell translation of an excellent answer to this question How can I use JScript to create a shortcut that uses “Run as Administrator”. In short, you need to read the .lnk file in as an array of bytes. Locate byte 21 (0x15) and change bit 6 (0x20) to 1. This is … Read more