Skip to content

My blank app does not work properly with elevated privilege. #671

Answered by andrewleader
lanlytt asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @catsalwaysmeow, sorry for the delay. Unfortunately, WinUI 3 currently does not support running elevated. This is due to a limitation in WinRT in the OS (WinRT activation doesn't work in elevated apps), and we'll hopefully be fixing that in a future version of Windows.

If you need elevation support, vote and tell us here: https://portal.productboard.com/winappsdk/1-windows-app-sdk/c/37-elevated-admin-support

Replies: 4 comments 21 replies

Comment options

You must be logged in to vote
7 replies
@khdc
Comment options

@andrewleader
Comment options

@Sacwith
Comment options

@KWodarczyk
Comment options

@andrewleader
Comment options

Answer selected by andrewleader
Comment options

You must be logged in to vote
6 replies
@andrewleader
Comment options

@zadjii-msft
Comment options

@DrusTheAxe
Comment options

@DHowett
Comment options

@ghost
Comment options

Comment options

You must be logged in to vote
8 replies
@Sacwith
Comment options

@Sacwith
Comment options

@andrewleader
Comment options

@harishsk
Comment options

@DrusTheAxe
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet