title: Can I mark an external exe as "safe to run (Unknown publisher)" programmatically?
body: <p>So I have my own application, "main.exe". In some computers where the security level is higher it will display a warning because of the "unknown publisher".</p>
  
  <p><a href="https://i.stack.imgur.com/hvIRs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hvIRs.png" alt="Unknown publisher warning"></a></p>
  
  <p>I am trying to "bypass" it.</p>
  
  <p>Now I know that the <strong>right</strong> way to do it is to sign the assembly buy a certificate and be a known publisher then it will not display this warning, but certificates are not cheap.</p>
  
  <p>My question is, Is there a way were I can run a different exe (like an installer) that I will build in vb.net/C#, That will <strong>mark</strong> somehow my application "main.exe" as "safe to run" or "trusted"? so it will run without the warning msg in all the computers. </p>
  
  <p>Important note - The "installer" will run with admin privileges.</p>