One of the utilities in my project does some software configuration and needs full access to "Program Files\..." folder. It also registers some COM-objects, etc. Thus, the utility needs the user to login as administrator. So, before proceeding the utility checks if the user is administrator.
Under Vista a user can right-click on the program icon and select "run as administrator". Doing so pops up a User Account Control window asking for administrator credentials. It is also possible to change a link settings to "run as administrator".
I want the "User Account Control" window to popup when a user starts my utility. How can I do that? Is the only way to do that - by changing link properties? I believe there should be some way to force Windows to run User Account Control window.
I would appreciate any input. .NET or Win API, anything.