Skip to content

PowerToys.Run does not launch apps through the user account that has started PowerToys #17227

@ZenoArrow

Description

Microsoft PowerToys version

0.56.2

Running as admin

  • Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

Ensure PowerToys is not running. Find PowerToys.exe, shift+rightclick, run as different user. After PowerToys started, Alt+Space to launch PowerToys.Run, start cmd. In cmd, enter whoami. The user shown is not the "different user" that was used to start PowerToys.

✔️ Expected Behavior

PowerToys.Run should use the same user that was used to start PowerToys. To show expected behaviour, run cmd (without using PowerToys.Run) as a different user, and in cmd run whoami, the name of the different user should then be shown.

❌ Actual Behavior

PowerToys.Run ignores the user that was used to start PowerToys.

Other Software

cmd (from Microsoft Windows [Version 10.0.19044.1586])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-RunnerThe PowerToys main executableIdea-EnhancementNew feature or request on an existing productNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-PowerToys RunImproved app launch PT Run (Win+R) Window

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions