Skip to content

Apps run with Keyboard Manager do not respect the selected elevation mode when running PowerToys in administrator #32206

Description

Microsoft PowerToys version

0.79.0, 0.80.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Keyboard Manager

Steps to reproduce

I'll put details in brackets

  1. Start PowerToys in Administrator (Always run as adminstrator)
  2. Remap a chord to start an app (Win + T to start Windows Terminal)
  • You can follow KBM → Remap a shortcut → Win + T → Action: Run Program → Select Program → type wt in the directory field, close the terminal window, and copy and paste the directory field contents to the file name field)
  1. Set the elevation to normal
  2. Save the confuration, hit Win + T, and find that the command prompt is in administrator mode

✔️ Expected Behavior

Windows Terminal, the app opened by a remapped shortcut, is opened with normal privileges

❌ Actual Behavior

Windows Terminal, the app opened by a remapped shortcut, is opened with adminstrator privileges

Other Software

Windows Terminal 1.19.10821.0
Windows 10 22H2 build 19045.4170
UAC Settings is set to Never Notify (i.e. skip administrator password entry)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-Keyboard Shortcut ManagerIssues regarding Keyboard Shortcut Manager

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions