Opening up Windows Terminal with elevated privileges, from within Windows Terminal

前端 未结 5 702
旧时难觅i
旧时难觅i 2021-01-05 09:30

There are plenty of questions here which asks how to elevate priviliges from powershell, and almost all of them recommend this command:

Start-Process -Verb Ru         


        
5条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-05 10:07

    Not a direct answer but another option if you have PowerToys is to:

    1. Alt + Space, type Terminal,
    2. Select Run as Administrator (or Ctrl + Shift + Enter)

    You can install PowerToyrs using WinGet

提交回复
热议问题