Create a link to a UWP app to run as administrator

I’m a console enthusiast. I used to work with cmder over the last years. In general I was pretty happy. But the announcement of the Windows Terminal really caught my attention.

One thing that annoyed me is the disabled checkbox, when creating a link, that does not allow to have it automatically prompt for elevation.


So here is my work around.

Open windows explorer and enter shell:AppsFolder into the address bar to open the apps folder:


Drag‘n’drop the Windows Terminal to any folder.

Now patch the lnk-file:

Create another lnk file pointing to cmd {path to the first lnk file}, running minimized and having a nice icon.


Now just use the second lnk file and it works as expected.

Windows Terminal, PowerShell 6 and oh-my-posh up and running.

Add comment