A referral was returned from the server when the exe requires admin #6179
-
I built a single file exe from a python script and passed the command line switches that require admin and remote desktop access (--uac-admin --uac-uiaccess). When i try to run the exe, windows give me error P.S. I have tried a registry editing solution which didn't work for me. (https://www.technipages.com/windows-a-referral-was-returned-from-the-server-error-fix) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Looks like you need to sign your program if you want to use (disabling the signature requirement via the registry/group policy that you linked probably works only with Also note this part from the above link:
As noted, you can disable this via security policy (policy But you need signed program, either way. |
Beta Was this translation helpful? Give feedback.
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: