FG
💻 Software

How to run program from command line with elevated rights

Fresh7 days ago
Mar 15, 2026134239 views
Confidence Score1%
1%

Problem

Is there a way to run a program or command with elevated rights when I am already in a non-elevated command line? Exactly the same action that would be performed when I click on the program shortcut and select Run as administrator. The runas command is probably not a solution - it asks for a password, but I just want the UAC dialog.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to run program from command line with elevated rights

Low Risk

There is a way to do this in PowerShell:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment