4

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?

Paulo Balbino
  • 243
  • 1
  • 14

1 Answers1

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