microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.25k stars 6.49k forks source link

Powertoys run opens app twice when running as administrator #33098

Open galaxytass opened 4 months ago

galaxytass commented 4 months ago

Microsoft PowerToys version

0.81.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

PowerToys Run

Steps to reproduce

1) Launch Powertoys Run, 2) Type Terminal (the Windows Terminal App), 3) Run the Terminal App as administrator by pressing Ctrl + Shift + Enter.

✔️ Expected Behavior

One instance of the Terminal App in administrator mode.

❌ Actual Behavior

Two instances of the Terminal App, one in administrator mode and one in normal mode.

Other Software

No response

github-actions[bot] commented 4 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

adrianpip2000 commented 4 months ago

I've had this happen multiple times with this PowerToys version as well as a few previous versions. However, it seems to only happen once per "new instance" of PowerToys (i.e. it happens the first time, but not the second time, but then if I quit and start PowerToys it happens again). However, in my case both instances of Terminal are in administrator mode.

Not sure if it this is related, but I also noticed that if I subsequently move the Terminal window, FancyZones is activated (as if I had kept pressing Shift). I tried disabling FancyZones, but the double instance Terminal issue persists, so this might be a separate issue.

Raimer1988 commented 3 months ago

I've had this happen multiple times with this PowerToys version as well as a few previous versions. However, it seems to only happen once per "new instance" of PowerToys (i.e. it happens the first time, but not the second time, but then if I quit and start PowerToys it happens again). However, in my case both instances of Terminal are in administrator mode.

Not sure if it this is related, but I also noticed that if I subsequently move the Terminal window, FancyZones is activated (as if I had kept pressing Shift). I tried disabling FancyZones, but the double instance Terminal issue persists, so this might be a separate issue.

I'm experiencing the same behavior as @adrianpip2000. It's been happening for a while and on separate PCs.

mike406 commented 3 months ago

Experiencing this issue as well