Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 1
    This looks great, but does it rely on the UAC graphical prompt? I am logging in via SSH and wants something that works purely in a command line mode. Commented Mar 30, 2020 at 12:09
  • 1
    Yes. At least one UAC popup will show up. Commented Mar 30, 2020 at 18:03
  • gsudo still beats Windows 11 built-in sudo, because it an run 'inline' in the same existing command prompt window. Commented Oct 14, 2025 at 20:14