How do I bypass the User Account Control publisher unknown warning for a classic C++ application?

petergzli 1 Reputation point
2021-06-30T17:22:14.057+00:00

110733-screen-shot-2021-06-30-at-11741-pm.png

Please see the screenshot. I am trying understand what the approach is for signing a classic C++ windows application so that I can Publish with a known publisher. I am currently following this blog for instructions on how to sign: https://mkaz.blog/code/code-signing-a-windows-application/

If I'm not mistaken, I need to obtain a Microsoft Authenticode certificate. With this key and the above instructions for code signing, I should be able to package an app with our business/developer profile.

I just want to confirm that this warning and these steps are the correct approach since these certificates are quite expensive so I didn't want to make that purchase but end up with the incorrect instructions.

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
9,129 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,964 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 49,306 Reputation points
    2021-06-30T17:27:13.47+00:00

    You should understand that when UAC is enabled you will still receive a consent prompt when attempting to run a signed application as an administrator. The difference will be the nature of the prompt and the information that it displays.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.