avatar

ShīnChvën ✨

Effective Accelerationism

Powered by Druid

Run Windows Terminal As Administrator From Commandline

Run Windows Terminal as Administrator by Using Hotkey

In the old method I tried to geek it out by run Windows Terminal as Administrator from command line, but I've found another way to fire it up more easily.

  • Pin Windows Terminal to your task bar, say at 1st place.
  • Press ctrl+shift+win+1.

The hotkey combination ctrl+shift is to run something as Administrator, and win+1 is to run app pined to the first place of task bar.

Run Windows Terminal as Administrator from Command Line (The Old Method)

Windows Terminal is a decent shell container for developers on Windows, but there is no manuscript tells how you can run it as administrator except for right-click on its icon select Run as administrator if you just get installed.

We're terminal users, we love doing everything with keyboards and commandline which is way cooler and more efficient than mortal clicking.

Since it's a terminal, we can always find ways to play it with commandline:

  • To start it from commandline just type in wt which stands for Windows Terminal, of course;
  • To start it from PowerShell as any other program: Start-Process -Verb RunAs wt;
  • To create a shortcut in Windows Terminal, write this to your configuration as a profile: powershell.exe Start-Process -Verb RunAs wt;