I am writing a .NET Plug-in assembly which loads into a pre-existing service which runs with "Network Service" credentials.
The Plug-in needs to carry out some elevated operations for which i need to launch an elevated managed COM server.
I have access to both the Plug-in code as well as the COM Server code.
My requirement is to make the COM Server launch elevated without prompting the user in any manner. The server needs to be launched on demand and terminated after the work is done.
If someone could help me with how this can be achieved, it'll help. Thanks.
If there are any changes required at install time, that can be done.
PS: I found about the "COM Elevation Moniker" but it appears that it helps in bringing up the UAC elevation dialog which doesn't fit my requirement.