How to run WinUI 3.0 unpackaged application elevated/as Administrator? #3038
Replies: 3 comments 4 replies
-
The problem with the phrase "does not work" is that it can literally mean anything.
On my end, with a C++ project: the shield over the executable icon indicates that it requires UAC elevation, so requestedExecutionLevel is working. What's more, this project, which is WinUI 3, displays the UI properly. This means that it is working on my end. So please provide more information. |
Beta Was this translation helpful? Give feedback.
-
@DrusTheAxe or @mikebattista - can you take a look? |
Beta Was this translation helpful? Give feedback.
-
I have the same problem. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried append properties like wpf, but it does not work.
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
What should I do?
Beta Was this translation helpful? Give feedback.
All reactions