How can you ensure that an executable is silently launched with admin (or sufficiently elevated) privileges when that executable is launched by a user who is logged into a Windows account which has default user privileges (i.e., not an admin account)?
I don’t want the user to have to enter an admin password to be able to launch the exe with admin privileges.
Background:
The executable is sending out network packets which has to be marked with a certain DSCP value (QOS, qwave.lib). This is not possible unless the executable is executing with elevated privileges.
This goes against the security of the OS. You are basically asking to be able to bypass a security measure enforced by the OS. If you were allowed to do this, any malicious code could do the same thing, so I don't think that you can (or should) do it.