I have an application that runs using as AsInvoker
manifest, this uses ProcessStartInfo
to run another application that is using a HighestAvailable
manifest (in my case this runs as Admin and I get the UAC prompt) the first app then quits.
The second app then uses ProcessStartInfo
to run the first app again, this time it runs as admin (no UAC prompt) I guess this is correct because it is AsInvoker
and it is being invoke from an application that is running as admin, but I actually want it to run without Admin rights - or more correctly run it with the lowest possible execution level
I know you can use ProcessStartInfo.Verb = "runas"
to elevate but can you descend?