Powertoys: [PT Run] WebApps can't be run as admin via program plugin

Created on 30 Jun 2020  路  13Comments  路  Source: microsoft/PowerToys

For WebApps we should remove the "run as admin" button because it doesn't work. You can not run we apps/pinned web sites as admin.

Update (2020-10-01)

@royvou has found the cause of the bug and will fix it in a PR.

Help Wanted Product-Launcher Resolution-Fix-Committed

All 13 comments

start menu allows it
image

Adding this to .21 milestone so we don't lose the work tracking

Don't have tested it via start menu. But for me via PT Run it doesn't work. 馃

is your PWA chrome based or Edgium based?

"Edgium"

In start menu Pinned Website/PWA opens. But I don't know if it has admin rights.
In PowerToys the normal browser UI with start page opens instead of the PWA/pinned website.

so i can launch both via admin rights. I just don't know if it matters really. validating if this should be correct behavior no matter what

Here is a gif of the repo.
PT_run_website_admin

Here is a gif of the repo.
PT_run_website_admin

Small hint:
The UAC is showing and agreed with yes. But this isn't captured in the gif.

Not fixed in 0.20!

Update to the issue:

  • Still exists in v0.23.0
  • Only happens when running the application. But not when running the lnk file.

@p-storm, @royvou
Is this the same problem which we have in issue 6916?

I don't know for sure, I think @royvou could better tell if it is the same problem as #6916

It's a seperate issue (it is because the way the program / shell menus are built differently, so the root cause is the same).
I will add that to my other PR #6923 which will Change the way both start arguments are generated :)

Was this page helpful?
0 / 5 - 0 ratings