Skip to content

A referral was returned from the server when the exe requires admin #6179

Answered by rokm
aliencaocao asked this question in Help
Discussion options

You must be logged in to vote

Looks like you need to sign your program if you want to use uiAccess=true (which is what --uac-uiaccess sets):
https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/350ceab8-436b-4ef1-8512-3fee4b470c0a/problem-with-manifest-and-uiaccess-set-to-true?forum=windowsgeneraldevelopmentissues

(disabling the signature requirement via the registry/group policy that you linked probably works only with --uac-admin without --uac-uiaccess)

Also note this part from the above link:

Also, applications by default must reside in a trusted location on the hard drive (such as windows or program files) to receive the uiAccess privilege. They will still run if they are not in one of these locations, b…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@aliencaocao
Comment options

@rokm
Comment options

rokm Aug 31, 2021
Maintainer

@aliencaocao
Comment options

Answer selected by aliencaocao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants