I have a C# Desktop application (windows 10) that does not require administrator privileges to run. I've already removed the manifest file that existed, but even so, after installation, the icon displays an image of a shield, and when running it the credentials are required, what else could be causing this?
Asked
Active
Viewed 186 times
4
-
Try to run as administrator. – Chidambaram Jul 25 '18 at 11:22
1 Answers
5
what else could be causing this?
The name. If it contains "setup", "install" or "update", Windows will add the icon if no manifest is available.
See Microsoft Docs and look for "installer detection technology".
To remove it, add a manifest and define a privilege that does not require administrator, e.g. "asInvoker":
[...]
<requestedExecutionLevel level="asInvoker" />
</requestedPrivileges>

Thomas Weller
- 55,411
- 20
- 125
- 222