Dave's Brain

Browse - Programming Tips - Why is my regular program asking for Admin authorization to run?

Date: 2016may18
OS: Windows 8+

Q.  Why is my regular program asking for Admin authorization to run?

A.  Believe it or not, Windows looks at the name of the .EXE (and other things).
This is called "Installer Detection".  Quoting from Microsoft's site:

Filename includes keywords like "install," "setup," "update," etc.
More info: https://technet.microsoft.com/en-gb/library/cc709628%28v=ws.10%29.aspx https://blogs.msdn.microsoft.com/uac/2006/01/13/identification-of-administrative-applications/

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.