microsoft / microsoft/PowerToys

Command Palette: Allow customizing the "Run as Administrator" keybind (hardcoded to Ctrl+Enter)

Open
#46,446 0 comments 0 reactions 0 assignees View on GitHub
Needs-Triage Product-Command Palette
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

### Description of the new feature / enhancement

Currently, the keybind to run an app as administrator in Command Palette is hardcoded to Ctrl+Enter.
There is no setting to change or remap it to a different key or mouse combination.

The expected behavior is to have a configurable keybind for "Run as Administrator" in the
Command Palette settings, similar to how the activation shortcut is already customizable.
For example, allowing users to set it to Ctrl+Click or any other preferred combination.

### Scenario when this would be used?

When launching apps frequently as an administrator through Command Palette, the hardcoded
Ctrl+Enter forces a specific hand position. A power user who prefers mouse-driven workflows
would benefit from being able to use Ctrl+Click instead, making the interaction faster and
more natural without leaving the mouse.

### Supporting information

The activation shortcut for Command Palette is already customizable in PowerToys settings,
so extending the same flexibility to other keybinds like "Run as Administrator" would be
consistent with the existing design philosophy of PowerToys.

Contributor guide

Open the contributing guide

Research direction

Start in the Command Palette settings and trace the existing customizable activation shortcut alongside the Ctrl+Enter handling for "Run as Administrator." Define the setting and interaction behavior for alternate keyboard or mouse combinations, then verify that the configured combination launches the selected app as administrator.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.