-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When PowerToys is running as administrator, everything Run launches is also ran as administrator #3215
Comments
Maybe hotfix |
my thought here is launcher is should not be run elevated. it has rippling effects. apps from it can be elevated but even if runner is elevated, Launcher shouldn't |
Just possibly more information. Quicken 2016 complained that it will not run properly if run as administrator which rippled down from launcher. I was not expecting Quicken to run as administrator when I had powertoys run as admin. |
we're working on a hotfix for this right now. hoping will be checked in early tomorrow AM and we can do a full release tomorrow. |
We just released 0.18.1 which will have this fix included in it. |
fixed in 0.18.2 official release. https://github.com/microsoft/PowerToys/releases/ |
I think v0.19.0 broke this again? |
I am trying for e.g notepad/notepadd++ which are not being executed as Admin. I am basically trying the apps for which i do not have explicitly set to "Run as Administrator" under advanced properties and if i understood this right, that was the whole idea behind this feature/change? |
No, this issue was about the "Run as administrator" feature of Powertoys that you can find under the General options. Basically, the Powertoys process needs admin privileges because of a few features which won't work properly with windows that have admin privileges (e.g. FancyZones might not be able to move some windows whose process have admin privileges). When the Powertoys process was running as administrator (to make FancyZones work properly in those cases for example), it accidentally caused everything launched with Powertoys Run to be ran as administrator, even when you don't click on the button that's specifically for that. The intended behavior was that you have to click on that button to launch the thing as an administrator. But as I explained before, it would be ran as administrator even without clicking on the button if Powertoys itself was running as administrator, which was a bug. |
Ah right, makes sense. I thought it was about eliminating the need of specifically clicking that Run As Administrator button when launching app through Run. I misread the title, and specifically But now speaking of using that Run As Admin option in Run without the need of using mouse to click on the button, would be nice to have a shortcut key to launch the app as Admin for e.g Alt+Enter. Or such shortcut is already there and I have not yet figured it out? |
Ctrl + Shift + Enter is the shortcut you're looking for 😉 (it's the same shortcut as Windows' regular search functionality) |
Environment
Steps to reproduce
Script taken from https://www.jonathanmedd.net/2014/01/testing-for-admin-privileges-in-powershell.html
Expected behavior
Actual behavior
Screenshots
Expected
Actual
The text was updated successfully, but these errors were encountered: